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

From Brent Austin
Subject Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300
Date
Msg-id 409897.42663.qm@web65410.mail.ac4.yahoo.com
Whole thread Raw
In response to [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300  (Brent Austin <brent1a@yahoo.com>)
Responses Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I could swear that is what I did......or is it not? That is why I sent a copy/paste of that mess from my terminal:
it showed that I do have PG_CONFIG installed  and it showed I did set my path.
That is why I am asking help because configure is saying I did neither when it plainly shows I did (to the best of my knowledge).

client-6X-1XX-17-XX4:psqlodbc-08.03.0300 brent1a$ /usr/local/pgsql/bin/pg_config 
BINDIR = /usr/local/pgsql/bin
DOCDIR = /usr/local/pgsql/doc
INCLUDEDIR = /usr/local/pgsql/include
PKGINCLUDEDIR = /usr/local/pgsql/include
INCLUDEDIR-SERVER = /usr/local/pgsql/include/server
LIBDIR = /usr/local/pgsql/lib
PKGLIBDIR = /usr/local/pgsql/lib
LOCALEDIR = 
MANDIR = /usr/local/pgsql/man
SHAREDIR = /usr/local/pgsql/share
SYSCONFDIR = /usr/local/pgsql/etc
PGXS = /usr/local/pgsql/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = 
CC = gcc -no-cpp-precomp
CPPFLAGS = 
CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
CFLAGS_SL = 
LDFLAGS = 
LDFLAGS_SL = 
LIBS = -lpgport -lz -lreadline -lm 
VERSION = PostgreSQL 8.3.4
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$ export PG_CONFIG=/usr/local/pgsql/bin/pg_config
client-6X-1XX-17-XX4:psqlodbc-08.03.0300 brent1a$ sudo ./configure
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)

From: Albe Laurenz <laurenz.albe@wien.gv.at>
To: Brent Austin *EXTERN* <brent1a@yahoo.com>; Grzegorz Jaśkiewicz <gryzman@gmail.com>
Cc: pgsql-general@postgresql.org
Sent: Wednesday, October 29, 2008 7:14:37 AM
Subject: Re: [GENERAL] [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300

Brent Austin wrote:

> Configure still fails....I've tried everything I can figure----

[...]

> configure: error: pg_config not found (set PG_CONFIG environment variable)

It's quite simple:

- Find out where pg_config is.
- If you don't have it, install the appropriate package.
- Make sure it's in your PATH or set PG_CONFIG.

Laurenz Albe

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: Decreasing WAL size effects
Next
From: "Philip W. Dalrymple"
Date:
Subject: How can I tell, in a trigger, if a value in a string is an integer.