Subject: | Apparent bug in 3.0007 |
Date: | Mon, 18 Sep 2006 18:05:20 -0700 |
To: | bug-DBD-mysql [...] rt.cpan.org |
From: | John Lubotsky <john [...] johnlubotsky.com> |
Dear Folks:
On FreeBSD 4.6.1, using Perl 5.8.8, make-ing DBD::mysql 3.0007 from
the source found at fails, as below. Note that 3.0006 works
beautifully. Let me know if other info is helpful.
Best,
John Lubotsky
wasabi# pwd
/usr/local/src/DBD-mysql-3.0007
wasabi# /usr/bin/perl5.8 Makefile.PL
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I'/usr/local/include/mysql'
embedded (guessed ) =
libs (mysql_config) = -L/usr/local/lib/mysql -lmysqlclient
-lz -lcrypt -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
Use of uninitialized value in printf at Makefile.PL line 172, <PIPE> line 79.
test_user ( ) =
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (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.52 (for perl 5.008008 on i386-freebsd) installed in
/usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd/auto/DBI/
Writing Makefile for DBD::mysql
wasabi# make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd/auto/DBI
-I'/usr/local/include/mysql' -DDBD_MYSQL_INSERT_ID_IS_GOOD -g
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include -O -DVERSION=\"3.0007\"
-DXS_VERSION=\"3.0007\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.8/i386-freebsd/CORE" dbdimp.c
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:2390: syntax error before `rows'
dbdimp.c:2467: `rows' undeclared (first use in this function)
dbdimp.c:2467: (Each undeclared identifier is reported only once
dbdimp.c:2467: for each function it appears in.)
*** Error code 1
Stop in /usr/local/src/DBD-mysql-3.0007.