MySQL Forums
Forum List  »  Perl

DBD::mysql Installation Problem
Posted by: Mirco Dunker
Date: April 13, 2011 07:32AM

Hi there,

I have a problem during the installation setup. I have a brand new MySQL installation running and can connect myself as root. Now I'm trying /usr/bin/perl install-module.pl DBD::mysql and this is the result:

Checking for CPAN (v1.81) ok: found v1.96
Checking for YAML (any) ok: found v0.72
CPAN: Storable loaded ok (v2.15)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 11 Apr 2011 11:27:21 GMT
Installing DBD::mysql version 4.018...
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v1.35)
Checksum for /root/.cpan/source/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz ok
DBD-mysql-4.018/
[...]
DBD-mysql-4.018/TODO
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.110930)
CPAN: Module::CoreList loaded ok (v2.46)

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz

PLEASE NOTE:

For 'make test' to run properly, you must ensure that the
database user 'root' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.

mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';

You can also optionally set the user to run 'make test' with:

perl Makefile.PL --testuser=username

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/opt/lampp/include -I/opt/lampp/include -L/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib -fno-exceptions -g
embedded (mysql_config) =
libs (mysql_config) = -L/opt/lampp/lib -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (guessed ) = root

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.50 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
Could not read metadata file. Falling back to other methods to determine prerequisites
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ -I/opt/lampp/include -I/opt/lampp/include -L/opt/lampp/lib -Wl,--rpath -Wl,/opt/lampp/lib -fno-exceptions -g -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE" dbdimp.c
In file included from /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/DBIXS.h:31,
from dbdimp.h:21,
from dbdimp.c:20:
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/dbipport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/DBIXS.h:19,
from dbdimp.h:21,
from dbdimp.c:20:
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:163:1: warning: this is the location of the previous definition
In file included from dbdimp.c:20:
dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:25:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:
dbdimp.h:147: error: expected specifier-qualifier-list before âMYSQLâ
dbdimp.h:239: error: expected specifier-qualifier-list before âMYSQL_RESâ
In file included from dbdimp.c:20:
dbdimp.h:296: error: expected â)â before â*â token
dbdimp.h:299: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âmysql_st_internal_executeâ
dbdimp.h:331: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
dbdimp.c: In function âcount_paramsâ:
dbdimp.c:94: warning: suggest parentheses around assignment used as truth value
dbdimp.c:137: warning: suggest parentheses around assignment used as truth value
dbdimp.c: In function âalloc_paramâ:
dbdimp.c:212: warning: comparison is always false due to limited range of data type
dbdimp.c: At top level:
dbdimp.c:507: error: expected â)â before â*â token
dbdimp.c:809: error: âFIELD_TYPE_VAR_STRINGâ undeclared here (not in a function)
dbdimp.c:819: error: âFIELD_TYPE_DECIMALâ undeclared here (not in a function)
dbdimp.c:829: error: âFIELD_TYPE_TINYâ undeclared here (not in a function)
dbdimp.c:839: error: âFIELD_TYPE_SHORTâ undeclared here (not in a function)
dbdimp.c:849: error: âFIELD_TYPE_LONGâ undeclared here (not in a function)
dbdimp.c:859: error: âFIELD_TYPE_FLOATâ undeclared here (not in a function)
dbdimp.c:869: error: âFIELD_TYPE_DOUBLEâ undeclared here (not in a function)
dbdimp.c:892: error: âFIELD_TYPE_TIMESTAMPâ undeclared here (not in a function)
dbdimp.c:902: error: âFIELD_TYPE_LONGLONGâ undeclared here (not in a function)
dbdimp.c:912: error: âFIELD_TYPE_INT24â undeclared here (not in a function)
dbdimp.c:922: error: âFIELD_TYPE_DATEâ undeclared here (not in a function)
dbdimp.c:932: error: âFIELD_TYPE_TIMEâ undeclared here (not in a function)
dbdimp.c:942: error: âFIELD_TYPE_DATETIMEâ undeclared here (not in a function)
dbdimp.c:952: error: âFIELD_TYPE_YEARâ undeclared here (not in a function)
dbdimp.c:962: error: âFIELD_TYPE_NEWDATEâ undeclared here (not in a function)
dbdimp.c:972: error: âFIELD_TYPE_ENUMâ undeclared here (not in a function)
dbdimp.c:982: error: âFIELD_TYPE_SETâ undeclared here (not in a function)
dbdimp.c:992: error: âFIELD_TYPE_BLOBâ undeclared here (not in a function)
dbdimp.c:1002: error: âFIELD_TYPE_TINY_BLOBâ undeclared here (not in a function)
dbdimp.c:1012: error: âFIELD_TYPE_MEDIUM_BLOBâ undeclared here (not in a function)
dbdimp.c:1022: error: âFIELD_TYPE_LONG_BLOBâ undeclared here (not in a function)
dbdimp.c:1032: error: âFIELD_TYPE_STRINGâ undeclared here (not in a function)
dbdimp.c: In function âmysql_dr_errorâ:
dbdimp.c:1420: warning: unused variable âerrstateâ
dbdimp.c: At top level:
dbdimp.c:1499: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
dbdimp.c: In function âmy_loginâ:
dbdimp.c:1978: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: error: âMYSQLâ undeclared (first use in this function)
dbdimp.c:1979: error: (Each undeclared identifier is reported only once
dbdimp.c:1979: error: for each function it appears in.)
dbdimp.c:1979: warning: comparison between pointer and integer
dbdimp.c:1979: error: invalid operands to binary /
dbdimp.c:1979: warning: comparison between pointer and integer
dbdimp.c:1979: error: expected expression before â)â token
dbdimp.c:1979: error: invalid operands to binary *
dbdimp.c:1979: error: invalid operands to binary *
dbdimp.c:1979: error: invalid operands to binary *
dbdimp.c:1979: error: invalid operands to binary *
dbdimp.c:1979: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: error: invalid operands to binary *
dbdimp.c:1979: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: warning: passing argument 3 of â__builtin___memset_chkâ makes integer from pointer without a cast
dbdimp.c:1979: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:1979: error: invalid operands to binary *
dbdimp.c:1979: warning: passing argument 3 of â__memset_ichkâ makes integer from pointer without a cast
dbdimp.c:1979: warning: left-hand operand of comma expression has no effect
dbdimp.c:1979: warning: value computed is not used
dbdimp.c:1981: warning: implicit declaration of function âmysql_dr_connectâ
dbdimp.c:1981: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c: In function âmysql_db_loginâ:
dbdimp.c:2018: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:2018: error: request for member âauto_reconnects_okâ in something not a structure or union
dbdimp.c:2018: warning: statement with no effect
dbdimp.c:2019: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:2019: error: request for member âauto_reconnects_failedâ in something not a structure or union
dbdimp.c:2019: warning: statement with no effect
dbdimp.c:2020: error: âimp_dbh_tâ has no member named âbind_type_guessingâ
dbdimp.c:2020: warning: statement with no effect
dbdimp.c:2021: error: âimp_dbh_tâ has no member named âbind_comment_placeholdersâ
dbdimp.c:2021: warning: statement with no effect
dbdimp.c:2022: error: âimp_dbh_tâ has no member named âhas_transactionsâ
dbdimp.c:2022: warning: statement with no effect
dbdimp.c:2024: error: âimp_dbh_tâ has no member named âauto_reconnectâ
dbdimp.c:2024: warning: statement with no effect
dbdimp.c:2033: warning: implicit declaration of function âmysql_errnoâ
dbdimp.c:2033: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2034: warning: implicit declaration of function âmysql_errorâ
dbdimp.c:2034: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2034: warning: passing argument 3 of âmysql_dr_errorâ makes pointer from integer without a cast
dbdimp.c:2007: warning: unused variable âPerl___notusedâ
dbdimp.c: In function âmysql_db_commitâ:
dbdimp.c:2071: error: âimp_dbh_tâ has no member named âhas_transactionsâ
dbdimp.c:2074: warning: implicit declaration of function âmysql_real_queryâ
dbdimp.c:2074: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2079: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2079: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2080: warning: passing argument 3 of âmysql_dr_errorâ makes pointer from integer without a cast
dbdimp.c: In function âmysql_db_rollbackâ:
dbdimp.c:2099: error: âimp_dbh_tâ has no member named âhas_transactionsâ
dbdimp.c:2102: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2107: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2108: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2108: warning: passing argument 3 of âmysql_dr_errorâ makes pointer from integer without a cast
dbdimp.c: In function âmysql_db_disconnectâ:
dbdimp.c:2145: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2146: warning: implicit declaration of function âmysql_closeâ
dbdimp.c:2146: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2136: warning: unused variable âPerl___notusedâ
dbdimp.c: In function âdbd_discon_allâ:
dbdimp.c:2196: warning: implicit declaration of function âmysql_server_endâ
dbdimp.c:2172: warning: unused variable âimp_xxhâ
dbdimp.c:2170: warning: unused variable âPerl___notusedâ
dbdimp.c: In function âmysql_db_destroyâ:
dbdimp.c:2233: error: âimp_dbh_tâ has no member named âhas_transactionsâ
dbdimp.c:2237: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2245: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c: In function âmysql_db_STORE_attribâ:
dbdimp.c:2283: error: âimp_dbh_tâ has no member named âhas_transactionsâ
dbdimp.c:2305: error: âimp_dbh_tâ has no member named âno_autocommit_cmdâ
dbdimp.c:2310: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2318: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2343: error: âimp_dbh_tâ has no member named âuse_mysql_use_resultâ
dbdimp.c:2343: warning: statement with no effect
dbdimp.c:2345: error: âimp_dbh_tâ has no member named âauto_reconnectâ
dbdimp.c:2345: warning: statement with no effect
dbdimp.c:2347: error: âimp_dbh_tâ has no member named âuse_server_side_prepareâ
dbdimp.c:2347: warning: statement with no effect
dbdimp.c:2349: error: âimp_dbh_tâ has no member named âno_autocommit_cmdâ
dbdimp.c:2349: warning: statement with no effect
dbdimp.c:2351: error: âimp_dbh_tâ has no member named âbind_type_guessingâ
dbdimp.c:2351: warning: statement with no effect
dbdimp.c:2353: error: âimp_dbh_tâ has no member named âbind_type_guessingâ
dbdimp.c:2353: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:2382: error: expected â)â before âvalâ
dbdimp.c: In function âmysql_db_FETCH_attribâ:
dbdimp.c:2411: error: âimp_dbh_tâ has no member named âhas_transactionsâ
dbdimp.c:2428: error: âimp_dbh_tâ has no member named âauto_reconnectâ
dbdimp.c:2428: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:2434: error: âimp_dbh_tâ has no member named âbind_type_guessingâ
dbdimp.c:2434: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:2439: error: âimp_dbh_tâ has no member named âbind_comment_placeholdersâ
dbdimp.c:2439: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:2445: warning: implicit declaration of function âmysql_get_client_infoâ
dbdimp.c:2445: warning: initialization makes pointer from integer without a cast
dbdimp.c:2451: warning: implicit declaration of function âmy_ulonglong2strâ
dbdimp.c:2451: warning: implicit declaration of function âmysql_get_client_versionâ
dbdimp.c:2451: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
dbdimp.c:2456: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2460: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2460: warning: initialization makes pointer from integer without a cast
dbdimp.c:2474: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:2474: error: request for member âauto_reconnects_okâ in something not a structure or union
dbdimp.c:2474: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:2481: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:2481: error: request for member âauto_reconnects_failedâ in something not a structure or union
dbdimp.c:2481: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:2495: warning: implicit declaration of function âmysql_get_host_infoâ
dbdimp.c:2495: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2495: warning: initialization makes pointer from integer without a cast
dbdimp.c:2504: warning: implicit declaration of function âmysql_infoâ
dbdimp.c:2504: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2504: warning: initialization makes pointer from integer without a cast
dbdimp.c:2509: warning: implicit declaration of function âmysql_insert_idâ
dbdimp.c:2509: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2509: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
dbdimp.c:2514: error: âimp_dbh_tâ has no member named âno_autocommit_cmdâ
dbdimp.c:2514: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:2519: warning: implicit declaration of function âmysql_get_proto_infoâ
dbdimp.c:2519: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2525: warning: implicit declaration of function âmysql_get_server_infoâ
dbdimp.c:2525: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2525: warning: initialization makes pointer from integer without a cast
dbdimp.c:2530: warning: implicit declaration of function âmysql_get_server_versionâ
dbdimp.c:2530: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2530: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
dbdimp.c:2532: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2534: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2534: error: âsql_type_info_tâ has no member named ânetâ
dbdimp.c:2534: error: request for member âfdâ in something not a structure or union
dbdimp.c:2537: warning: implicit declaration of function âmysql_statâ
dbdimp.c:2537: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2537: warning: initialization makes pointer from integer without a cast
dbdimp.c:2544: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:2544: warning: initialization makes pointer from integer without a cast
dbdimp.c:2549: error: âimp_dbh_tâ has no member named âuse_server_side_prepareâ
dbdimp.c:2554: warning: implicit declaration of function âmysql_thread_idâ
dbdimp.c:2554: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c: In function âmysql_st_prepareâ:
dbdimp.c:2603: error: âMYSQL_VERSION_IDâ undeclared (first use in this function)
dbdimp.c:2618: error: âimp_sth_tâ has no member named âdone_descâ
dbdimp.c:2618: warning: statement with no effect
dbdimp.c:2619: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:2619: warning: statement with no effect
dbdimp.c:2620: error: âimp_sth_tâ has no member named âcurrowâ
dbdimp.c:2620: warning: statement with no effect
dbdimp.c:2624: error: âimp_sth_tâ has no member named âuse_mysql_use_resultâ
dbdimp.c:2625: error: âimp_dbh_tâ has no member named âuse_mysql_use_resultâ
dbdimp.c:2625: warning: pointer/integer type mismatch in conditional expression
dbdimp.c:2625: warning: statement with no effect
dbdimp.c:2628: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:2628: error: assignment of read-only location
dbdimp.c:2628: error: incompatible types in assignment
dbdimp.c:2628: warning: statement with no effect
dbdimp.c:2815: error: âimp_dbh_tâ has no member named âbind_comment_placeholdersâ
dbdimp.c:2815: warning: passing argument 2 of âcount_paramsâ makes integer from pointer without a cast
dbdimp.c:2819: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:2819: warning: statement with no effect
dbdimp.c: In function âmysql_st_free_result_setsâ:
dbdimp.c:2889: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:2891: warning: implicit declaration of function âmysql_free_resultâ
dbdimp.c:2891: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:2892: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:2892: warning: statement with no effect
dbdimp.c:2842: warning: unused variable ânext_result_rcâ
dbdimp.c:2840: warning: unused variable âimp_dbhâ
dbdimp.c: At top level:
dbdimp.c:3056: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âmysql_st_internal_executeâ
dbdimp.c: In function âmysql_st_executeâ:
dbdimp.c:3361: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:3361: error: used struct type value where scalar is required
dbdimp.c:3362: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:3362: error: cannot convert to a pointer type
dbdimp.c:3364: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:3364: error: assignment of read-only location
dbdimp.c:3364: error: incompatible types in assignment
dbdimp.c:3364: warning: statement with no effect
dbdimp.c:3396: error: âimp_sth_tâ has no member named ârow_numâ
dbdimp.c:3396: warning: implicit declaration of function âmysql_st_internal_executeâ
dbdimp.c:3401: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:3402: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3403: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3404: error: âimp_sth_tâ has no member named âuse_mysql_use_resultâ
dbdimp.c:3405: warning: statement with no effect
dbdimp.c:3407: error: âimp_sth_tâ has no member named ârow_numâ
dbdimp.c:3407: error: âmy_ulonglongâ undeclared (first use in this function)
dbdimp.c:3409: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3411: error: âimp_sth_tâ has no member named âinsertidâ
dbdimp.c:3411: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3411: warning: statement with no effect
dbdimp.c:3420: warning: implicit declaration of function âmysql_num_fieldsâ
dbdimp.c:3420: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3422: error: âimp_sth_tâ has no member named âdone_descâ
dbdimp.c:3422: warning: statement with no effect
dbdimp.c:3423: error: âimp_sth_tâ has no member named âfetch_doneâ
dbdimp.c:3423: warning: statement with no effect
dbdimp.c:3427: error: âimp_sth_tâ has no member named âwarning_countâ
dbdimp.c:3427: warning: statement with no effect
dbdimp.c:3435: error: âimp_sth_tâ has no member named ârow_numâ
dbdimp.c:3435: warning: format â%lluâ expects type âlong long unsigned intâ, but argument 5 has type âconst struct sql_type_info_t *â
dbdimp.c:3441: error: âimp_sth_tâ has no member named ârow_numâ
dbdimp.c:3441: warning: cast from pointer to integer of different size
dbdimp.c:3348: warning: unused variable âPerl___notusedâ
dbdimp.c: In function âmysql_describeâ:
dbdimp.c:3563: error: âimp_sth_tâ has no member named âdone_descâ
dbdimp.c:3563: warning: statement with no effect
dbdimp.c: In function âmysql_st_fetchâ:
dbdimp.c:3591: error: âMYSQL_ROWâ undeclared (first use in this function)
dbdimp.c:3591: warning: statement with no effect
dbdimp.c:3591: error: expected â;â before âcolsâ
dbdimp.c:3592: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3593: error: âMYSQLâ undeclared (first use in this function)
dbdimp.c:3593: error: âsvsockâ undeclared (first use in this function)
dbdimp.c:3593: error: invalid operands to binary *
dbdimp.c:3593: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3593: warning: statement with no effect
dbdimp.c:3594: warning: ISO C90 forbids mixed declarations and code
dbdimp.c:3599: error: âMYSQL_FIELDâ undeclared (first use in this function)
dbdimp.c:3599: error: âfieldsâ undeclared (first use in this function)
dbdimp.c:3599: error: invalid operands to binary *
dbdimp.c:3599: warning: statement with no effect
dbdimp.c:3637: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3644: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3644: error: âsql_type_info_tâ has no member named ânetâ
dbdimp.c:3644: error: request for member âlast_errnoâ in something not a structure or union
dbdimp.c:3644: warning: statement with no effect
dbdimp.c:3775: error: âimp_sth_tâ has no member named âcurrowâ
dbdimp.c:3775: error: invalid lvalue in increment
dbdimp.c:3775: warning: statement with no effect
dbdimp.c:3780: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3782: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3784: warning: implicit declaration of function âmysql_num_rowsâ
dbdimp.c:3784: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3786: warning: implicit declaration of function âmysql_affected_rowsâ
dbdimp.c:3786: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3788: error: âimp_sth_tâ has no member named âcurrowâ
dbdimp.c:3791: error: âcolsâ undeclared (first use in this function)
dbdimp.c:3791: warning: implicit declaration of function âmysql_fetch_rowâ
dbdimp.c:3791: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3797: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3798: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3799: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:3800: warning: passing argument 3 of âmysql_dr_errorâ makes pointer from integer without a cast
dbdimp.c:3810: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3811: warning: implicit declaration of function âmysql_fetch_fieldsâ
dbdimp.c:3811: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3811: warning: statement with no effect
dbdimp.c:3812: warning: implicit declaration of function âmysql_fetch_lengthsâ
dbdimp.c:3812: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:3812: warning: assignment makes pointer from integer without a cast
dbdimp.c:3852: error: incompatible types in initialization
dbdimp.c:3594: warning: unused variable âfbhâ
dbdimp.c:3587: warning: unused variable ârcâ
dbdimp.c: In function âmysql_st_finishâ:
dbdimp.c:3927: warning: unused variable âPerl___notusedâ
dbdimp.c: In function âmysql_st_destroyâ:
dbdimp.c:4040: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:4042: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:4042: warning: passing argument 1 of âfree_paramâ from incompatible pointer type
dbdimp.c:4043: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:4043: warning: statement with no effect
dbdimp.c:4049: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:4049: error: used struct type value where scalar is required
dbdimp.c:4050: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:4050: error: cannot convert to a pointer type
dbdimp.c:4051: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:4051: error: assignment of read-only location
dbdimp.c:4051: error: incompatible types in assignment
dbdimp.c:4051: warning: statement with no effect
dbdimp.c:3989: warning: unused variable âPerl___notusedâ
dbdimp.c:3986: warning: unused variable âimp_xxhâ
dbdimp.c: In function âmysql_st_STORE_attribâ:
dbdimp.c:4095: error: âimp_sth_tâ has no member named âuse_mysql_use_resultâ
dbdimp.c:4095: warning: statement with no effect
dbdimp.c: At top level:
dbdimp.c:4143: error: expected declaration specifiers or â...â before âMYSQL_RESâ
dbdimp.c: In function âmysql_st_FETCH_internalâ:
dbdimp.c:4149: error: âMYSQL_FIELDâ undeclared (first use in this function)
dbdimp.c:4149: error: âcurFieldâ undeclared (first use in this function)
dbdimp.c:4149: error: invalid operands to binary *
dbdimp.c:4149: warning: statement with no effect
dbdimp.c:4156: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:4156: error: invalid operands to binary &&
dbdimp.c:4157: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:4157: error: incompatible types in assignment
dbdimp.c:4157: warning: statement with no effect
dbdimp.c:4160: error: âresâ undeclared (first use in this function)
dbdimp.c:4167: warning: implicit declaration of function âmysql_field_seekâ
dbdimp.c:4168: warning: implicit declaration of function âmysql_fetch_fieldâ
dbdimp.c:4174: error: âsql_type_info_tâ has no member named ânameâ
dbdimp.c:4174: error: âsql_type_info_tâ has no member named ânameâ
dbdimp.c:4174: warning: passing argument 1 of âstrlenâ from incompatible pointer type
dbdimp.c:4174: warning: passing argument 2 of âPerl_newSVpvâ from incompatible pointer type
dbdimp.c:4178: error: âsql_type_info_tâ has no member named âtableâ
dbdimp.c:4178: error: âsql_type_info_tâ has no member named âtableâ
dbdimp.c:4178: warning: passing argument 1 of âstrlenâ from incompatible pointer type
dbdimp.c:4178: warning: passing argument 2 of âPerl_newSVpvâ from incompatible pointer type
dbdimp.c:4182: error: âsql_type_info_tâ has no member named âtypeâ
dbdimp.c:4182: warning: cast from pointer to integer of different size
dbdimp.c:4186: error: âsql_type_info_tâ has no member named âtypeâ
dbdimp.c:4186: warning: passing argument 1 of ânative2sqlâ makes integer from pointer without a cast
dbdimp.c:4189: warning: implicit declaration of function âIS_PRI_KEYâ
dbdimp.c:4189: error: âsql_type_info_tâ has no member named âflagsâ
dbdimp.c:4193: warning: implicit declaration of function âIS_NOT_NULLâ
dbdimp.c:4193: error: âsql_type_info_tâ has no member named âflagsâ
dbdimp.c:4197: error: âsql_type_info_tâ has no member named âflagsâ
dbdimp.c:4201: error: âsql_type_info_tâ has no member named âlengthâ
dbdimp.c:4201: warning: cast from pointer to integer of different size
dbdimp.c:4205: error: âsql_type_info_tâ has no member named âtypeâ
dbdimp.c:4205: warning: passing argument 1 of ânative2sqlâ makes integer from pointer without a cast
dbdimp.c:4209: error: âsql_type_info_tâ has no member named âtypeâ
dbdimp.c:4209: warning: passing argument 1 of ânative2sqlâ makes integer from pointer without a cast
dbdimp.c:4213: error: âsql_type_info_tâ has no member named âmax_lengthâ
dbdimp.c:4213: warning: cast from pointer to integer of different size
dbdimp.c:4225: error: âsql_type_info_tâ has no member named âflagsâ
dbdimp.c:4225: error: âPRI_KEY_FLAGâ undeclared (first use in this function)
dbdimp.c:4225: error: âUNIQUE_KEY_FLAGâ undeclared (first use in this function)
dbdimp.c:4225: error: invalid operands to binary |
dbdimp.c:4225: error: âMULTIPLE_KEY_FLAGâ undeclared (first use in this function)
dbdimp.c:4225: error: invalid operands to binary |
dbdimp.c:4225: error: invalid operands to binary &
dbdimp.c:4229: warning: implicit declaration of function âIS_BLOBâ
dbdimp.c:4229: error: âsql_type_info_tâ has no member named âflagsâ
dbdimp.c:4233: error: âsql_type_info_tâ has no member named âdecimalsâ
dbdimp.c:4233: warning: cast from pointer to integer of different size
dbdimp.c:4237: error: âsql_type_info_tâ has no member named âlengthâ
dbdimp.c:4237: error: âsql_type_info_tâ has no member named âmax_lengthâ
dbdimp.c:4237: error: âsql_type_info_tâ has no member named âlengthâ
dbdimp.c:4237: error: âsql_type_info_tâ has no member named âmax_lengthâ
dbdimp.c:4237: warning: passing argument 2 of âPerl_newSVivâ makes integer from pointer without a cast
dbdimp.c:4252: error: âimp_sth_tâ has no member named âav_attrâ
dbdimp.c:4252: error: assignment of read-only location
dbdimp.c:4252: error: incompatible types in assignment
dbdimp.c:4252: warning: statement with no effect
dbdimp.c: In function âmysql_st_FETCH_attribâ:
dbdimp.c:4303: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4303: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4303: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4305: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4305: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4305: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4309: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4309: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4309: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4321: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:4321: error: âstruct sql_type_info_sâ has no member named âvalueâ
dbdimp.c:4321: warning: passing argument 2 of âPerl_newSVsvâ from incompatible pointer type
dbdimp.c:4330: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4330: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4330: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4334: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4334: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4334: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4340: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4340: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4340: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4344: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4344: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4344: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4348: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4348: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4348: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4350: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4350: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4350: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4352: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4352: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4352: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4354: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4358: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4358: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4358: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4365: error: âimp_sth_tâ has no member named âinsertidâ
dbdimp.c:4367: error: âimp_sth_tâ has no member named âinsertidâ
dbdimp.c:4367: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
dbdimp.c:4372: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4372: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4372: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4376: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4376: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4376: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4378: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4378: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4378: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c:4380: error: âimp_sth_tâ has no member named âuse_mysql_use_resultâ
dbdimp.c:4384: error: âimp_sth_tâ has no member named âwarning_countâ
dbdimp.c:4396: error: âimp_sth_tâ has no member named âresultâ
dbdimp.c:4396: warning: passing argument 3 of âmysql_st_FETCH_internalâ makes integer from pointer without a cast
dbdimp.c:4396: error: too many arguments to function âmysql_st_FETCH_internalâ
dbdimp.c: In function âmysql_bind_phâ:
dbdimp.c:4525: error: âimp_sth_tâ has no member named âparamsâ
dbdimp.c:4525: warning: passing argument 1 of âbind_paramâ from incompatible pointer type
dbdimp.c: In function âmysql_db_reconnectâ:
dbdimp.c:4670: error: âMYSQLâ undeclared (first use in this function)
dbdimp.c:4670: warning: statement with no effect
dbdimp.c:4670: error: expected â;â before âsave_socketâ
dbdimp.c:4680: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4680: error: âCR_SERVER_GONE_ERRORâ undeclared (first use in this function)
dbdimp.c:4680: warning: comparison between pointer and integer
dbdimp.c:4684: error: âimp_dbh_tâ has no member named âauto_reconnectâ
dbdimp.c:4698: error: âsave_socketâ undeclared (first use in this function)
dbdimp.c:4698: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4698: warning: statement with no effect
dbdimp.c:4699: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4699: warning: passing argument 3 of â__builtin___memcpy_chkâ makes integer from pointer without a cast
dbdimp.c:4699: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4699: warning: passing argument 3 of â__memcpy_ichkâ makes integer from pointer without a cast
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: warning: passing argument 1 of â__builtin___memset_chkâ discards qualifiers from pointer target type
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4700: warning: passing argument 1 of â__memset_ichkâ discards qualifiers from pointer target type
dbdimp.c:4708: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4708: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4709: warning: passing argument 3 of âmysql_dr_errorâ makes pointer from integer without a cast
dbdimp.c:4710: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4710: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4710: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4710: warning: passing argument 1 of â__builtin___memcpy_chkâ discards qualifiers from pointer target type
dbdimp.c:4710: warning: passing argument 3 of â__builtin___memcpy_chkâ makes integer from pointer without a cast
dbdimp.c:4710: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4710: warning: passing argument 1 of â__memcpy_ichkâ discards qualifiers from pointer target type
dbdimp.c:4710: warning: passing argument 3 of â__memcpy_ichkâ makes integer from pointer without a cast
dbdimp.c:4711: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:4711: error: request for member âauto_reconnects_failedâ in something not a structure or union
dbdimp.c:4711: error: invalid lvalue in increment
dbdimp.c:4711: warning: statement with no effect
dbdimp.c:4720: error: âimp_dbh_tâ has no member named âstatsâ
dbdimp.c:4720: error: request for member âauto_reconnects_okâ in something not a structure or union
dbdimp.c:4720: error: invalid lvalue in increment
dbdimp.c:4720: warning: statement with no effect
dbdimp.c: In function âmysql_db_quoteâ:
dbdimp.c:4880: warning: implicit declaration of function âmysql_real_escape_stringâ
dbdimp.c:4880: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c: In function âmysql_db_last_insert_idâ:
dbdimp.c:4903: error: âimp_dbh_tâ has no member named âpmysqlâ
dbdimp.c:4903: warning: passing argument 2 of âPerl_sv_2mortalâ makes pointer from integer without a cast
make: *** [dbdimp.o] Error 1
CAPTTOFU/DBD-mysql-4.018.tar.gz
/usr/bin/make -- NOT OK
Skipping test because of notest pragma
Running make install
Make had returned bad status, install seems impossible

I don't understand the problem. For tips to solve it, I would be grateful.

Greetings,
Mirco

Options: ReplyQuote


Subject
Written By
Posted
DBD::mysql Installation Problem
April 13, 2011 07:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.