  | | | Msql-Mysql-modules make problem with Red Hat Enterprise Linux ES | Msql-Mysql-modules make problem with Red Hat Enterprise Linux ES 2004-12-19 - By Pin~1.com.my
Back perl Makefile.PL works fine:
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] n Where is your MySQL installed? Please tell me the directory that contains the subdir 'include'. [/usr/local/mysql] /usr/local/mysql Which database should I use for testing the MySQL drivers? [test] test On which host is database test running (hostname, ip address or host:port) [localhost] localhost User name for connecting to database test? [undef] Password for connecting to database test? [undef] Creating files for MySQL .................... WARNING: CAPI is not a known parameter. 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.46 (for perl 5.008 on i386-linux-thread-multi) installed in /usr /lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ Writing Makefile for DBD::mysql Writing Makefile for Msql-Mysql-modules
But when I type make, the following error appear:
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.0/i386-linux-thread-multi/auto/DBI -I /usr/local/mysql/include/mysql -I../dbd -I/usr/lib/perl5/site_perl/5.8.0/i386 -linux-thread-multi/auto/DBI -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi -D _REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I /usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include /gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"2.0419\" -DXS_VERSION=\ "2.0419\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DDBD _MYSQL mysql.c mysql.xs: In function `XS_DBD__mysql__dr__ListDBs': mysql.xs:98: warning: passing arg 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 arg 3 of `mysql_dr_error' discards qualifiers from pointer target type mysql.xs:144: too few arguments to function `mysql_shutdown' mysql.xs:186: warning: passing arg 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 arg 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 arg 3 of `mysql_dr_error' discards qualifiers from pointer target type make[1]: *** [mysql.o] Error 1 make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1 (See http://les-1.ora-code.com).2219/mysql' make: *** [subdirs] Error 2
I had tried searching the Internet for answer but couldn't find one. Anyone kind enough to guide?
Thank you
Pin
|
|
 |