in reply to Re^4: Installing DBD::Pg on Windows XP Pro 32b
in thread Installing DBD::Pg on Windows XP Pro 32b

path %path%;c:\progs\PostgreSQL\8.4\lib

Still didn't run because it can't find the ssl dll (according to the popup mesage box). Didn't bother looking for that file.

Replies are listed 'Best First'.
Re^6: Installing DBD::Pg on Windows XP Pro 32b
by deMize (Monk) on Sep 06, 2009 at 19:21 UTC
    Forgive me for being such an amateur, where do I type that?

    From a fresh Windows Command Prompt (after clearing the cpan directory), these are the steps I take:
    1) Run cmd from Start->Run 2) type "path %path%;C:\Program-Files\PostgreSQL\8.4\lib" (or whatever + your path is) and hit enter 3) type "cpan" and hit enter 4) type "install DBD::Pg" and hit enter (it'll fetch the files from CP +AN) 5) type "C:\Program-Files\PostgreSQL\8.4\bin\pg_config.exe" (wherever +the pg_config.exe is located) and it enter
    Still get the "No libpq libraries were detected!" message :(
      What popup do you get?
        I don't get any new window popup. This is all in the Windows command line. The output is the same as the above post:
        ... CPAN.pm: Going to build T/TU/TURNSTEP/DBD-Pg-2.15.1.tar.gz Set up gcc environment - 3.4.5 (mingw-vista special r3) Configuring DBD::Pg 2.15.1 Path to pg_config? C:\Program-Files\PostgreSQL\8.4\bin\pg_config.exe PostgreSQL version: 80400 (default port: 5432) POSTGRES_HOME: (not set) POSTGRES_INCLUDE: C:/PROGRA~2/POSTGR~1/8.4/include POSTGRES_LIB: C:/PROGRA~2/POSTGR~1/8.4/lib OS: MSWin32 Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpq Using DBI 1.607 (for perl 5.010001 on MSWin32-x86-multi-thread) instal +led in C:/Program-Files/Perl/lib/auto/DBI/ Writing Makefile for DBD::Pg ========================================================== WARNING! No libpq libraries were detected! You need to install the postgresql-libs package for your system, or set the POSTGRES_LIB environment variable to the correct place. Removing (Makefile) =========================================================== Warning: No success on command[C:\Program-Files\Perl\bin\perl.exe Make +file.PL INSTALLDIRS=site] TURNSTEP/DBD-Pg-2.15.1.tar.gz C:\Program-Files\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- N +OT 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.15.1.tar.gz : writemakefile NO 'C:\P +rogram-Files\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned + status 256
        well i added it to the path. You can modify environment variables for the command-line's session:
        path = %path%;c:\Program-Files\PostgreSQL\8.4\lib

        Unfortunately, this didn't work for me.
        I even set up a new directory: c:\Progs, which points to Program Files and same problem.