Enrico Pirani
Enrico Pirani

Reputation: 1507

Pg perl module does not build on OSX

I am trying without success to build the Pg perl module. I set up the POSTGRES_LIB and POSTGRES_INCLUDE respectively to /opt/local/lib/postgresql93 and /opt/local/include/postgresql93. But when I run perl Makefile.pl I get this error

Configuring Pg
Remember to actually read the README file !
please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !

Upvotes: 0

Views: 127

Answers (1)

bessarabov
bessarabov

Reputation: 11871

I'm not sure that you should use this module. It was last updated 15 years ago (info from the Changes file) and it has open bugs. But the most important thing that is has no likes on metacpan — it means that very few people use it.

I thinks that DBD::Pg is a better choice. It was last updates 11 years ago and it also have open bugs but has a lot of likes on metacpan that means that it works well.

Upvotes: 2

Related Questions