Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: problem installing DBD::Pg

by expo1967 (Sexton)
on Jan 21, 2020 at 16:03 UTC ( [id://11111695]=note: print w/replies, xml ) Need Help??


in reply to Re: problem installing DBD::Pg
in thread problem installing DBD::Pg

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>

Replies are listed 'Best First'.
Re^3: problem installing DBD::Pg
by syphilis (Archbishop) on Jan 22, 2020 at 05:04 UTC
    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
Re^3: problem installing DBD::Pg
by swl (Parson) on Jan 22, 2020 at 00:06 UTC

    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%.

Re^3: problem installing DBD::Pg
by 1nickt (Canon) on Jan 21, 2020 at 17:18 UTC

    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://11111695]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-23 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found