Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300 - Mailing list pgsql-general

From Tom Lane
Subject Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300
Date
Msg-id 11113.1225283067@sss.pgh.pa.us
Whole thread Raw
In response to Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300  (Brent Austin <brent1a@yahoo.com>)
List pgsql-general
Brent Austin <brent1a@yahoo.com> writes:
> Configure still fails....I've tried everything I can figure----
> Last login: Wed Oct 29 02:58:10 on ttys000
> client-6X-1XX-17-XX4:~ brent1a$ cd /psqlodbc-08.03.0300
> client-6X-1XX-17-XX4:psqlodbc-08.03.0300 brent1a$ sudo ./configure
> Password:
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for pg_config... no
> configure: error: pg_config not found (set PG_CONFIG environment variable)
> client-6X-1XX-17-XX4:psqlodbc-08.03.0300 brent1a$ /usr/local/pgsql/bin/pg_config

Putting /usr/local/pgsql/bin in your PATH would probably do it.
Or you could take the script's advice and set PG_CONFIG.

Just as an aside, I wouldn't recommend building packages as root.
You might need to do the install step that way, if you are installing
into a location that only root can write to; but not configure or
build.

            regards, tom lane

pgsql-general by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: psql screen size
Next
From: Abdul Rahman
Date:
Subject: Re: Replication with slony-I