Saturday, September 20, 2008

Re: [HACKERS] macport for libpqxx

Hi Dave,

Thanks for getting back to me. Please find attached a draft Portfile
for libpqxx-2.6.9 (the stable version). It's easy to read the
Portfile to see what is going on. I think it should work fine, but I
would appreciate any advice about any configure options that should be

I've got a problem within macports (not specific to pg or libpqxx).
MacPorts will not locate the file during the macport
build. I can't just modify the $PATH env because the macport build
ignores it. There is an internal variable called $binpath in
macports, but it's read-only. I can't figure out how to get the
macport configure process to find the right pg_config. Any help

Thanks, Darren

PS, If you want to try out this Portfile, take a look at the macports
guide (esp. sections 4,5):
Then follow the instructions to create your local repository here:
Then put this Portfile into databases/libpqxx within your repository.

On Sat, Sep 20, 2008 at 12:27 AM, Dave Page <> wrote:
> On Sat, Sep 20, 2008 at 7:30 AM, Darren Weber
> <> wrote:
>> I'm in the process of creating a macport for libpqxx. I could use
>> some help from anyone with experience in building postgresql or
>> libpqxx on OSX, esp. against the macport libraries.
> Never built libpqxx or a MacPort), but I'm used to building Postgres
> and other PG apps and the fu required to get universal binaries. What
> do you need?
> --
> Dave Page
> EnterpriseDB UK:

No comments: