From: | Brent Austin <brent1a(at)yahoo(dot)com> |
---|---|
To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300 |
Date: | 2008-10-29 14:11:32 |
Message-ID: | 409897.42663.qm@web65410.mail.ac4.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)albe(at)wien(dot)gv(dot)at>
To: Brent Austin *EXTERN* <brent1a(at)yahoo(dot)com>; Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Philip W. Dalrymple | 2008-10-29 14:26:27 | How can I tell, in a trigger, if a value in a string is an integer. |
Previous Message | Greg Smith | 2008-10-29 13:05:21 | Re: Decreasing WAL size effects |