Problems installing DBD::mysql

Problems installing DBD::mysql

am 08.04.2010 16:12:51 von Florian.Marquardt

Hello

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

Re: Problems installing DBD::mysql

am 11.04.2010 13:20:37 von rosenfield.albert

Have you found a solution yet?

A workaround might be to install DBD::Wire10 and use that until you
fix the problem. It's a PurePerl driver, no compilation necessary.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Re: Problems installing DBD::mysql

am 12.04.2010 09:45:34 von Florian.Marquardt

Hi

No i haven=B4t fixed it yet My Problem is, that Bugzilla requires
DBD:mysql The tip with DBD::Wire10 does not help, but thanks for
your answer

Thanks

Florian



rosenfieldal
bert@gmailco
m An
FlorianMarquardt@dachserc
11042010 om
13:20 Kopie
perl@listsmysqlcom
Thema
Re: Problems installing
DBD::mysql










Have you found a solution yet?

A workaround might be to install DBD::Wire10 and use that until
you
fix the problem It's a PurePerl driver, no compilation
necessary

=




--
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

Re: Re: Problems installing DBD::mysql

am 13.04.2010 09:37:19 von rosenfield.albert

Could probably easily be made to work, after all both are hooks into
the same database.
Alas if you're not doing development on Bugzilla then it probably
doesn't make sense to spend time doing the adaptation.

If you're using boilerplate Bugzilla, why not use a prepackaged DBD-MySQL?

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Antwort: Re: Re: Problems installing DBD::mysql

am 13.04.2010 12:33:06 von Florian.Marquardt

Hi Albert.

Thanks for the tipp i will try to find and install a prepacked
version.
I reply if it works (or not)
Thanks!

Florian



rosenfield.al
bert@gmail.co
m An
Florian.Marquardt@dachser.c
13.04.2010 om
09:37 Kopie
perl@lists.mysql.com
Thema
Re: Re: Problems installing
DBD::mysql










Could probably easily be made to work, after all both are hooks
into
the same database.
Alas if you're not doing development on Bugzilla then it probably
doesn't make sense to spend time doing the adaptation.

If you're using boilerplate Bugzilla, why not use a prepackaged
DBD-MySQL?





--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org