in reply to installing win32
Strange. I just pulled DBI-1.51 from cpan and it built and tested clean first time using AS811/nmake v7.00.9466/Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466.
Perhaps you can compare the steps you followed to the log of my build below and see where things went wrong?
C:\Perl\packages>gunzip DBI-1.51.tar.gz C:\Perl\packages>tar -xvf DBI-1.51.tar DBI-1.51/ DBI-1.51/Changes DBI-1.51/dbd_xsh.h DBI-1.51/DBI.pm DBI-1.51/DBI.xs DBI-1.51/dbi_sql.h DBI-1.51/dbipport.h DBI-1.51/dbiprof.PL DBI-1.51/dbiproxy.PL DBI-1.51/dbivport.h DBI-1.51/DBIXS.h DBI-1.51/Driver.xst DBI-1.51/Driver_xst.h DBI-1.51/ex/ DBI-1.51/ex/perl_dbi_nulls_test.pl DBI-1.51/lib/ DBI-1.51/lib/Bundle/ DBI-1.51/lib/Bundle/DBI.pm DBI-1.51/lib/DBD/ DBI-1.51/lib/DBD/DBM.pm DBI-1.51/lib/DBD/ExampleP.pm DBI-1.51/lib/DBD/File.pm DBI-1.51/lib/DBD/NullP.pm DBI-1.51/lib/DBD/Proxy.pm DBI-1.51/lib/DBD/Sponge.pm DBI-1.51/lib/DBI/ DBI-1.51/lib/DBI/Const/ DBI-1.51/lib/DBI/Const/GetInfo/ DBI-1.51/lib/DBI/Const/GetInfo/ANSI.pm DBI-1.51/lib/DBI/Const/GetInfo/ODBC.pm DBI-1.51/lib/DBI/Const/GetInfoReturn.pm DBI-1.51/lib/DBI/Const/GetInfoType.pm DBI-1.51/lib/DBI/DBD/ DBI-1.51/lib/DBI/DBD/Metadata.pm DBI-1.51/lib/DBI/DBD.pm DBI-1.51/lib/DBI/FAQ.pm DBI-1.51/lib/DBI/Profile.pm DBI-1.51/lib/DBI/ProfileData.pm DBI-1.51/lib/DBI/ProfileDumper/ DBI-1.51/lib/DBI/ProfileDumper/Apache.pm DBI-1.51/lib/DBI/ProfileDumper.pm DBI-1.51/lib/DBI/ProxyServer.pm DBI-1.51/lib/DBI/PurePerl.pm DBI-1.51/lib/DBI/SQL/ DBI-1.51/lib/DBI/SQL/Nano.pm DBI-1.51/lib/DBI/W32ODBC.pm DBI-1.51/lib/Win32/ DBI-1.51/lib/Win32/DBIODBC.pm DBI-1.51/Makefile.PL DBI-1.51/MANIFEST DBI-1.51/META.yml DBI-1.51/Perl.xs DBI-1.51/README DBI-1.51/Roadmap.pod DBI-1.51/t/ DBI-1.51/t/01basics.t DBI-1.51/t/02dbidrv.t DBI-1.51/t/03handle.t DBI-1.51/t/04mods.t DBI-1.51/t/05thrclone.t DBI-1.51/t/06attrs.t DBI-1.51/t/07kids.t DBI-1.51/t/08keeperr.t DBI-1.51/t/09trace.t DBI-1.51/t/10examp.t DBI-1.51/t/11fetch.t DBI-1.51/t/14utf8.t DBI-1.51/t/15array.t DBI-1.51/t/20meta.t DBI-1.51/t/30subclass.t DBI-1.51/t/40profile.t DBI-1.51/t/41prof_dump.t DBI-1.51/t/42prof_data.t DBI-1.51/t/43profenv.t DBI-1.51/t/50dbm.t DBI-1.51/t/60preparse.t DBI-1.51/t/70callbacks.t DBI-1.51/t/72childhandles.t DBI-1.51/t/80proxy.t DBI-1.51/t/pod.t DBI-1.51/test.pl DBI-1.51/ToDo DBI-1.51/typemap C:\Perl\packages>cd DBI-1.51 C:\Perl\packages\DBI-1.51>makefile *** 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::PlCli +ent, Storable and Net::Daemon modules. The CPAN Bundle::DBI may help yo +u. 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 threa +ds) 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_11fetch.t Creating DBI::PurePerl test variant: t/zvpp_14utf8.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_43profenv.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_70callbacks.t Creating DBI::PurePerl test variant: t/zvpp_72childhandles.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.008006 on MSWin32-x86-multi-thread, 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 workin +g directory before unpacking and building any DBD::* drivers. Windows users need to use the correct make command. That may be nmake or dmake depending on which Perl you are using. If using the Win32 ActiveState build then it is recommended that y +ou use the ppm utility to fetch and install a prebuilt DBI instead. Writing Makefile for DBI C:\Perl\packages\DBI-1.51>nmake Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command" -e mkpath blib\lib\ +DBI C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f blib\lib\DBI\ +Changes.pm C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Changes blib\li +b\DBI\Changes.pm C:\Perl\bin\perl.exe "-MExtUtils::Command" -e mkpath blib\lib\ +DBI C:\Perl\bin\perl.exe -MExtUtils::Command -e rm_f blib\lib\DBI\ +Roadmap.pm C:\Perl\bin\perl.exe -MExtUtils::Command -e cp Roadmap.pod bli +b\lib\DBI\Roadmap.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 Roadmap.pod blib\lib\Roadmap.pod 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.p +m 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 dbi_sql.h blib\arch\auto\DBI\dbi_sql.h cp lib/DBI/PurePerl.pm blib\lib\DBI\PurePerl.pm cp lib/DBD/ExampleP.pm blib\lib\DBD\ExampleP.pm cp lib/DBI/ProfileData.pm blib\lib\DBI\ProfileData.pm C:\Perl\bin\perl.exe -p -e "s/~DRIVER~/Perl/g" .\Driver.xst > +Perl.xsi C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\ +Perl\lib\ExtUtils\typemap -type cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYP cl : Command line warning D4029 : optimization is not available in the + standard edition compiler Perl.c C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\ +Perl\lib\ExtUtils\typemap -type cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYP cl : Command line warning D4029 : optimization is not available in the + standard edition compiler DBI.c Running Mkbootstrap for DBI () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DBI.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('N +AME'=>\"DBI\", 'DLBASE' => 'DBI link -out:blib\arch\auto\DBI\DBI.dll -dll -nologo -nodefaultli +b -debug -opt:ref,icf -libpath Creating library blib\arch\auto\DBI\DBI.lib and object blib\arch\au +to\DBI\DBI.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arc +h\auto\DBI\DBI.dll C:\Perl\bin\perl.exe -MExtUtils::Command -e cp DBI.bs blib\arc +h\auto\DBI\DBI.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arc +h\auto\DBI\DBI.bs C:\Perl\bin\perl.exe "-Iblib\arch" "-Iblib\lib" dbiprof.PL dbi +prof Extracted dbiprof from dbiprof.PL with variable substitutions. C:\Perl\bin\perl.exe -MExtUtils::Command -e cp dbiprof blib\sc +ript\dbiprof pl2bat.bat blib\script\dbiprof C:\Perl\bin\perl.exe "-Iblib\arch" "-Iblib\lib" dbiproxy.PL db +iproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. C:\Perl\bin\perl.exe -MExtUtils::Command -e cp dbiproxy blib\s +cript\dbiproxy pl2bat.bat blib\script\dbiproxy C:\Perl\packages\DBI-1.51>nmake test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harn +ess(0, 'blib\lib', 'blib\arch') t\01basics...............ok 4/131 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................ok t\11fetch................ok t\14utf8.................ok t\15array................ok t\20meta.................ok t\30subclass.............ok t\40profile..............ok t\41prof_dump............ok t\42prof_data............ok t\43profenv..............ok t\50dbm..................ok t\60preparse.............ok t\70callbacks............ok t\72childhandles.........ok t\80proxy................skipped all skipped: modules required for proxy are probably not insta +lled (e.g., RPC/PlClient.pm) t\pod....................ok t\zvpp_01basics..........ok 4/131 skipped: developer tests t\zvpp_02dbidrv..........ok 10/51 skipped: various reasons t\zvpp_03handle..........ok 76/137 skipped: various reasons t\zvpp_04mods............ok t\zvpp_05thrclone........ok t\zvpp_06attrs...........ok 7/137 skipped: various reasons t\zvpp_07kids............skipped all skipped: $h->{Kids} attribute not supported for DBI::PureP +erl t\zvpp_08keeperr.........ok t\zvpp_09trace...........ok t\zvpp_10examp...........ok 39/263 skipped: various reasons t\zvpp_11fetch...........ok t\zvpp_14utf8............ok t\zvpp_15array...........ok t\zvpp_20meta............ok t\zvpp_30subclass........ok t\zvpp_40profile.........skipped all skipped: profiling not supported for DBI::PurePerl t\zvpp_41prof_dump.......skipped all skipped: profiling not supported for DBI::PurePerl t\zvpp_42prof_data.......skipped all skipped: profiling not supported for DBI::PurePerl t\zvpp_43profenv.........skipped all skipped: profiling not supported for DBI::PurePerl t\zvpp_50dbm.............ok t\zvpp_60preparse........skipped all skipped: preparse not supported for DBI::PurePerl t\zvpp_70callbacks.......skipped all skipped: $h->{Callbacks} attribute not supported for DBI:: +PurePerl t\zvpp_72childhandles....ok t\zvpp_80proxy...........skipped all skipped: modules required for proxy are probably not insta +lled (e.g., RPC/PlClient.pm) All tests successful, 9 tests and 140 subtests skipped. Files=49, Tests=2339, 19 wallclock secs ( 0.00 cusr + 0.00 csys = 0. +00 CPU) C:\Perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl test.pl DBI test application $Revision: 11.7 $ Switch: DBI 1.51 by Tim Bunce, 1.51 Available Drivers: DBM, ExampleP, File, Proxy, SQLite2, Sponge dbi:ExampleP:: testing 5 sets of 20 connections: Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Connecting... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Disconnecting... Made 100 connections in 0 wallclock secs ( 0.02 usr + 0.00 sys = 0. +02 CPU) Testing handle creation speed... 13927 NullP sth/s perl 5.008006 MSWin32-x86-multi-thread (cl -MD -Zi +-DNDEBUG -O1) test.pl done
|
|---|