Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Installing DBD::Pg in Darwin

by john_oshea (Priest)
on Nov 15, 2009 at 23:51 UTC ( #807334=note: print w/replies, xml ) Need Help??

in reply to Installing DBD::Pg in Darwin

It sounds like you don't have a user/developer-oriented version of PostgreSQL installed - version 7.3.10 is getting on for four years old (which is positively ancient in the PostgreSQL world), and those paths you list seem to have something to do with Apple's Remote Desktop software (I don't have that installed so I can't confirm that), which is something you probably don't want to be altering.

You may find it easier to install your own copy of PostgreSQL (even if you never use it on your machine) as that'll install all the libraries/headers that DBD::Pg is after. I'm a MacPorts fan, so doing a sudo port install postgresql84 should get you everything installed in the appropriate places. My pg_config ends up in /opt/local/lib/postgresql83/bin/pg_config and the DBD::Pg install seems more than happy with that. Other alternatives: Fink and the PostgreSQL installer, though I've no idea if the latter will install pg_config and the like.

FWIW, pg_config should, I think, be a compiled binary, and not something that you can alter in a text editor - on my system, file says it's a Mach-O universal binary with 2 architectures file.

Apologies for the two-weeks-too-late response - I haven't been on PerlMonks in a while - hopefully your problem has been solved quite a while back, and, if not, hopefully the above will help a bit

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://807334]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2018-06-21 10:50 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.