Paul Galbraith wrote:
I just downloaded DBI-1.43.tar.gz from cpan and am trying to install on windows xp / cygwin. Make goes fine, but 'make test' hangs on the tenth test. Tail of output with TEST_VERBOSE=1 below:
I should have included this before...here is my complete build session:
----------
[EMAIL PROTECTED] /cygdrive/c/DBI-1.43
$ make realclean
rm -f blib/script/dbiprof blib/script/dbiproxy
rm -rf Perl.c DBI.c DBI-1.43 Perl.xsi t/zv*_*.t dbiproxy dbiprof dbitrace.log dbi.prof ndtest.prt ./blib Makefile.aperl blib/arch/auto/DBI/extralibs.all blib/arch/auto/DBI/extralibs.ld perlmain.c tmon.out mon.out so_locations pm_to_blib *.o *.a perl.exe perl perl.exe DBI.bs DBI.bso DBI.def libDBI.def DBI.exp DBI.x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9]
mv Makefile Makefile.old > /dev/null 2>&1
rm -rf blib/lib/auto/DBI blib/arch/auto/DBI
rm -rf DBI-1.43
rm -f blib/arch/auto/DBI/DBI.dll blib/arch/auto/DBI/DBI.bs
rm -f blib/arch/auto/DBI/DBI.a
rm -f blib/lib/DBD/NullP.pm blib/lib/DBI.pm blib/lib/DBD/DBM.pm blib/lib/DBI/DBD.pm blib/lib/Win32/DBIODBC.pm blib/arch/auto/DBI/DBIXS.h blib/lib/DBI/Const/GetInfoReturn.pm
rm -f blib/lib/DBI/ProxyServer.pm blib/lib/DBD/Sponge.pm blib/arch/auto/DBI/dbipport.h blib/lib/DBI/FAQ.pm Makefile blib/lib/DBI/W32ODBC.pm blib/lib/DBD/ExampleP.pm
rm -f blib/arch/auto/DBI/Driver.xst blib/lib/DBI/ProfileDumper.pm blib/lib/DBI/SQL/Nano.pm blib/arch/auto/DBI/dbivport.h blib/lib/DBI/Const/GetInfoType.pm blib/lib/DBD/Proxy.pm
rm -f blib/lib/DBI/DBD/Metadata.pm blib/lib/DBI/Profile.pm Makefile.old blib/arch/auto/DBI/dbd_xsh.h blib/lib/DBI/ProfileDumper/Apache.pm blib/arch/auto/DBI/Driver_xst.h
rm -f blib/arch/auto/DBI/dbi_sql.h blib/lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/ProfileData.pm blib/lib/Bundle/DBI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBD/File.pm
rm -f blib/lib/DBI/PurePerl.pm
[EMAIL PROTECTED] /cygdrive/c/DBI-1.43 $ perl Makefile.PL
*** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not recommended for production environments.
*** Note: The optional PlRPC-modules (RPC::PlServer etc) are not installed. If you want to use the DBD::Proxy driver and DBI::ProxyServer modules, then you'll need to install the RPC::PlServer, RPC::PlClient, Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you. You can install them any time after installing the DBI. You do *not* need these modules for typical DBI usage.
Optional modules are available from any CPAN mirror, in particular http://search.cpan.org/ http://www.perl.com/CPAN/modules/by-module http://www.perl.org/CPAN/modules/by-module ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
Creating DBI::PurePerl test variant: t/zvpp_01basics.t Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t Creating DBI::PurePerl test variant: t/zvpp_03handle.t Creating DBI::PurePerl test variant: t/zvpp_04mods.t Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t (use threads) Creating DBI::PurePerl test variant: t/zvpp_06attrs.t Creating DBI::PurePerl test variant: t/zvpp_07kids.t Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t Creating DBI::PurePerl test variant: t/zvpp_09trace.t Creating DBI::PurePerl test variant: t/zvpp_10examp.t Creating DBI::PurePerl test variant: t/zvpp_15array.t Creating DBI::PurePerl test variant: t/zvpp_20meta.t Creating DBI::PurePerl test variant: t/zvpp_30subclass.t Creating DBI::PurePerl test variant: t/zvpp_40profile.t Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t Creating DBI::PurePerl test variant: t/zvpp_50dbm.t Creating DBI::PurePerl test variant: t/zvpp_60preparse.t Creating DBI::PurePerl test variant: t/zvpp_80proxy.t Checking if your kit is complete... Looks good
I see you're using perl 5.008005 on cygwin-thread-multi-64int, okay. Remember to actually *read* the README file! Use 'make' to build the software (dmake or nmake on Windows). Then 'make test' to execute self tests. Then 'make install' to install the DBI and then delete this working directory before unpacking and building any DBD::* drivers.
Writing Makefile for DBI
[EMAIL PROTECTED] /cygdrive/c/DBI-1.43
$ make
cp Changes blib/lib/DBI/Changes.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl.exe -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" "-I/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE" -Wall -Wno-comment Perl.c
/usr/bin/perl.exe /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" "-I/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE" -Wall -Wno-comment DBI.c
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.dll
LD_RUN_PATH="" ld2 -s -L/usr/local/lib DBI.o -o blib/arch/auto/DBI/DBI.dll /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/libperl.dll.a
gcc -shared -o DBI.dll -Wl,--out-implib=libDBI.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib DBI.o /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/libperl.dll.a
Creating library file: libDBI.dll.a
mv DBI.dll libDBI.dll.a blib/arch/auto/DBI/
chmod 755 blib/arch/auto/DBI/DBI.dll
cp DBI.bs blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
/usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof blib/script/dbiprof
/usr/bin/perl.exe "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof
/usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
cp dbiproxy blib/script/dbiproxy
/usr/bin/perl.exe "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy
[EMAIL PROTECTED] /cygdrive/c/DBI-1.43
$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics............ok
4/110 skipped: developer tests
t/02dbidrv............ok
t/03handle............ok
t/04mods..............ok
t/05thrclone..........ok
t/06attrs.............ok
t/07kids..............ok
t/08keeperr...........ok
t/09trace.............ok
t/10examp.............