Problems installing DBD::mysql
am 08.04.2010 16:12:51 von Florian.MarquardtHello
I have a problem with installing DBD::mysql in the Version: 4013
I run a Suse Linux Enterprise Server 6 and the mysql Ver 1412
Distrib 5045, for pc-linux-gnu (i686) using readline 50 i
have the gcc 333 installed
So now my problem evertime i try to make install on the
DBD::mysql i receive the following error:
cc -c
-I/usr/lib/perl5/site_perl/583/i586-linux-thread-multi /auto/DBI
-I/usr/include/mysql -g -m32 -fmessage-length=3D0
-D_FORTIFY_SOURCE=3D2 -DUNIV_LINUX -DUNIV_LINUX
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -O2 -march=3Di586 -mcpu=3Di686
-fmessage-length=3D0 -Wall -Wall -pipe -DVERSION=3D\"4013\"
-DXS_VERSION=3D\"4013\" -fPIC
"-I/usr/lib/perl5/583/i586-linux-thread-multi/CORE" dbdimpc
dbdimpc: In function `dbd_discon_all':
dbdimpc:1988: warning: unused variable `imp_xxh'
dbdimpc: In function `mysql_st_prepare':
dbdimpc:2386: warning: unused variable `limit_flag'
cc -c
-I/usr/lib/perl5/site_perl/583/i586-linux-thread-multi /auto/DBI
-I/usr/include/mysql -g -m32 -fmessage-length=3D0
-D_FORTIFY_SOURCE=3D2 -DUNIV_LINUX -DUNIV_LINUX
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -O2 -march=3Di586 -mcpu=3Di686
-fmessage-length=3D0 -Wall -Wall -pipe -DVERSION=3D\"4013\"
-DXS_VERSION=3D\"4013\" -fPIC
"-I/usr/lib/perl5/583/i586-linux-thread-multi/CORE" mysqlc
mysqlxs: In function `XS_DBD__mysql__db_do':
mysqlxs:242: warning: unused variable `statement_ptr'
mysqlxs: In function `XS_DBD__mysql__st_more_results':
mysqlxs:588: warning: implicit declaration of function
`mysql_st_next_results'
mysqlxs:587: warning: unused variable `retval'
mysqlxs: In function
`XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysqlxs:724: warning: implicit declaration of function
`is_prefix'
mysqlc: In function `XS_DBD__mysql__db_do':
mysqlxs:234: warning: `retval' might be used uninitialized in
this function
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysqlbs
rm -f blib/arch/auto/DBD/mysql/mysqlso
LD_RUN_PATH=3D"/usr/lib/mysql" /usr/bin/perl myld cc -shared
dbdimpo mysqlo -o blib/arch/auto/DBD/mysql/mysqlso
-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
/usr/lib/mysql/libmysqlclienta
(libmysqlo)(text__i686get_pc_thunkcx+0x0): In function
`mysql_get_parameters':
/usr/src/packages/BUILD/mysql-5145/libmysql/libmysql=2 Ec:231:
multiple definition of `__i686get_pc_thunkcx'
dbdimpo(gnulinkoncet__i686get_pc_thunkc x
+0x0):/home/marquardt/DBD-mysql-4013/dbdimpc:229: first defined
here
/usr/lib/mysql/libmysqlclienta
(libmysqlo)(text__i686get_pc_thunkbx+0x0): In function
`mysql_get_parameters':
/usr/src/packages/BUILD/mysql-5145/libmysql/libmysql=2 Ec:231:
multiple definition of `__i686get_pc_thunkbx'
dbdimpo(gnulinkoncet__i686get_pc_thunkb x
+0x0):/home/marquardt/DBD-mysql-4013/dbdimpc:229: first defined
here
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/mysql/mysqlso] Error 1
I don=B4t get it, what the problem now ist I think it will is
something with the mulitple definition?! Any Ideas?
Thanks
Florian=
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org