dbTalk Databases Forums  

error by build of 2.9002: `MYSQL_OPT_LOCAL_INFILE' undeclared

mailing.database.msql-mysql-modules mailing.database.msql-mysql-modules


Discuss error by build of 2.9002: `MYSQL_OPT_LOCAL_INFILE' undeclared in the mailing.database.msql-mysql-modules forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Svetlin Stanchev
 
Posts: n/a

Default error by build of 2.9002: `MYSQL_OPT_LOCAL_INFILE' undeclared - 08-29-2003 , 08:50 AM






Could not find any pointers for that... guessing might be relate to
using local-infile somehow...


Anyway,
RedHat 8.0
mysqld Ver 4.0.14-standard for pc-linux on i686

Get this error both by building with CPAN as well as manually.

Below is the CPAN log.

Thanks for any hints,
--
Svetlin



Removing previously used /root/.cpan/build/DBD-mysql-2.9002

CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9002.tar.gz

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/usr/include/mysql'
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 ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Using DBI 1.38 installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
Writing Makefile for DBD::mysql
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c
-I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI
-I'/usr/include/mysql' -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2
-march=i386 -mcpu=i686 -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\"
-fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" dbdimp.c
dbdimp.c: In function `mysql_dr_connect':
dbdimp.c:963: `MYSQL_OPT_LOCAL_INFILE' undeclared (first use in this
function)
dbdimp.c:963: (Each undeclared identifier is reported only once
dbdimp.c:963: for each function it appears in.)
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=ms...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.