Why is DBD broken?
Dan Bolser <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Sorry, but I never had a problem like this ever before with perl... mysql.xs: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info': mysql.xs:359: `net_buffer_length' undeclared (first use in this function) mysql.xs:359: (Each undeclared identifier is reported only once mysql.xs:359: for each function it appears in.) make: *** [mysql.o] Error 1 I am RH9 on a 2.4.20-31.9 i686 athlon i386 GNU/Linux I did slocate libmysqlclient.so /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/libmysqlclient.so.14.0.0 /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/libmysqlclient.so.14 /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/libmysqlclient.so then cp \ /usr/src/redhat/SOURCES/mysql-4.1.2-alpha/libmysql/.libs/libmysqlclient.so \ /usr/lib/mysql mysql_config --libs -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm perl Makefile.PL I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql -g -pipe -march=i386 -mcpu=i686 libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testuser (default ) = make gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -march=i386 -mcpu=i686 -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.9004\" -DXS_VERSION=\"2.9004\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c gcc -c -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI -I/usr/include/mysql -g -pipe -march=i386 -mcpu=i686 -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.9004\" -DXS_VERSION=\"2.9004\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" mysql.c mysql.xs: In function `XS_DBD__mysql__GetInfo_dbd_mysql_get_info': mysql.xs:359: `net_buffer_length' undeclared (first use in this function) mysql.xs:359: (Each undeclared identifier is reported only once mysql.xs:359: for each function it appears in.) make: *** [mysql.o] Error 1 I am sick up to my teeth of this problem (sorry). Any kind suggestions would be graciously received. All the best, Dan. -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]