Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: problem installing DBD::Pg

by 1nickt (Canon)
on Jan 20, 2020 at 21:46 UTC ( [id://11111654]=note: print w/replies, xml ) Need Help??


in reply to problem installing DBD::Pg

Hi, just a complete and not totally serious stab in the dark: at the moment I read your question I noticed that a new version of DBD::Pg was released (seen in this site's CPAN nodelet) ... worth a look, maybe your question ascended out of the Monastery and to the heavens already?


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: problem installing DBD::Pg
by expo1967 (Sexton) on Jan 21, 2020 at 16:03 UTC
    I downloaded and unpacked the file from your link for DBD-Pg-3.10.3 and followed the instructions in the README file. The "perl Makefile.PL" command was successfull. The make command failed with the following output
    C:\Users\barry\Downloads\DBD-Pg-3.10.3>perl Makefile.PL Configuring DBD::Pg 3.10.3 PostgreSQL version: 120001 (default port: 5432) POSTGRES_HOME: (not set) POSTGRES_INCLUDE: C:/PROGRA~1/POSTGR~1/12/include POSTGRES_LIB: C:/PROGRA~1/POSTGR~1/12/lib OS: MSWin32 Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lm Using DBI 1.623 (for perl 5.016003 on MSWin32-x64-multi-thread) instal +led in C:/Perl64/lib/auto/DBI/ Writing Makefile for DBD::Pg Writing MYMETA.yml and MYMETA.json C:\Users\barry\Downloads\DBD-Pg-3.10.3>make make: *** No rule to make target `C:\Perl64\libConfig.pm', needed by ` +makefile'. Stop. C:\Users\barry\Downloads\DBD-Pg-3.10.3>
      You probably need to run 'nmake' instead of 'make'. And you shouldn't need to modify the generated Makefile.
      Run perl -V:make to find out what flavour of make you need to execute.

      Cheers,
      Rob

      I'm not familiar with the details of makefiles, but in your original example you were using nmake, while in this version you are using make. Are these the same?

      I've also seen the issue with paths like C:\Perl64\libConfig.pm before, but forget the specifics. It was something to do with running gmake/dmake via the cmd window, possibly with msys folders in %PATH%.

      C:\Perl64\libConfig.pm
      missing a slash after 'lib' ?


      The way forward always starts with a minimal test.
        I looked at the Makefile and I made what I thought should correct the issue. I then reran make and received the following error:
        C:\Users\barry\Downloads\DBD-Pg-3.10.3>make process_begin: CreateProcess((null), rem, ...) failed. make (e=2): The system cannot find the file specified. make: *** [blibdirs] Error 2

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111654]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-03-28 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found