Hi, I am new to Koha, I am using Ubuntu-8.04, While installing XML::LibXML perl module from CPAN, it is giving an error as follows: cpan>install XML::LibXM ...... ..... ..... .... /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 I have checked gdbm in apt-cache: user@user-desktop:~# dpkg -l | grep gdbm ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version) ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python Also, I am not able to install XML::Parser. I am getting "XML::LibXML::SAX=HASH(0x8204a64)" instead of "XML::LibXML::SAX::Parser=HASH(0x81fe220)" while running the ./sax_parser_print.pl script from /usr/share/koha-3.00.00/misc directory Thanking you in advance Kiran. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Hi all, I have managed to install XML::LibXML and XML::XSLT by installing libgdbm-dev through apt-get. I hope am installed necessary perl modules required for Koha-3, but still I am getting "XML::LibXML::SAX=HASH(0x8204a64)" instead of "XML::LibXML::SAX::Parser=HASH(0x81fe220)" while running the ./sax_parser_print.pl script from /usr/share/koha-3.00.00/misc directory Could any one suggest what to do. Thank you. Kiran. Kiran Savanur wrote:
Hi, I am new to Koha, I am using Ubuntu-8.04, While installing XML::LibXML perl module from CPAN, it is giving an error as follows: cpan>install XML::LibXML ...... ..... ..... .... /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1
I have checked gdbm in apt-cache:
user@user-desktop:~# dpkg -l | grep gdbm ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version) ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python
Also, I am not able to install XML::Parser.
I am getting "XML::LibXML::SAX=HASH(0x8204a64)" instead of "XML::LibXML::SAX::Parser=HASH(0x81fe220)" while running the ./sax_parser_print.pl script from /usr/share/koha-3.00.00/misc directory
Thanking you in advance Kiran.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- View this message in context: http://www.nabble.com/XML%3A%3ALibXML-problem-tp19159082p19162217.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
kiran_savanur wrote:
Hi all, I have managed to install XML::LibXML and XML::XSLT by installing libgdbm-dev through apt-get.
I hope am installed necessary perl modules required for Koha-3, but still I am getting "XML::LibXML::SAX=HASH(0x8204a64)" instead of "XML::LibXML::SAX::Parser=HASH(0x81fe220)" while running the ./sax_parser_print.pl script from /usr/share/koha-3.00.00/misc directory
You need to change the default parser in /etc/perl/XML/SAX/ParserDetails.ini But I do not understand why koha relies on this global setting instead of specifying manually in scripts that need it (for example, adding the line: $XML::SAX::ParserPackage = "XML::LibXML::SAX::Parser"; after use XML::SAX::ParserFactory; would 'fix' the issue in sax_parser_print.pl and sax_parser_test.pl ) Regards, Vincent
Could any one suggest what to do. Thank you.
Kiran. -- Vincent Danjean Adresse: Laboratoire d'Informatique de Grenoble Téléphone: +33 4 76 61 20 11 ENSIMAG - antenne de Montbonnot Fax: +33 4 76 61 20 99 ZIRST 51, avenue Jean Kuntzmann Email: Vincent.Danjean@imag.fr 38330 Montbonnot Saint Martin
--On Tuesday, August 26, 2008 2:21 PM +0530 Kiran Savanur <kiran@ncsi.iisc.ernet.in> wrote:
Hi, I am new to Koha, I am using Ubuntu-8.04, While installing XML::LibXML perl module from CPAN, it is giving an error as follows: cpan>install XML::LibXM ...... ..... ..... .... /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1
Hi Kiran -- If you want to build XML::LibXML with CPAN, you need to install the "libgdm-dev" package as well. Alternatively, you could just install the Ubuntu package "libxml-libxml-perl", which has XML::LibXML.
Also, I am not able to install XML::Parser.
"sudo apt-get libxml-libxml-perl" should take care of that as well. If you want to build it through CPAN, let us know the error message, and we can help you with that as well. Good luck, -- Brian -- Brian Harrington Content and Resource Development Coordinator Project MUSE The Johns Hopkins University Press brian@jhu.edu
I know this was done 2years ago, but am stuck on the same! Am running 9.10 Server as a virtual machine, and my Koha is the harley 2010 release - www.koha.org Koha wants XML::LibXML::SAX::Parser whereas my system has XML::SAX::Expat...... I have edited the Parserdetails.ini to select what Koha wants, by making the rest 0 and making it 1 I have libdgbm3 as well as libxml-libxml-perl installed and i still have issues! my CPAN says it cannot run a certain "HTML Scrubber" even though i have used a certain Install.ubuntu from http://github.com/ptfs/Koha-PTFS/blob/harley/INSTALL.ubuntu which clearly shows the command (2.2) It doesnt help that am new - so am really STUCK!!! -- View this message in context: http://old.nabble.com/XML%3A%3ALibXML-problem-tp19159082p29468504.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
Kiran Savanur <kiran@ncsi.iisc.ernet.in> wrote:
cpan>install XML::LibXM ...... ..... ..... .... /usr/bin/ld: cannot find -lgdbm
[...]
I have checked gdbm in apt-cache:
user@user-desktop:~# dpkg -l | grep gdbm ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version)
You need to install http://packages.ubuntu.com/libgdbm-dev Similar things apply for any -lxxxx error. But why not install the libxml-libxml-perl package? (I think that's OK for versions - if not, backport the package from unstable... still better than cpan-splat.) Hope that helps, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
Dear Members, Thank you all for your suggestions and help. I have successfully installed Koha-3 on Ubuntu 8.04. Kiran. Kiran Savanur wrote:
Hi, I am new to Koha, I am using Ubuntu-8.04, While installing XML::LibXML perl module from CPAN, it is giving an error as follows: cpan>install XML::LibXM ...... ..... ..... .... /usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1
I have checked gdbm in apt-cache:
user@user-desktop:~# dpkg -l | grep gdbm ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version) ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python
Also, I am not able to install XML::Parser.
I am getting "XML::LibXML::SAX=HASH(0x8204a64)" instead of "XML::LibXML::SAX::Parser=HASH(0x81fe220)" while running the ./sax_parser_print.pl script from /usr/share/koha-3.00.00/misc directory
Thanking you in advance Kiran.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- View this message in context: http://www.nabble.com/XML%3A%3ALibXML-problem-tp19159082p19218011.html Sent from the Koha - Discuss mailing list archive at Nabble.com.
participants (6)
-
Brian Harrington -
BrianS2 -
Kiran Savanur -
kiran_savanur -
MJ Ray -
Vincent Danjean