Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
ODBC - ODBC with the MySQL Connector/ODBC driver
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
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
Reply:     1     2  

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