Trying to install KOHA 3.0 on Debian Etch After running Makefile.PL I get a warning; Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found. Trying to install with CPAN gives me the following; /usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 PAJAS/XML-LibXSLT-1.66.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible I have searched here and there, but am not sure what to do here. Any hint or link is welcome, Thanks, Marty
I recently made it through a very bumpy installation process on Ubuntu, and while I didn't have trouble with XML::LibXSLT specifically I did have problems with numerous others. For two or three of them, installing via the Synaptic graphical manager rather than command-line CPAN fixed the problem. So if Debian Etch has Synaptic you could try that. .Andy Giesler From: koha-bounces@lists.katipo.co.nz [mailto:koha-bounces@lists.katipo.co.nz] On Behalf Of Marty Sent: Thursday, September 18, 2008 11:40 AM To: koha@lists.katipo.co.nz Subject: [Koha] Problem installing XML::LibXSLT Trying to install KOHA 3.0 on Debian Etch After running Makefile.PL I get a warning; Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found. Trying to install with CPAN gives me the following; /usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 PAJAS/XML-LibXSLT-1.66.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible I have searched here and there, but am not sure what to do here. Any hint or link is welcome, Thanks, Marty
On 2008/09/19, at 4:39 AM, Marty wrote:
Trying to install KOHA 3.0 on Debian Etch
After running Makefile.PL I get a warning; Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found.
Trying to install with CPAN gives me the following;
/usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 PAJAS/XML-LibXSLT-1.66.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
Hi Marty, hmmm, try a... $ sudo apt-get install libxslt1-dev libxslt1.1 $ cpan XML::LibXSLT that might do it Mason.
Hi, I am having a similar problem. I went through the Koha installation process on Ubuntu Intrepid Ibex and when I connect to the koha server on port 8080 I get the following error: The following fatal error has occurred: This version of XML::LibXSLT requires XML::LibXML 1.6 (ABI 1), which is incompatible with currently installed XML::LibXML 1.70 (ABI 2). Please upgrade XML::LibXSLT, XML::LibXML, or both! at /usr/local/lib/perl/5.10.0/XML/LibXML.pm line 49. I then tried to upgrade XML::LibXSLT from CPAN and that failed as well: cpan[1]> upgrade XML::LibXSLT CPAN::SQLite not installed, trying to work without CPAN: Storable loaded ok (v2.18) Going to read '/home/bibliotheque/.cpan/Metadata' Database was generated on Wed, 06 Jan 2010 02:55:01 GMT Package namespace installed latest in CPAN file XML::LibXSLT 1.62 1.70 PAJAS/XML-LibXSLT-1.70.tar.gz Running install for module 'XML::LibXSLT' CPAN: YAML loaded ok (v0.70) Running make for P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.021) Checksum for /home/bibliotheque/.cpan/sources/authors/id/P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz ok Scanning cache /home/bibliotheque/.cpan/build for sizes ............................................................................DONE CPAN: Archive::Tar loaded ok (v1.54) XML-LibXSLT-1.70/ XML-LibXSLT-1.70/perl-libxml-mm.h XML-LibXSLT-1.70/t/ XML-LibXSLT-1.70/t/08literal.t XML-LibXSLT-1.70/t/09exslt.t XML-LibXSLT-1.70/t/02dromeds.t XML-LibXSLT-1.70/t/01basic.t XML-LibXSLT-1.70/t/14security.t XML-LibXSLT-1.70/t/12import.t XML-LibXSLT-1.70/t/05quick.t XML-LibXSLT-1.70/t/03input.t XML-LibXSLT-1.70/t/13error.t XML-LibXSLT-1.70/t/11utf8.t XML-LibXSLT-1.70/t/04params.t XML-LibXSLT-1.70/t/06entities.t XML-LibXSLT-1.70/t/06output.t XML-LibXSLT-1.70/t/07blankdoc.t XML-LibXSLT-1.70/t/10functions.t XML-LibXSLT-1.70/t/15misc.t XML-LibXSLT-1.70/testcases/ XML-LibXSLT-1.70/testcases/default.conf XML-LibXSLT-1.70/Changes XML-LibXSLT-1.70/example/ XML-LibXSLT-1.70/example/1.xsl XML-LibXSLT-1.70/example/2.xsl XML-LibXSLT-1.70/example/fatal.xsl XML-LibXSLT-1.70/example/nonfatal.xsl XML-LibXSLT-1.70/example/bad1.xsl XML-LibXSLT-1.70/example/1.xml XML-LibXSLT-1.70/example/bad3.xsl XML-LibXSLT-1.70/example/bad2.xsl XML-LibXSLT-1.70/example/2.xml XML-LibXSLT-1.70/MANIFEST XML-LibXSLT-1.70/typemap XML-LibXSLT-1.70/Driver/ XML-LibXSLT-1.70/Driver/LibXSLT.pm XML-LibXSLT-1.70/Driver/Sablotron.pm XML-LibXSLT-1.70/Driver/BaseClass.pm XML-LibXSLT-1.70/perl-libxml-mm.c XML-LibXSLT-1.70/LibXSLT.pm XML-LibXSLT-1.70/benchmark.pl XML-LibXSLT-1.70/ppport.h XML-LibXSLT-1.70/LibXSLT.xs XML-LibXSLT-1.70/Makefile.PL XML-LibXSLT-1.70/README XML-LibXSLT-1.70/META.yml CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build P/PA/PAJAS/XML-LibXSLT-1.70.tar.gz running xslt-config... ok looking for -lxslt... yes looking for -lexslt... yes running pkg-config libexslt... ok Checking if your kit is complete... Looks good Writing Makefile for XML::LibXSLT cp benchmark.pl blib/lib/XML/benchmark.pl cp LibXSLT.pm blib/lib/XML/LibXSLT.pm /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c cc -c -I/usr/include/libxml2 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.70\" -DXS_VERSION=\"1.70\" -fPIC "-I/usr/lib/perl/5.10/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c cc -c -I/usr/include/libxml2 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.70\" -DXS_VERSION=\"1.70\" -fPIC "-I/usr/lib/perl/5.10/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT perl-libxml-mm.c perl-libxml-mm.c: In function ‘x_PmmNewLocalProxyNode’: perl-libxml-mm.c:146: attention : le format n'est pas une chaîne littérale et pas d'argument de format Running Mkbootstrap for XML::LibXSLT () chmod 644 LibXSLT.bs rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.so LD_RUN_PATH="/usr/lib" cc -shared -O2 -g -L/usr/local/lib LibXSLT.o perl-libxml-mm.o -o blib/arch/auto/XML/LibXSLT/LibXSLT.so \ -L/usr/lib -lxslt -lxml2 -lz -lm -lexslt -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt \ /usr/bin/ld: cannot find -lgdbm collect2: ld a retourné 1 code d'état d'exécution make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Erreur 1 PAJAS/XML-LibXSLT-1.70.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: PAJAS/XML-LibXSLT-1.70.tar.gz : make NO cpan[2]> The line "/usr/bin/ld: cannot find -lgdbm" makes no sense to me, as I can see the library in /usr/lib: -koha:~$ ls /usr/lib/*gdbm* /usr/lib/libgdbm_compat.so.3 /usr/lib/libgdbm.so.3 /usr/lib/libgdbm_compat.so.3.0.0 /usr/lib/libgdbm.so.3.0.0 This server was sent partially installed by someone else who is in Belgium (I am in Benin, West Africa), so I can reinstall the server from scratch if there was some missing step early on. A lot of things seem to get confused when installing some things via Synaptic or apt-get and others via CPAN. thanks, -rohan Enseignant volontaire à l'Université de Parakou Mason James-5 wrote:
On 2008/09/19, at 4:39 AM, Marty wrote: [snip]
Trying to install with CPAN gives me the following;
/usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 PAJAS/XML-LibXSLT-1.66.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
Hi Marty,
hmmm, try a...
$ sudo apt-get install libxslt1-dev libxslt1.1 $ cpan XML::LibXSLT
that might do it
Mason.
-- View this message in context: http://old.nabble.com/Problem-installing-XML%3A%3ALibXSLT-tp19557131p2705756... Sent from the Koha - Discuss mailing list archive at Nabble.com.
"rohan.mahy" <rohan.mahy@gmail.com> wrote:
The line "/usr/bin/ld: cannot find -lgdbm" makes no sense to me, as I can see the library in /usr/lib:
-koha:~$ ls /usr/lib/*gdbm* /usr/lib/libgdbm_compat.so.3 /usr/lib/libgdbm.so.3 /usr/lib/libgdbm_compat.so.3.0.0 /usr/lib/libgdbm.so.3.0.0
Those are the run-time files and you are trying to compile something against libgdbm, so maybe there's a problem with libgdbm-dev package? But at first glance, I would expect ld to find it from that, too. There could be something odd in the compile, I guess. Good luck! -- MJ Ray (slef) Webmaster and LMS developer at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op
Installing libdb3-dev seemed to do the trick... thanks all --- On Thu, 9/18/08, Marty <ontariowolf64@yahoo.com> wrote: From: Marty <ontariowolf64@yahoo.com> Subject: [Koha] Problem installing XML::LibXSLT To: koha@lists.katipo.co.nz Date: Thursday, September 18, 2008, 12:39 PM Trying to install KOHA 3.0 on Debian Etch After running Makefile.PL I get a warning; Makefile.PL: Warning: prerequisite XML::LibXSLT 1.59 not found. Trying to install with CPAN gives me the following; /usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 PAJAS/XML-LibXSLT-1.66.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible I have searched here and there, but am not sure what to do here. Any hint or link is welcome, Thanks, Marty _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (5)
-
Andy Giesler -
Marty -
Mason James -
MJ Ray -
rohan.mahy