系统FC4,已安装DBD-mysql-3.0008/DBI-1.54/Data-Dumper-2.121/Data-ShowTable-3.3,应该也不是硬盘或内存不足,请朋友们多多指教。
[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]
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local/mysql]
Which database should I use for testing the MySQL drivers? [test]
On which host is database test running (hostname, ip address
or host:port) [localhost]
User name for connecting to database test? [undef] root
Password for connecting to database test? [undef] 123456
Creating files for MySQL ....................
WARNING: PL_FILES takes a hash reference not a array reference.
Please inform the author.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz
Using DBI 1.54 (for perl 5.008006 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.6/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
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.8.6/i386-linux-thread-multi \
-I/usr/lib/perl5/5.8.6 -Ilib -MExtUtils:erlPP \
-e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
/usr/bin/pod2text mysql/lib/DBD/mysql.pm >README
make[1]: Entering directory `/usr/local/apache/cgi-bin/Msql-Mysql-modules-1.2219/mysql'
cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/DBI -I/usr/local/mysql/include/mysql -I../dbd -I/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/DBI -I/usr/lib/perl5/5.8.6/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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -fPIC "-I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE" -DDBD_MYSQL dbdimp.c
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_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: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_fetch':
dbdimp.c:1427: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
dbdimp.c: In function 'MysqlReconnect':
dbdimp.c:2163: warning: passing argument 3 of 'mysql_dr_error' discards qualifiers from pointer target type
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 281
Warning: duplicate function definition 'rows' detected in mysql.xs, line 407
gcc -c -I/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/DBI -I/usr/local/mysql/include/mysql -I../dbd -I/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/DBI -I/usr/lib/perl5/5.8.6/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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DVERSION=\"2.0419\" -DXS_VERSION=\"2.0419\" -fPIC "-I/usr/lib/perl5/5.8.6/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__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 `/usr/local/apache/cgi-bin/Msql-Mysql-modules-1.2219/mysql'
make: *** [subdirs] Error 2