AW: mysql installation problems
am 11.07.2006 13:54:59 von 6.6.6.Thank you very much, Ephraim. That helped!
Now I've got a new problem. DBD:mysql compiles but make test fails. =
Maybe
you have an idea on this one, too.
Once again, here's the complete output:
------------------------------------------------------------ ------------
SERVER:/usr/src/perl/DBD-mysql-3.0006# perl Makefile.PL
--mysql_config=3D/usr/local/mysql-standard-5.0.22-linux-i686 /bin/mysql_co=
nfig
I will use the following settings for compiling and testing:
cflags (mysql_config) =3D
-I/usr/local/mysql-standard-5.0.22-linux-i686/include -mcpu=3Dpentiumpro
embedded (mysql_config) =
libs (mysql_config) =3D -L/usr/local/lib
-L/usr/local/mysql-standard-5.0.22-linux-i686/lib -lmysqlclient -lz =
-lcrypt
-lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns
-lresolv
mysql_config (Users choice) =3D
/usr/local/mysql-standard-5.0.22-linux-i686/bin/mysql_config
nocatchstderr (default ) =3D 0
nofoundrows (default ) =3D 0
ssl (guessed ) =3D 0
testdb (default ) =3D test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.51 (for perl 5.008008 on i486-linux-gnu-thread-multi) =
installed
in /usr/lib/perl5/auto/DBI/
Writing Makefile for DBD::mysql
SERVER:/usr/src/perl/DBD-mysql-3.0006# make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/lib/perl5/auto/DBI
-I/usr/local/mysql-standard-5.0.22-linux-i686/include -mcpu=3Dpentiumpro
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe =
-I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 =
-DVERSION=3D\"3.0006\"
-DXS_VERSION=3D\"3.0006\" -fPIC "-I/usr/lib/perl/5.8/CORE" dbdimp.c
`-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead.
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" =
/usr/lib/perl5/auto/DBI/Driver.xst
> mysql.xsi
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap mysql.xs > mysql.xsc && mv =
mysql.xsc
mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line =
224
Warning: duplicate function definition 'rows' detected in mysql.xs, line =
567
cc -c -I/usr/lib/perl5/auto/DBI
-I/usr/local/mysql-standard-5.0.22-linux-i686/include -mcpu=3Dpentiumpro
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe =
-I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 =
-DVERSION=3D\"3.0006\"
-DXS_VERSION=3D\"3.0006\" -fPIC "-I/usr/lib/perl/5.8/CORE" mysql.c
`-mcpu=3D' is deprecated. Use `-mtune=3D' or '-march=3D' instead.
mysql.c: In function 'XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysql.xs:647: warning: ignoring return value of 'Perl_newSViv', declared
with attribute warn_unused_result
mysql.xs:650: warning: ignoring return value of 'Perl_newSViv', declared
with attribute warn_unused_result
mysql.xs:653: warning: ignoring return value of 'Perl_newSVpv', declared
with attribute warn_unused_result
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
/usr/bin/perl myld cc -shared -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/local/lib
-L/usr/local/mysql-standard-5.0.22-linux-i686/lib -lmysqlclient -lz =
-lcrypt
-lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns
-lresolv \
=20
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3pm
Manifying blib/man3/DBD::mysql::INSTALL.3pm
Manifying blib/man3/Mysql.3pm
Manifying blib/man3/Bundle::DBD::mysql.3pm
SERVER:/usr/src/perl/DBD-mysql-3.0006# make test
PERL_DL_NONLAZY=3D1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.............install_driver(mysql) failed: Can't load
'/usr/src/perl/DBD-mysql-3.0006/blib/arch/auto/DBD/mysql/mys ql.so' for
module DBD::mysql:
/usr/src/perl/DBD-mysql-3.0006/blib/arch/auto/DBD/mysql/mysq l.so: =
undefined
symbol: __pure_virtual at /usr/lib/perl/5.8/DynaLoader.pm line 225.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10dsnlist..........install_driver(mysql) failed: Can't load
'/usr/src/perl/DBD-mysql-3.0006/blib/arch/auto/DBD/mysql/mys ql.so' for
module DBD::mysql:
/usr/src/perl/DBD-mysql-3.0006/blib/arch/auto/DBD/mysql/mysq l.so: =
undefined
symbol: __pure_virtual at /usr/lib/perl/5.8/DynaLoader.pm line 225.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10dsnlist.t line 45
t/10dsnlist..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
..
..
..and
..so
..on
..
..
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------=
---
---
t/00base.t 2 512 5 4 80.00% 4-5
t/10dsnlist.t 2 512 9 18 200.00% 1-9
t/20createdrop.t 2 512 5 10 200.00% 1-5
t/30insertfetch.t 2 512 11 22 200.00% 1-11
t/35limit.t 2 512 113 226 200.00% 1-113
t/35prepare.t 2 512 34 68 200.00% 1-34
t/40bindparam.t 2 512 28 56 200.00% 1-28
t/40blobs.t 2 512 11 22 200.00% 1-11
t/40listfields.t 2 512 18 36 200.00% 1-18
t/40nulls.t 2 512 11 22 200.00% 1-11
t/40numrows.t 2 512 25 50 200.00% 1-25
t/41bindparam.t 2 512 11 22 200.00% 1-11
t/41blobs_prepare.t 2 512 24 48 200.00% 1-24
t/42bindparam.t 2 512 11 22 200.00% 1-11
t/50chopblanks.t 2 512 35 70 200.00% 1-35
t/50commit.t 2 512 30 60 200.00% 1-30
t/dbdadmin.t 2 512 21 42 200.00% 1-21
t/insertid.t 2 512 12 24 200.00% 1-12
t/param_values.t 2 512 8 16 200.00% 1-8
t/prepare_noerror.t 2 512 3 6 200.00% 1-3
t/texecute.t 2 512 9 18 200.00% 1-9
1 test skipped.
Failed 21/22 test scripts, 4.55% okay. 431/434 subtests failed, 0.69% =
okay.
make: *** [test_dynamic] Error 2
------------------------------------------------------------ -------------=
--
Seems to be a library problem but I don't know where to start looking...
-----Ursprüngliche Nachricht-----
Von: Ephraim Dan [mailto:E.Dan@F5.com]=20
Gesendet: Dienstag, 11. Juli 2006 13:36
An: Whisky; mailing list
Betreff: RE: mysql installation problems
You're overriding the cflags, so none of the mysql include directories =
are
present. Try leaving off the --cflags argument, so that mysql_config =
can
supply the cflags...
> -----Original Message-----
> From: Whisky [mailto:6.6.6.@gmx.de]
> Sent: Tuesday, July 11, 2006 14:18
> To: 'mailing list'
> Subject: DBD:mysql installation problems
>=20
> Hello List!
>=20
> I've got quite some trouble installing DBD:mysqli (3.0006) on a Debian =
box
> running MySQL 5.0.22. It would be great if some of you had some idea =
on
> how
> to solve this.
> So here's what happens when I try doe build the package:
>=20
> =
------------------------------------------------------------ -------------=
-
> --
> --------
>=20
> SERVER:/usr/src/perl/DBD-mysql-3.0006# perl Makefile.PL =
--cflags=3D'-O3
> -march=3Dpentium4 -mtune=3Dpentium4'
> --mysql_config=3D/usr/local/mysql-standard-5.0.22-linux-
> i686/bin/mysql_config
> I will use the following settings for compiling and testing:
>=20
> cflags (User's choice) =3D -O3 -march=3Dpentium4 =
-mtune=3Dpentium4
> embedded (mysql_config ) =3D
> libs (mysql_config ) =3D -L/usr/local/lib
> -L/usr/local/mysql-standard-5.0.22-linux-i686/lib -lmysqlclient -lz -
> lcrypt
> -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns
> -lresolv
> mysql_config (Users choice ) =3D
> /usr/local/mysql-standard-5.0.22-linux-i686/bin/mysql_config
> nocatchstderr (default ) =3D 0
> nofoundrows (default ) =3D 0
> ssl (guessed ) =3D 0
> testdb (default ) =3D test
> testhost (default ) =3D
> testpassword (default ) =3D
> testsocket (default ) =3D
> testuser (default ) =3D
>=20
> To change these settings, see 'perl Makefile.PL --help' and
> 'perldoc INSTALL'.
>=20
> Checking if your kit is complete...
> Looks good
> Using DBI 1.51 (for perl 5.008008 on i486-linux-gnu-thread-multi)
> installed
> in /usr/lib/perl5/auto/DBI/
> Writing Makefile for DBD::mysql
> SERVER:/usr/src/perl/DBD-mysql-3.0006# make
> cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
> cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
> cp lib/Mysql.pm blib/lib/Mysql.pm
> cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
> cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
> cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
> cc -c -I/usr/lib/perl5/auto/DBI -O3 -march=3Dpentium4 =
-mtune=3Dpentium4
> -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -
> I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 =
-DVERSION=3D\"3.0006\"
> -DXS_VERSION=3D\"3.0006\" -fPIC "-I/usr/lib/perl/5.8/CORE" dbdimp.c
> In file included from dbdimp.c:20:
> dbdimp.h:21:49: error: mysql.h: No such file or directory
> dbdimp.h:22:45: error: mysqld_error.h: No such file or directory
> dbdimp.h:23:49: error: errmsg.h: No such file or directory
> In file included from dbdimp.c:20:
> dbdimp.h:124: error: expected specifier-qualifier-list before 'MYSQL'
> dbdimp.h:214: error: expected specifier-qualifier-list before =
'MYSQL_RES'
> In file included from dbdimp.c:20:
> dbdimp.h:268: error: expected ')' before '*' token
> dbdimp.h:271: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'
> before
> 'mysql_st_internal_execute'
> dbdimp.h:292: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'
> before
> '*' token
> dbdimp.c:398: error: expected ')' before '*' token
> dbdimp.c:666: error: 'FIELD_TYPE_VAR_STRING' undeclared here (not in a
> function)
> dbdimp.c:673: error: 'FIELD_TYPE_DECIMAL' undeclared here (not in a
> function)
> dbdimp.c:680: error: 'FIELD_TYPE_TINY' undeclared here (not in a =
function)
> dbdimp.c:687: error: 'FIELD_TYPE_SHORT' undeclared here (not in a
> function)
> dbdimp.c:694: error: 'FIELD_TYPE_LONG' undeclared here (not in a =
function)
> dbdimp.c:701: error: 'FIELD_TYPE_FLOAT' undeclared here (not in a
> function)
> dbdimp.c:708: error: 'FIELD_TYPE_DOUBLE' undeclared here (not in a
> function)
> dbdimp.c:725: error: 'FIELD_TYPE_TIMESTAMP' undeclared here (not in a
> function)
> dbdimp.c:732: error: 'FIELD_TYPE_LONGLONG' undeclared here (not in a
> function)
> dbdimp.c:739: error: 'FIELD_TYPE_INT24' undeclared here (not in a
> function)
> dbdimp.c:746: error: 'FIELD_TYPE_DATE' undeclared here (not in a =
function)
> dbdimp.c:753: error: 'FIELD_TYPE_TIME' undeclared here (not in a =
function)
> dbdimp.c:760: error: 'FIELD_TYPE_DATETIME' undeclared here (not in a
> function)
> dbdimp.c:767: error: 'FIELD_TYPE_YEAR' undeclared here (not in a =
function)
> dbdimp.c:774: error: 'FIELD_TYPE_NEWDATE' undeclared here (not in a
> function)
> dbdimp.c:781: error: 'FIELD_TYPE_ENUM' undeclared here (not in a =
function)
> dbdimp.c:788: error: 'FIELD_TYPE_SET' undeclared here (not in a =
function)
> dbdimp.c:795: error: 'FIELD_TYPE_BLOB' undeclared here (not in a =
function)
> dbdimp.c:802: error: 'FIELD_TYPE_TINY_BLOB' undeclared here (not in a
> function)
> dbdimp.c:809: error: 'FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in =
a
> function)
> dbdimp.c:816: error: 'FIELD_TYPE_LONG_BLOB' undeclared here (not in a
> function)
> dbdimp.c:823: error: 'FIELD_TYPE_STRING' undeclared here (not in a
> function)
> dbdimp.c:1156: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'
> before '*' token
> dbdimp.c: In function 'my_login':
> dbdimp.c:1539: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c: In function 'mysql_db_login':
> dbdimp.c:1575: error: 'imp_dbh_t' has no member named 'stats'
> dbdimp.c:1575: error: request for member 'auto_reconnects_ok' in =
something
> not a structure or union
> dbdimp.c:1576: error: 'imp_dbh_t' has no member named 'stats'
> dbdimp.c:1576: error: request for member 'auto_reconnects_failed' in
> something not a structure or union
> dbdimp.c:1577: error: 'imp_dbh_t' has no member named =
'bind_type_guessing'
> dbdimp.c:1578: error: 'imp_dbh_t' has no member named =
'has_transactions'
> dbdimp.c:1580: error: 'imp_dbh_t' has no member named 'auto_reconnect'
> dbdimp.c:1584: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1585: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1585: warning: passing argument 3 of 'mysql_dr_error' makes
> pointer
> from integer without a cast
> dbdimp.c: In function 'mysql_db_commit':
> dbdimp.c:1628: error: 'imp_dbh_t' has no member named =
'has_transactions'
> dbdimp.c:1631: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1636: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1637: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1637: warning: passing argument 3 of 'mysql_dr_error' makes
> pointer
> from integer without a cast
> dbdimp.c: In function 'mysql_db_rollback':
> dbdimp.c:1660: error: 'imp_dbh_t' has no member named =
'has_transactions'
> dbdimp.c:1663: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1668: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1669: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1669: warning: passing argument 3 of 'mysql_dr_error' makes
> pointer
> from integer without a cast
> dbdimp.c: In function 'mysql_db_disconnect':
> dbdimp.c:1706: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1707: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c: In function 'mysql_db_destroy':
> dbdimp.c:1791: error: 'imp_dbh_t' has no member named =
'has_transactions'
> dbdimp.c:1795: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c: In function 'mysql_db_STORE_attrib':
> dbdimp.c:1840: error: 'imp_dbh_t' has no member named =
'has_transactions'
> dbdimp.c:1859: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1867: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1891: error: 'imp_dbh_t' has no member named
> 'use_mysql_use_result'
> dbdimp.c:1894: error: 'imp_dbh_t' has no member named 'auto_reconnect'
> dbdimp.c:1896: error: 'imp_dbh_t' has no member named
> 'use_server_side_prepare'
> dbdimp.c:1899: error: 'imp_dbh_t' has no member named =
'bind_type_guessing'
> dbdimp.c: At top level:
> dbdimp.c:1924: error: expected ')' before 'val'
> dbdimp.c: In function 'mysql_db_FETCH_attrib':
> dbdimp.c:1957: error: 'imp_dbh_t' has no member named =
'has_transactions'
> dbdimp.c:1974: error: 'imp_dbh_t' has no member named 'auto_reconnect'
> dbdimp.c:1974: warning: passing argument 2 of 'Perl_newSViv' makes =
integer
> from pointer without a cast
> dbdimp.c:1979: error: 'imp_dbh_t' has no member named =
'bind_type_guessing'
> dbdimp.c:1979: warning: passing argument 2 of 'Perl_newSViv' makes =
integer
> from pointer without a cast
> dbdimp.c:1983: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1987: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:1987: warning: initialization makes pointer from integer =
without
> a
> cast
> dbdimp.c:1996: error: 'imp_dbh_t' has no member named 'stats'
> dbdimp.c:1996: error: request for member 'auto_reconnects_ok' in =
something
> not a structure or union
> dbdimp.c:1996: warning: passing argument 2 of 'Perl_newSViv' makes =
integer
> from pointer without a cast
> dbdimp.c:2003: error: 'imp_dbh_t' has no member named 'stats'
> dbdimp.c:2003: error: request for member 'auto_reconnects_failed' in
> something not a structure or union
> dbdimp.c:2003: warning: passing argument 2 of 'Perl_newSViv' makes =
integer
> from pointer without a cast
> dbdimp.c:2017: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2017: warning: initialization makes pointer from integer =
without
> a
> cast
> dbdimp.c:2026: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2026: warning: initialization makes pointer from integer =
without
> a
> cast
> dbdimp.c:2031: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2031: warning: passing argument 2 of 'Perl_sv_2mortal' makes
> pointer from integer without a cast
> dbdimp.c:2036: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2042: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2042: warning: initialization makes pointer from integer =
without
> a
> cast
> dbdimp.c:2047: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2049: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2049: error: request for member 'net' in something not a
> structure
> or union
> dbdimp.c:2049: error: request for member 'fd' in something not a =
structure
> or union
> dbdimp.c:2052: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2052: warning: initialization makes pointer from integer =
without
> a
> cast
> dbdimp.c:2059: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2059: warning: initialization makes pointer from integer =
without
> a
> cast
> dbdimp.c:2064: error: 'imp_dbh_t' has no member named
> 'use_server_side_prepare'
> dbdimp.c:2069: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c: In function 'mysql_st_prepare':
> dbdimp.c:2125: error: 'imp_sth_t' has no member named 'done_desc'
> dbdimp.c:2126: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2127: error: 'imp_sth_t' has no member named 'currow'
> dbdimp.c:2131: error: 'imp_sth_t' has no member named
> 'use_mysql_use_result'
> dbdimp.c:2132: error: 'imp_dbh_t' has no member named
> 'use_mysql_use_result'
> dbdimp.c:2132: warning: pointer/integer type mismatch in conditional
> expression
> dbdimp.c:2178: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:2178: error: assignment of read-only location
> dbdimp.c:2178: error: incompatible types in assignment
> dbdimp.c:2308: error: 'imp_sth_t' has no member named 'params'
> dbdimp.c: At top level:
> dbdimp.c:2331: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'
> before 'mysql_st_internal_execute'
> dbdimp.c: In function 'mysql_st_execute':
> dbdimp.c:2582: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:2582: error: used struct type value where scalar is required
> dbdimp.c:2583: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:2583: error: cannot convert to a pointer type
> dbdimp.c:2585: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:2585: error: assignment of read-only location
> dbdimp.c:2585: error: incompatible types in assignment
> dbdimp.c:2616: error: 'imp_sth_t' has no member named 'row_num'
> dbdimp.c:2621: error: 'imp_sth_t' has no member named 'params'
> dbdimp.c:2622: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2623: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2624: error: 'imp_sth_t' has no member named
> 'use_mysql_use_result'
> dbdimp.c:2627: error: 'imp_sth_t' has no member named 'row_num'
> dbdimp.c:2627: error: 'my_ulonglong' undeclared (first use in this
> function)
> dbdimp.c:2627: error: (Each undeclared identifier is reported only =
once
> dbdimp.c:2627: error: for each function it appears in.)
> dbdimp.c:2629: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2630: error: 'imp_sth_t' has no member named 'insertid'
> dbdimp.c:2630: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2635: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2636: error: 'imp_sth_t' has no member named 'done_desc'
> dbdimp.c:2637: error: 'imp_sth_t' has no member named 'fetch_done'
> dbdimp.c:2647: error: 'imp_sth_t' has no member named 'row_num'
> dbdimp.c:2653: error: 'imp_sth_t' has no member named 'row_num'
> dbdimp.c: In function 'mysql_describe':
> dbdimp.c:2759: error: 'imp_sth_t' has no member named 'done_desc'
> dbdimp.c: In function 'mysql_st_fetch':
> dbdimp.c:2787: error: 'MYSQL_ROW' undeclared (first use in this =
function)
> dbdimp.c:2787: error: expected ';' before 'cols'
> dbdimp.c:2830: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2837: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2837: error: request for member 'net' in something not a
> structure
> or union
> dbdimp.c:2837: error: request for member 'last_errno' in something not =
a
> structure or union
> dbdimp.c:2947: error: 'imp_sth_t' has no member named 'currow'
> dbdimp.c:2947: error: invalid lvalue in increment
> dbdimp.c:2949: error: 'cols' undeclared (first use in this function)
> dbdimp.c:2949: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2951: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2952: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2953: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:2953: warning: passing argument 3 of 'mysql_dr_error' makes
> pointer
> from integer without a cast
> dbdimp.c:2958: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:2958: warning: assignment makes pointer from integer without =
a
> cast
> dbdimp.c:2965: error: incompatible types in initialization
> dbdimp.c: In function 'mysql_st_finish':
> dbdimp.c:3082: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3084: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3085: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c: In function 'mysql_st_destroy':
> dbdimp.c:3161: error: 'imp_sth_t' has no member named 'params'
> dbdimp.c:3161: warning: passing argument 1 of 'FreeParam' from
> incompatible
> pointer type
> dbdimp.c:3162: error: 'imp_sth_t' has no member named 'params'
> dbdimp.c:3167: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:3167: error: used struct type value where scalar is required
> dbdimp.c:3168: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:3168: error: cannot convert to a pointer type
> dbdimp.c:3169: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:3169: error: assignment of read-only location
> dbdimp.c:3169: error: incompatible types in assignment
> dbdimp.c: In function 'mysql_st_STORE_attrib':
> dbdimp.c:3213: error: 'imp_sth_t' has no member named
> 'use_mysql_use_result'
> dbdimp.c: At top level:
> dbdimp.c:3263: error: expected declaration specifiers or '...' before
> 'MYSQL_RES'
> dbdimp.c: In function 'mysql_st_FETCH_internal':
> dbdimp.c:3269: error: 'MYSQL_FIELD' undeclared (first use in this
> function)
> dbdimp.c:3269: error: 'curField' undeclared (first use in this =
function)
> dbdimp.c:3269: error: invalid operands to binary *
> dbdimp.c:3276: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:3276: error: invalid operands to binary &&
> dbdimp.c:3277: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:3277: error: incompatible types in assignment
> dbdimp.c:3280: error: 'res' undeclared (first use in this function)
> dbdimp.c:3294: error: 'sql_type_info_t' has no member named 'name'
> dbdimp.c:3294: error: 'sql_type_info_t' has no member named 'name'
> dbdimp.c:3294: warning: passing argument 1 of 'strlen' from =
incompatible
> pointer type
> dbdimp.c:3294: warning: passing argument 2 of 'Perl_newSVpv' from
> incompatible pointer type
> dbdimp.c:3298: error: 'sql_type_info_t' has no member named 'table'
> dbdimp.c:3298: error: 'sql_type_info_t' has no member named 'table'
> dbdimp.c:3298: warning: passing argument 1 of 'strlen' from =
incompatible
> pointer type
> dbdimp.c:3298: warning: passing argument 2 of 'Perl_newSVpv' from
> incompatible pointer type
> dbdimp.c:3302: error: 'sql_type_info_t' has no member named 'type'
> dbdimp.c:3306: error: 'sql_type_info_t' has no member named 'type'
> dbdimp.c:3306: warning: passing argument 1 of 'native2sql' makes =
integer
> from pointer without a cast
> dbdimp.c:3309: error: 'sql_type_info_t' has no member named 'flags'
> dbdimp.c:3313: error: 'sql_type_info_t' has no member named 'flags'
> dbdimp.c:3317: error: 'sql_type_info_t' has no member named 'flags'
> dbdimp.c:3321: error: 'sql_type_info_t' has no member named 'length'
> dbdimp.c:3325: error: 'sql_type_info_t' has no member named 'type'
> dbdimp.c:3325: warning: passing argument 1 of 'native2sql' makes =
integer
> from pointer without a cast
> dbdimp.c:3329: error: 'sql_type_info_t' has no member named 'type'
> dbdimp.c:3329: warning: passing argument 1 of 'native2sql' makes =
integer
> from pointer without a cast
> dbdimp.c:3333: error: 'sql_type_info_t' has no member named =
'max_length'
> dbdimp.c:3345: error: 'sql_type_info_t' has no member named 'flags'
> dbdimp.c:3345: error: 'PRI_KEY_FLAG' undeclared (first use in this
> function)
> dbdimp.c:3345: error: 'UNIQUE_KEY_FLAG' undeclared (first use in this
> function)
> dbdimp.c:3345: error: invalid operands to binary |
> dbdimp.c:3345: error: 'MULTIPLE_KEY_FLAG' undeclared (first use in =
this
> function)
> dbdimp.c:3345: error: invalid operands to binary |
> dbdimp.c:3345: error: invalid operands to binary &
> dbdimp.c:3349: error: 'sql_type_info_t' has no member named 'flags'
> dbdimp.c:3353: error: 'sql_type_info_t' has no member named 'decimals'
> dbdimp.c:3357: error: 'sql_type_info_t' has no member named 'length'
> dbdimp.c:3357: error: 'sql_type_info_t' has no member named =
'max_length'
> dbdimp.c:3357: error: 'sql_type_info_t' has no member named 'length'
> dbdimp.c:3357: error: 'sql_type_info_t' has no member named =
'max_length'
> dbdimp.c:3357: warning: passing argument 2 of 'Perl_newSViv' makes =
integer
> from pointer without a cast
> dbdimp.c:3372: error: 'imp_sth_t' has no member named 'av_attr'
> dbdimp.c:3372: error: assignment of read-only location
> dbdimp.c:3372: error: incompatible types in assignment
> dbdimp.c: In function 'mysql_st_FETCH_attrib':
> dbdimp.c:3421: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3421: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3421: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3423: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3423: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3423: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3427: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3427: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3427: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3439: error: 'imp_sth_t' has no member named 'params'
> dbdimp.c:3439: error: 'struct sql_type_info_s' has no member named =
'value'
> dbdimp.c:3439: warning: passing argument 2 of 'Perl_newSVsv' from
> incompatible pointer type
> dbdimp.c:3448: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3448: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3448: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3452: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3452: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3452: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3458: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3458: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3458: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3462: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3462: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3462: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3466: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3466: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3466: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3468: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3468: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3468: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3470: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3470: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3470: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3472: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3476: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3476: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3476: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3483: error: 'imp_sth_t' has no member named 'insertid'
> dbdimp.c:3485: error: 'imp_sth_t' has no member named 'insertid'
> dbdimp.c:3485: warning: passing argument 2 of 'Perl_sv_2mortal' makes
> pointer from integer without a cast
> dbdimp.c:3490: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3490: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3490: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3494: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3494: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3494: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3496: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3496: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3496: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c:3498: error: 'imp_sth_t' has no member named
> 'use_mysql_use_result'
> dbdimp.c:3510: error: 'imp_sth_t' has no member named 'result'
> dbdimp.c:3510: warning: passing argument 3 of =
'mysql_st_FETCH_internal'
> makes integer from pointer without a cast
> dbdimp.c:3510: error: too many arguments to function
> 'mysql_st_FETCH_internal'
> dbdimp.c: In function 'mysql_bind_ph':
> dbdimp.c:3625: error: 'imp_sth_t' has no member named 'params'
> dbdimp.c:3625: warning: passing argument 1 of 'bind_param' from
> incompatible
> pointer type
> dbdimp.c: In function 'mysql_db_reconnect':
> dbdimp.c:3746: error: 'MYSQL' undeclared (first use in this function)
> dbdimp.c:3746: error: expected ';' before 'save_socket'
> dbdimp.c:3756: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3756: error: 'CR_SERVER_GONE_ERROR' undeclared (first use in =
this
> function)
> dbdimp.c:3756: warning: comparison between pointer and integer
> dbdimp.c:3760: error: 'imp_dbh_t' has no member named 'auto_reconnect'
> dbdimp.c:3774: error: 'save_socket' undeclared (first use in this
> function)
> dbdimp.c:3774: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3775: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3775: warning: passing argument 3 of 'memcpy' makes integer =
from
> pointer without a cast
> dbdimp.c:3776: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3776: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3776: warning: passing argument 3 of 'memset' makes integer =
from
> pointer without a cast
> dbdimp.c:3780: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3780: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3780: warning: passing argument 3 of 'mysql_dr_error' makes
> pointer
> from integer without a cast
> dbdimp.c:3781: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3781: warning: passing argument 3 of 'memcpy' makes integer =
from
> pointer without a cast
> dbdimp.c:3782: error: 'imp_dbh_t' has no member named 'stats'
> dbdimp.c:3782: error: request for member 'auto_reconnects_failed' in
> something not a structure or union
> dbdimp.c:3782: error: invalid lvalue in increment
> dbdimp.c:3785: error: 'imp_dbh_t' has no member named 'stats'
> dbdimp.c:3785: error: request for member 'auto_reconnects_ok' in =
something
> not a structure or union
> dbdimp.c:3785: error: invalid lvalue in increment
> dbdimp.c: In function 'mysql_db_quote':
> dbdimp.c:3936: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c: In function 'mysql_db_last_insert_id':
> dbdimp.c:3951: error: 'imp_dbh_t' has no member named 'mysql'
> dbdimp.c:3951: warning: passing argument 2 of 'Perl_sv_2mortal' makes
> pointer from integer without a cast
> make: *** [dbdimp.o] Error 1
>=20
> =
------------------------------------------------------------ -------------=
-
> --
> --------
>=20
> I know that's quite a lot of output but I thought it would be a good =
idea
> to
> post the complete error message.
> If you need any further pieces of information or the output of some
> commands, please let me know.
>=20
> Thank you very much in advance,
>=20
> -=3DW=3D-
>=20