Msql-Mysql-modules make problem with Red Hat Enterprise Linux ES
am 19.12.2004 15:14:22 von pin------=_NextPart_000_0023_01C4E618.17FA4DE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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/aut o/DBI =
-I/usr/local/mysql/include/mysql -I../dbd =
-I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/aut o/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=3D64 =
-I/usr/include/gdbm -O2 -g -pipe -march=3Di386 -mcpu=3Di686 =
-DVERSION=3D\"2.0419\" -DXS_VERSION=3D\"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.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
------=_NextPart_000_0023_01C4E618.17FA4DE0--