Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Austin <brent1a(at)yahoo(dot)com>
Cc: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300
Date: 2008-10-29 12:24:27
Message-ID: 11113.1225283067@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brent Austin <brent1a(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Abdul Rahman 2008-10-29 12:55:08 Re: Replication with slony-I
Previous Message Merlin Moncure 2008-10-29 12:18:54 Re: psql screen size