MySQL Forums
Forum List  »  Perl

Msql-Mysql-modules-1.2219 make test errors
Posted by: Jonathan Sweeney
Date: July 16, 2009 02:26AM

Dear all,

I've been trying to install the Msql-Mysql-modules-1.2219 module on my Fedora 10 system, and keep getting the following errors during the installation process.

Does anyone have any ideas how to correct this? I'm trying to use a script that was written for this module. If I can't get the module working, I'll need to do a significant amount of re-writing and debugging to make the script run with "use DBI" and "use DBD::mysql".

Thanks in advance for any help.

Cheers,
Jon Sweeney

[root@localhost Msql-Mysql-modules-1.2219]# perl Makefile.PL
Which drivers do you want to install?

1) MySQL only
2) mSQL only (either of mSQL 1 or mSQL 2)
3) MySQL and mSQL (either of mSQL 1 or mSQL 2)

4) mSQL 1 and mSQL 2
5) MySQL, mSQL 1 and mSQL 2

Enter the appropriate number: [3] 1


Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n]
WARNING: PL_FILES takes a HASH reference not a ARRAY reference.
Please inform the author.
Note (probably harmless): No library found for -lgz
Multiple copies of Driver.xst found in: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/DBI/ /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/auto/DBI/ at ./Makefile.PL line 68
Using DBI 1.609 (for perl 5.010000 on i386-linux-thread-multi) installed in /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules

[root@localhost Msql-Mysql-modules-1.2219]# make test
make[1]: Entering directory `/home/jrsweeney/Download/Msql-Mysql-modules-1.2219/mysql'
gcc -c -I/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/DBI -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE" -DDBD_MYSQL dbdimp.c
In file included from dbdimp.c:38:
../dbd/bindparam.h: In function ‘CountParam’:
../dbd/bindparam.h:36: warning: suggest parentheses around assignment used as truth value
dbdimp.c: In function ‘mysql_db_login’:
dbdimp.c:724: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:969: warning: value computed is not used
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:1013: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1019: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1027: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1036: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’
dbdimp.c:1048: warning: initialization discards qualifiers from pointer target type
dbdimp.c:1059: warning: initialization discards qualifiers from pointer target type
dbdimp.c: In function ‘mysql_st_internal_execute’:
dbdimp.c:1203: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
dbdimp.c:1264: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
dbdimp.c: In function ‘mysql_st_execute’:
dbdimp.c:1353: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
dbdimp.c: In function ‘mysql_st_fetch’:
dbdimp.c:1427: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:1777: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’
dbdimp.c: In function ‘MysqlReconnect’:
dbdimp.c:2163: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
gcc -c -I/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -I../dbd -I/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/DBI -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE" -DDBD_MYSQL mysql.c
mysql.xs: In function ‘XS_DBD__mysql__dr__ListDBs’:
mysql.xs:98: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
mysql.xs: In function ‘XS_DBD__mysql__dr__admin_internal’:
mysql.xs:138: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
mysql.xs:144: error: too few arguments to function ‘mysql_shutdown’
mysql.xs:186: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
mysql.xs: In function ‘XS_DBD__mysql__db__InsertID’:
mysql.xs:234: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘my_ulonglong’
mysql.xs: In function ‘XS_DBD__mysql__db__ListDBs’:
mysql.xs:250: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
mysql.xs: In function ‘XS_DBD__mysql__db__ListTables’:
mysql.xs:271: warning: passing argument 3 of ‘mysql_dr_error’ discards qualifiers from pointer target type
make[1]: *** [mysql.o] Error 1
make[1]: Leaving directory `/home/jrsweeney/Download/Msql-Mysql-modules-1.2219/mysql'
make: *** [subdirs] Error 2

Options: ReplyQuote


Subject
Written By
Posted
Msql-Mysql-modules-1.2219 make test errors
July 16, 2009 02:26AM


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.