Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 67657
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: darko.prelec [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 4.018
Fixed in: 4.017



Subject: compile error on perl-5.14.0-RC1
Download (untitled) / with headers
text/plain 4.9k
Compiling DBD::mysql 4.018 on perl-5.14.0-RC1 gives the following error: ====== perl Makefile.pl ====== #> /home/local/apps/perl-5.14.0-RC1/bin/perl Makefile.PL PLEASE NOTE: For 'make test' to run properly, you must ensure that the database user 'dprelec' can connect to your MySQL server and has the proper privileges that these tests require such as 'drop table', 'create table', 'drop procedure', 'create procedure' as well as others. Show quoted text
mysql> grant all privileges on test.* to 'dprelec'@'localhost'
identified by 's3kr1t'; You can also optionally set the user to run 'make test' with: perl Makefile.PL --testuser=username I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql -march=i486 -mtune=i686 embedded (mysql_config) = libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 1 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (guessed ) = dprelec To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 350, <PIPE> line 93. Checking if your kit is complete... Looks good Using DBI 1.616 (for perl 5.014000 on i686-linux) installed in /home/local/apps/perl-5.14.0-RC1/lib/site_perl/5.14.0/i686-linux/auto/DBI/ Writing Makefile for DBD::mysql Writing MYMETA.yml ====== make ====== #> 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/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cc -c -I/home/local/apps/perl-5.14.0-RC1/lib/site_perl/5.14.0/i686-linux/auto/DBI -I/usr/include/mysql -march=i486 -mtune=i686 -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" -fPIC "-I/home/local/apps/perl-5.14.0-RC1/lib/5.14.0/i686-linux/CORE" dbdimp.c dbdimp.c: In function 'mysql_db_FETCH_attrib': dbdimp.c:2447: error: 'sv_undef' undeclared (first use in this function) dbdimp.c:2447: error: (Each undeclared identifier is reported only once dbdimp.c:2447: error: for each function it appears in.) make: *** [dbdimp.o] Error 1 ====== versions ====== OS: Slackware 12.2 Mysql: mysql-5.0.51b-i486-1 perl -V #> /home/local/apps/perl-5.14.0-RC1/bin/perl -V Summary of my perl5 (revision 5 version 14 subversion 0) configuration: Platform: osname=linux, osvers=2.6.24.5, archname=i686-linux uname='linux challenger 2.6.24.5 #2 wed apr 30 14:13:52 cdt 2008 i686 intel(r) pentium(r) 4 cpu 3.00ghz genuineintel gnulinux ' config_args='-des -Dprefix=/home/local/apps/perl-5.14.0-RC1' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.7.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Locally applied patches: RC1 Built under linux Compiled at Apr 20 2011 16:30:24 %ENV: PERL5LIB=":/home/www/common/libs:/home/www/common/libs" @INC: /home/www/common/libs /home/www/common/libs /home/local/apps/perl-5.14.0-RC1/lib/site_perl/5.14.0/i686-linux /home/local/apps/perl-5.14.0-RC1/lib/site_perl/5.14.0 /home/local/apps/perl-5.14.0-RC1/lib/5.14.0/i686-linux /home/local/apps/perl-5.14.0-RC1/lib/5.14.0 .
From: darko.prelec [...] gmail.com
Download (untitled) / with headers
text/plain 113b
It seems this issue has been reported already at bug #60085. So, still unresolved on soon to be released perl.
Download (untitled) / with headers
text/plain 170b
Hi, I see this bug also. Used patch by ANDK at https://rt.cpan.org/Ticket/Display.html?id=60085#txn-847816 and it works fine. Please make a release with it :) Thanks
Thanks for the ticket, this was indeed fixed in RT 60085 which was released in 4.017.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.