Can"t run make with DBD::mysql version DBD-mysql-4.011

Can"t run make with DBD::mysql version DBD-mysql-4.011

am 19.05.2009 20:35:38 von Mayuran

I get this error:

gcc -c -I/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/aut o/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -DUNIV_LINUX -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"4.011\" -DXS_VERSION=\"4.011\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" dbdimp.c

cc1: error: unrecognized command line option "-fstack-protector"

cc1: error: invalid parameter `ssp-buffer-size'

make: *** [dbdimp.o] Error 1


Does anyone know how I can get around this?

thanks

--
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: Can"t run make with DBD::mysql version DBD-mysql-4.011

am 22.05.2009 23:02:56 von Mayuran

Ah I see now it depends on what version of mysql-devel you have installed.
Using mysql-devel 5.0 works fine.

Are there any issues with using mysql-devel 5.0 to write applications that
connect to a mysql 5.1 server?

thanks

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