[Koha] [Koha-devel] XML::LIBXSLT error on Debian etch
Chadwick, John, DCA
john.chadwick at state.nm.us
Thu May 8 04:12:00 NZST 2008
That did the trick.
John
-----Original Message-----
From: Jerry Van Baren [mailto:gerald.vanbaren at ge.com]
Sent: Wednesday, May 07, 2008 9:14 AM
To: Chadwick, John, DCA
Cc: Henri-Damien LAURENT; koha-devel at nongnu.org; koha at lists.katipo.co.nz
Subject: Re: [Koha-devel] XML::LIBXSLT error on Debian etch
Looks like you need the libgdm package. Apt-get should get it for you.
You probably don't need the development version:
apt-get install libgdbm3
Otherwise:
apt-get install libgdbm-dev
Best regards,
gvb
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 at alinto.com]
> Sent: Wednesday, May 07, 2008 3:55 AM
> To: Chadwick, John, DCA
> Cc: koha at lists.katipo.co.nz; koha-devel at 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).
______________________________________________________________________
This inbound email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System.
More information about the Koha
mailing list