DBD::mysql install error
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, John +----------------------------------------------------------------------------+ John Chadwick, Ed.D. Information Technology Manager New Mexico State Library 1209 Camino Carlos Rey Santa Fe, NM 87507 Phone: 505-476-9740 Cell: 505-629-8116 Fax: 505-476-9761 john.chadwick@state.nm.us http://www.nmstatelibrary.org 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. _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
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). -- Henri-Damien LAURENT _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
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). -- Henri-Damien LAURENT ______________________________________________________________________ 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. 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. _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
On Wed, May 07, 2008 at 08:48:34AM -0600, 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.
as this module is debian packaged, why don't you install it by this way ? koha:/# apt-cache policy libxml-libxslt-perl libxml-libxslt-perl: Installé : 1.59-1 Candidat : 1.59-1 Table de version : 1.62-1.1 0 500 http://ftp.fr.debian.org testing/main Packages *** 1.59-1 0 990 http://ftp.u-strasbg.fr etch/main Packages 100 /var/lib/dpkg/status hth -- Marc Chantreux BibLibre, expert en logiciels libres pour l'info-doc http://biblibre.com
On Wed, May 07, 2008 at 08:48:34AM -0600, 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.
as this module is debian packaged, why don't you install it by this way ?
koha:/# apt-cache policy libxml-libxslt-perl libxml-libxslt-perl: Installé : 1.59-1 Candidat : 1.59-1 Table de version : 1.62-1.1 0 500 http://ftp.fr.debian.org testing/main Packages *** 1.59-1 0 990 http://ftp.u-strasbg.fr etch/main Packages 100 /var/lib/dpkg/status There are fairly explicit warnings in the installation documentation about this specific module -- it's extremely important to install
On Wed, May 7, 2008 at 11:55 AM, Marc Chantreux <marc.chantreux@biblibre.com> wrote: the package maintainer's version as this directly impacts whether your system's unicode will be set up correctly. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
hello Joshua, On Sun, May 11, 2008 at 06:34:29AM -0400, Joshua Ferraro wrote:
koha:/# apt-cache policy libxml-libxslt-perl
There are fairly explicit warnings in the installation documentation about this specific module -- it's extremely important to install the package maintainer's version as this directly impacts whether your system's unicode will be set up correctly.
mc@hyperion:/home/mc/src/kohaclone
find . -type d -iname '*doc*' ./koha-tmpl/intranet-tmpl/prog/en/js/tinymce/docs ./koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/themes/advanced/docs mc@hyperion:/home/mc/src/kohaclone grep -liF xslt * about.pl INSTALL.fedora7 Makefile Makefile.PL
I read the INSTALL.debian and found utf-8 warnings about dbd and sax, not about xslt. Did I missed something ? my auto-installer seems to work correctly now but i'm afraid about those details. regards mc -- Marc Chantreux BibLibre, expert en logiciels libres pour l'info-doc http://biblibre.com
On Wed, May 07, 2008 at 08:48:34AM -0600, 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.
as this module is debian packaged, why don't you install it by this way ?
koha:/# apt-cache policy libxml-libxslt-perl libxml-libxslt-perl: Installé : 1.59-1 Candidat : 1.59-1 Table de version : 1.62-1.1 0 500 http://ftp.fr.debian.org testing/main Packages *** 1.59-1 0 990 http://ftp.u-strasbg.fr etch/main Packages 100 /var/lib/dpkg/status There are fairly explicit warnings in the installation documentation about this specific module -- it's extremely important to install
As it turns out, this was my error. During the install process I forgot to run the dselect part of the setup which gave me fits later on. The final straw on the Debian Etch install was configuring Apache2. Ubuntu is easy and it works. Everytime I changed the virtual host file from 127.0.0.1 to the IP of the machine I lost phpmyadmin. I have installed Ubuntu Hardy Heron on the server and will be installing Koha on Monday. John -----Original Message----- From: koha-devel-bounces@lists.koha.org [mailto:koha-devel-bounces@lists.koha.org] On Behalf Of Joshua Ferraro Sent: Sunday, May 11, 2008 4:34 AM To: Marc Chantreux Cc: koha-devel@lists.koha.org Subject: Re: [Koha-devel] XML::LIBXSLT error on Debian etch On Wed, May 7, 2008 at 11:55 AM, Marc Chantreux <marc.chantreux@biblibre.com> wrote: the package maintainer's version as this directly impacts whether your system's unicode will be set up correctly. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel ______________________________________________________________________ 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.
I have installed Ubuntu Hardy Heron on the server and will be installing Koha on Monday.
hello, peraps you will give a last chance to etch using the script as attachment. just run it with sh, answer to the questions (Y during all the debian part) and enjoy ...(or please report bugs). regards, mc -- Marc Chantreux BibLibre, expert en logiciels libres pour l'info-doc http://biblibre.com
I have installed Ubuntu Hardy Heron on the server and will be installing Koha on Monday.
I am back to Debian Etch, I will give your script a tryout tomorrow. John -----Original Message----- From: koha-devel-bounces@lists.koha.org [mailto:koha-devel-bounces@lists.koha.org] On Behalf Of Marc Chantreux Sent: Monday, May 12, 2008 12:11 PM To: koha-devel@lists.koha.org Subject: Re: [Koha-devel] XML::LIBXSLT error on Debian etch hello, peraps you will give a last chance to etch using the script as attachment. just run it with sh, answer to the questions (Y during all the debian part) and enjoy ...(or please report bugs). regards, mc -- Marc Chantreux BibLibre, expert en logiciels libres pour l'info-doc http://biblibre.com ______________________________________________________________________ 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.
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).
_______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
On 2008/05/9, at 11:19 PM, Ducassou, Jean Pierre - Programador wrote:
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:
/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
Hi John, Try this to resolve your missing 'lgdm' issue. $ sudo apt-get install libgdbm3 and possibly this too,.. $ sudo apt-get install libgdbm-dev Cheers, Mason. _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
Hello Friend I solved by installing it manually, by downloading the appropriate version CPAN, and the installation manual ize .. I use Debian etch I hope you will serve Roxana 2008/5/7 Chadwick, John, DCA <john.chadwick@state.nm.us>:
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). -- Henri-Damien LAURENT
______________________________________________________________________ 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.
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.
_______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
_______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
participants (8)
-
Chadwick, John, DCA -
Ducassou, Jean Pierre - Programador -
Henri-Damien LAURENT -
Joshua Ferraro -
Marc Chantreux -
Marc Chantreux -
Mason James -
Roxana Luz Fleipaz