I am having a very difficult time installing the dbd-pg driver for postgresql. I am using windows home, strawberry perl 5.10 (also tried it with 5.8), postgresql 8.3. via cpan I get the error message below: ________________________________________________________ cpan> install DBD::Pg Running install for module 'DBD::Pg' Running make for T/TU/TURNSTEP/DBD-Pg-2.2.2.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\T\TU\TURNSTEP\DBD-Pg-2.2.2.ta r.gz ok CPAN.pm: Going to build T/TU/TURNSTEP/DBD-Pg-2.2.2.tar.gz Configuring DBD::Pg 2.2.2 PostgreSQL version: 80300 (default port: 5432) POSTGRES_HOME: (not set) POSTGRES_INCLUDE: (not set) POSTGRES_LIB: (not set) OS: MSWin32 Use of uninitialized value in foreach loop entry at Makefile.PL line 123. Checking if your kit is complete... Looks good Can't locate object method "dbd_postamble" via package "DBI::DBD" at Makefile.PL line 188. Warning: No success on commandC:\strawberry\perl\bin\perl.exe Makefile.PL LIBS= -LC:\strawberry\c\lib INC=-IC:\strawberry\c\include TURNSTEP/DBD-Pg-2.2.2.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.2.2.tar.gz : writemakefile NO 'C:\strawberry\ perl\bin\perl.exe Makefile.PL LIBS=-LC:\strawberry\c\lib INC=-IC:\strawberry\c\i nclude' returned status 512 ________________________________________________________

In reply to problem installing dbd-pg in windows by gutiersa

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.