[Koha] DBD::mysql install error
Henri-Damien LAURENT
laurenthdl at alinto.com
Wed May 7 21:54:37 NZST 2008
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
More information about the Koha
mailing list