On Thu, Aug 11, 2005 at 08:23:59AM -0700, Jonathan Leffler wrote: > >From Changes file: > > Changes in DBI 1.33, 27th February 2003 > > NOTE: Future versions of the DBI *will not* support perl 5.6.0 or earlier. > : Perl 5.6.1 will be the minimum supported version. > > I note that Makefile.PL does not enforce this (only 5.6.0). > > There is also a now outdated comment in Makefile.PL, Tim, about Darwin users > being stuck on 5.6.0. As of Tiger 10.4, that is no longer the case; > /usr/bin/perl -v says 5.8.6 (though I use my own 5.8.7 version).
Fixed. Thanks. > The problem with cmd_head3 is likely because older versions of Perl (the POD > part) only supported =head1 and =head2, but the doc uses =head3 marks. Can anyone tell me if that's fixable by upgrading the relevant pod modules from CPAN, and if so what modules? Tim. > On 8/10/05, Fredrick Quasimoto <[EMAIL PROTECTED]> wrote: > > > I am having trouble building DBI.pm version 1.48 a > > Redhat Linux system. In the "make" I get a bunch of > > warnings of variables not being used (innocous > > enough), but then get the following error: > > > > Can't locate object method "cmd_head3" via package > > "Pod::Man" at /usr/local/perl/lib/5.6.0/Pod/Man.pm > > line 463, <GEN0> line 174. > > Couldn't install blib/man3/DBI::DBD.3 > > > > This just looks like a man page problem, right? No > > biggy? > > > > Then I get the same error in both the "make test" and > > make test TEST_VERBOSE=1" steps (see below). > > > > Any help is most appreciated. > > > > -- > > Fred > > > > $ cat make.out > > /bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 -MExtUtils::Command -e > > mkpath blib/lib/DBI > > mkdir blib > > mkdir blib/lib > > mkdir blib/lib/DBI > > rm -f blib/lib/DBI/Changes.pm > > cp Changes blib/lib/DBI/Changes.pm > > /bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 -MExtUtils::Command -e > > mkpath blib/lib/DBI > > rm -f blib/lib/DBI/Roadmap.pm > > cp Roadmap.pod blib/lib/DBI/Roadmap.pm > > /bin/sh -c true > > mkdir blib/arch > > mkdir blib/arch/auto > > mkdir blib/arch/auto/DBI > > mkdir blib/lib/auto > > mkdir blib/lib/auto/DBI > > mkdir blib/man1 > > mkdir blib/man3 > > cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h > > cp lib/DBI/ProfileDumper.pm > > blib/lib/DBI/ProfileDumper.pm > > cp Roadmap.pod blib/lib/Roadmap.pod > > cp DBIXS.h blib/arch/auto/DBI/DBIXS.h > > cp lib/DBI/DBD/Metadata.pm > > blib/lib/DBI/DBD/Metadata.pm > > cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm > > cp dbipport.h blib/arch/auto/DBI/dbipport.h > > cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h > > cp lib/DBI/Const/GetInfoReturn.pm > > blib/lib/DBI/Const/GetInfoReturn.pm > > cp lib/DBI/Const/GetInfo/ANSI.pm > > blib/lib/DBI/Const/GetInfo/ANSI.pm > > cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm > > cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm > > cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm > > cp lib/DBD/File.pm blib/lib/DBD/File.pm > > cp DBI.pm blib/lib/DBI.pm > > cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm > > cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm > > cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm > > cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm > > cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm > > cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm > > cp dbivport.h blib/arch/auto/DBI/dbivport.h > > cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm > > cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm > > cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm > > cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm > > cp lib/DBI/Const/GetInfoType.pm > > blib/lib/DBI/Const/GetInfoType.pm > > cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h > > cp lib/DBI/ProfileDumper/Apache.pm > > blib/lib/DBI/ProfileDumper/Apache.pm > > cp Driver.xst blib/arch/auto/DBI/Driver.xst > > cp lib/DBI/Const/GetInfo/ODBC.pm > > blib/lib/DBI/Const/GetInfo/ODBC.pm > > cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm > > /bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > > > Perl.xsi > > /bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 > > /usr/local/perl/lib/5.6.0/ExtUtils/xsubpp -typemap > > /usr/local/perl/lib/5.6.0/ExtUtils/typemap -typemap > > typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c > > gcc -c -fno-strict-aliasing -I/usr/local/include -O2 > > -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fpic > > -I/usr/local/perl/lib/5.6.0/i686-linux/CORE -Wall > > -Wno-comment -DDBI_NO_THREADS Perl.c > > In file included from Perl.c:59: > > Driver_xst.h: In function `dbixst_bounce_method': > > Driver_xst.h:15: warning: unused variable > > `Perl___notused' > > Perl.c: In function `XS_DBD__Perl__dr_discon_all_': > > Perl.c:65: warning: unused variable `Perl___notused' > > Perl.c: In function `XS_DBD__Perl__dr_data_sources': > > Perl.c:86: warning: unused variable `Perl___notused' > > Perl.c: In function `XS_DBD__Perl__db__login': > > Perl.c:121: warning: unused variable `Perl___notused' > > Perl.c: In function > > `XS_DBD__Perl__db_selectall_arrayref': > > Perl.c:155: warning: unused variable `Perl___notused' > > Perl.c: In function > > `XS_DBD__Perl__db_selectrow_arrayref': > > > [...] > > > DBI.c:4527: warning: unused variable `Perl___notused' > > DBI.c: At top level: > > dbipport.h:529: warning: `my_sv_2pvbyte' defined but > > not used > > Running Mkbootstrap for DBI () > > chmod 644 DBI.bs > > LD_RUN_PATH="" gcc -o blib/arch/auto/DBI/DBI.so > > -shared -L/usr/local/lib DBI.o > > chmod 755 blib/arch/auto/DBI/DBI.so > > cp DBI.bs blib/arch/auto/DBI/DBI.bs > > chmod 644 blib/arch/auto/DBI/DBI.bs > > /bin/perl -Iblib/arch -Iblib/lib > > -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 dbiproxy.PL dbiproxy > > Extracted dbiproxy from dbiproxy.PL with variable > > substitutions. > > mkdir blib/script > > cp dbiproxy blib/script/dbiproxy > > /bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 -MExtUtils::MakeMaker -e > > "MY->fixin(shift)" blib/script/dbiproxy > > /bin/perl -Iblib/arch -Iblib/lib > > -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 dbiprof.PL dbiprof > > Extracted dbiprof from dbiprof.PL with variable > > substitutions. > > cp dbiprof blib/script/dbiprof > > /bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux > > -I/usr/local/perl/lib/5.6.0 -MExtUtils::MakeMaker -e > > "MY->fixin(shift)" blib/script/dbiprof > > Manifying blib/man3/Roadmap.3 > > Manifying blib/man3/DBI::ProfileDumper.3 > > Manifying blib/man3/DBI::DBD::Metadata.3 > > Manifying blib/man3/DBI::Const::GetInfoReturn.3 > > Manifying blib/man3/DBI::Const::GetInfo::ANSI.3 > > Manifying blib/man1/dbiprof.1 > > Manifying blib/man3/DBI::Profile.3 > > Manifying blib/man3/DBI::PurePerl.3 > > Manifying blib/man3/DBI::SQL::Nano.3 > > Manifying blib/man3/DBD::File.3 > > Manifying blib/man3/DBI::FAQ.3 > > Manifying blib/man3/DBI.3 > > Manifying blib/man3/DBD::DBM.3 > > Manifying blib/man3/Bundle::DBI.3 > > Manifying blib/man3/Win32::DBIODBC.3 > > Manifying blib/man1/dbiproxy.1 > > Manifying blib/man3/DBI::W32ODBC.3 > > Manifying blib/man3/DBI::DBD.3 > > Can't locate object method "cmd_head3" via package > > "Pod::Man" at /usr/local/perl/lib/5.6.0/Pod/Man.pm > > line 463, <GEN0> line 174. > > Couldn't install blib/man3/DBI::DBD.3 > > Manifying blib/man3/DBI::ProfileData.3 > > Manifying blib/man3/DBI::Const::GetInfoType.3 > > Manifying blib/man3/DBI::ProxyServer.3 > > Manifying blib/man3/DBD::Proxy.3 > > Manifying blib/man3/DBI::ProfileDumper::Apache.3 > > Manifying blib/man3/DBI::Const::GetInfo::ODBC.3 > > Manifying blib/man3/DBD::Sponge.3 > > > [...] > > > And finally, here's the perl version info: > > > > $ perl -V > > Summary of my perl5 (revision 5.0 version 6 subversion > > 0) configuration: > > Platform: > > osname=linux, osvers=2.2.16-3, archname=i686-linux > > uname='linux aldan.sphera.com <http://aldan.sphera.com> 2.2.16-3 #4 tue > > jul > > 18 16:55:03 idt 2000 i686 unknown ' > > config_args='-Ubincompat5005 -Dcc=gcc > > -Dprefix=/usr/local/perl -Uuselargefiles -des' > > hint=recommended, useposix=true, > > d_sigaction=define > > usethreads=undef use5005threads=undef > > useithreads=undef usemultiplicity=undef > > useperlio=undef d_sfio=undef uselargefiles=undef > > use64bitint=undef use64bitall=undef > > uselongdouble=undef usesocks=undef > > Compiler: > > cc='gcc', optimize='-O2', gccversion=2.95.2 > > 19991024 (release) > > cppflags='-fno-strict-aliasing > > -I/usr/local/include' > > ccflags ='-fno-strict-aliasing > > -I/usr/local/include' > > stdchar='char', d_stdstdio=define, usevfork=false > > intsize=4, longsize=4, ptrsize=4, doublesize=8 > > d_longlong=define, longlongsize=8, > > d_longdbl=define, longdblsize=12 > > ivtype='long', ivsize=4, nvtype='double', > > nvsize=8, Off_t='off_t', lseeksize=4 > > alignbytes=4, usemymalloc=n, prototype=define > > Linker and Libraries: > > ld='gcc', ldflags =' -L/usr/local/lib' > > libpth=/usr/local/lib /lib /usr/lib > > libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix > > -lcrypt > > libc=/lib/libc-2.1.3.so <http://2.1.3.so>, so=so, useshrplib=false, > > libperl=libperl.a > > Dynamic Linking: > > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, > > ccdlflags='-rdynamic' > > cccdlflags='-fpic', lddlflags='-shared > > -L/usr/local/lib' > > > > > > Characteristics of this binary (from libperl): > > Compile-time options: > > Built under linux > > Compiled at Aug 16 2000 17:17:57 > > @INC: > > /usr/local/perl/lib/5.6.0/i686-linux > > /usr/local/perl/lib/5.6.0 > > /usr/local/perl/lib/site_perl/5.6.0/i686-linux > > /usr/local/perl/lib/site_perl/5.6.0 > > /usr/local/perl/lib/site_perl > > . > > > > > > -- > Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> > Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org > "I don't suffer from insanity - I enjoy every minute of it."
