I don't remember exactly the procedure I followed but try the following: make sure you've got the libxml and libxslt (the deb packages). Install the C compiler. (gcc, make package) Or you can look for the "perl-libxml" (I don't really recall the exact name) deb package (I think it has everything already compiled in it so you don't need the C compiler if you choose this alternative) . kind regards, JP Chadwick, John, DCA wrote:
Okay, I got the DBD::mysql issue resolved yesterday. I am down to one stubborn package, XML::LIBXSLT won't install.
It looks like it may work, then:
running xslt-config... ok looking for -lxslt... yes looking for -lexslt... yes running pkg-config libexslt... failed using fallback values for LIBS and INC Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ldb 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.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap LibXSLT.xs > LibXSLT.xsc && mv LibXSLT.xsc LibXSLT.c cc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.66\" -DXS_VERSION=\"1.66\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT LibXSLT.c cc -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.66\" -DXS_VERSION=\"1.66\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DHAVE_BLANK -DHAVE_BLANK -DHAVE_EXSLT perl-libxml-mm.c Running Mkbootstrap for XML::LibXSLT () chmod 644 LibXSLT.bs rm -f blib/arch/auto/XML/LibXSLT/LibXSLT.so cc -shared -L/usr/local/lib LibXSLT.o perl-libxml-mm.o -o blib/arch/auto/XML/LibXSLT/LibXSLT.so \ -L/usr/lib -lxslt -lxml2 -lexslt -lgcrypt -lgpg-error -lgdbm -lgdbm_compat -ldl -lm -lpthread -lc -lcrypt \
/usr/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [blib/arch/auto/XML/LibXSLT/LibXSLT.so] Error 1 /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
-----Original Message----- From: Henri-Damien LAURENT [mailto:laurenthdl@alinto.com] Sent: Wednesday, May 07, 2008 3:55 AM To: Chadwick, John, DCA Cc: koha@lists.katipo.co.nz; koha-devel@nongnu.org Subject: Re: [Koha] DBD::mysql install error
Chadwick, John, DCA a écrit :
I am working on a fresh install of Debian 4 trying to install DBD::mysql
First problem, the file would not install. Evidently the mysql_config file that lives in /usr/bin did not get installed with the mysql-server install. I copied the file from a working Ubuntu 7.10 installation. Now, the install finds the file, but I am getting a lot of errors:
dbdimp.c:4395: warning: passing argument 3 of âmemcpyâ makes integer from pointer without a cast
dbdimp.c:4396: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:4396: error: request for member âauto_reconnects_failedâ in something not a structure or union
dbdimp.c:4396: error: invalid lvalue in increment
dbdimp.c:4399: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:4399: error: request for member âauto_reconnects_okâ in something not a structure or union
dbdimp.c:4399: error: invalid lvalue in increment
dbdimp.c: In function âmysql_db_quoteâ:
dbdimp.c:4559: error: âimp_dbh_tâ has no member named âmysqlâ
dbdimp.c: In function âmysql_db_last_insert_idâ:
dbdimp.c:4582: error: âimp_dbh_tâ has no member named âmysqlâ
dbdimp.c:4582: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
make: *** [dbdimp.o] Error 1
/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
cpan> DBD::mysql
Any ideas?
Thanks,
Hi, Consider : install libmysqlclient15-dev rather than copy a file.
It should be OK (tested).