I have tried to install DBD::Pg v2.0.0 into Strawberry Perl v5.10.0 under Windows XP without success. From the notes in the file "README.win32" it seems that everything is set up for Microsoft tools rather than MinGW. Unfortunately I do not have enough understanding of the installation process to work how it should be done with the utilities provided by Strawberry Perl (dmake, gcc etc). I already have DBI v1.602 installed. The output from the CPAN client provided in my Strawberry Perl installation is as follows:
CPAN: File::HomeDir loaded ok (v0.67) cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled cpan> install DBD::Pg Database was generated on Wed, 13 Feb 2008 02:38:34 GMT Running install for module 'DBD::Pg' Running make for T/TU/TURNSTEP/DBD-Pg-2.0.0.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\T\TU\TURNSTEP\DBD-Pg-2.0.0.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................ DONE CPAN.pm: Going to build T/TU/TURNSTEP/DBD-Pg-2.0.0.tar.gz Configuring DBD::Pg 2.0.0 PostgreSQL version: 80300 (default port: 5432) POSTGRES_HOME: C:\Program Files\PostgreSQL\8.3 POSTGRES_INCLUDE: C:\Program Files\PostgreSQL\8.3\include POSTGRES_LIB: C:\Program Files\PostgreSQL\8.3\lib OS: MSWin32 Use of uninitialized value in foreach loop entry at Makefile.PL line 108. Checking if your kit is complete... Looks good Undefined subroutine &DBI::DBD::dbd_postamble called at Makefile.PL line 173. # Looks like your test died before it could output anything. Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\include] TURNSTEP/DBD-Pg-2.0.0.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\include -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: TURNSTEP/DBD-Pg-2.0.0.tar.gz : writemakefile NO 'C:\strawberry\perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\include' returned status 65280 Any help would be much appreciated. Thanks Maurice
