develooper Front page | perl.dbd.pg | Postings from July 2020

install DBD::Pg fails

Thread Next
From:
Shapiro, Michael
Date:
July 5, 2020 22:25
Subject:
install DBD::Pg fails
Message ID:
DM6PR11MB4218C78351012D69068FFF17F76D0@DM6PR11MB4218.namprd11.prod.outlook.com
I am running MacOS 10.15.5. I can't get DBD::Pg to install.  Can someone help me fix this?


I did

  sudo cpan

  install DBD::Pg





cpan[2]> install DBD::Pg

Reading '/Users/mshapiro/.cpan/Metadata'

  Database was generated on Fri, 10 Apr 2020 20:29:02 GMT

Running install for module 'DBD::Pg'

Running make for T/TU/TURNSTEP/DBD-Pg-3.10.5.tar.gz

Fetching with LWP:

http://cpan.mirrors.tds.net/authors/id/T/TU/TURNSTEP/DBD-Pg-3.10.5.tar.gz

Fetching with LWP:

http://cpan.mirrors.tds.net/authors/id/T/TU/TURNSTEP/CHECKSUMS

Checksum for /Users/mshapiro/.cpan/sources/authors/id/T/TU/TURNSTEP/DBD-Pg-3.10.5.tar.gz ok

Scanning cache /Users/mshapiro/.cpan/build for sizes

............................................................................DONE



  CPAN.pm: Building T/TU/TURNSTEP/DBD-Pg-3.10.5.tar.gz



Configuring DBD::Pg 3.10.5

PostgreSQL version: 90617 (default port: 5432)

POSTGRES_HOME: (not set)

POSTGRES_INCLUDE: /usr/local/Cellar/postgresql@9.6/9.6.17/include

POSTGRES_LIB: /usr/local/Cellar/postgresql@9.6/9.6.17/lib

OS: darwin

Checking if your kit is complete...

Looks good

Using DBI 1.631 (for perl 5.018004 on darwin-thread-multi-2level) installed in /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI/

Generating a Unix-style Makefile

Writing Makefile for DBD::Pg

Writing MYMETA.yml and MYMETA.json

cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm

cp Pg.pm blib/lib/DBD/Pg.pm

Running Mkbootstrap for Pg ()

chmod 644 "Pg.bs"

"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644

make: *** No rule to make target `/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/auto/DBI/Driver_xst.h', needed by `Pg.xsi'.  Stop.

  TURNSTEP/DBD-Pg-3.10.5.tar.gz

  /usr/bin/make -- NOT OK

Running make test

  Can't test without successful make

Running make install

  Make had returned bad status, install seems impossible

Failed during this command:

 TURNSTEP/DBD-Pg-3.10.5.tar.gz                : make NO



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About