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 | 808906.48846.qm@web65402.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
Re: [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300 |
List | pgsql-general |
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
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)
client-6X-1XX-17-XX4:psqlodbc-08.03.0300 brent1a$
From: Grzegorz Jaśkiewicz <gryzman@gmail.com>
To: Brent Austin <brent1a@yahoo.com>
Cc: pgsql-general@postgresql.org
Sent: Tuesday, October 28, 2008 8:23:31 AM
Subject: Re: [GENERAL] [Help] Config Failure on Mac OSX: psqlodbc-08.03.0300
just type in 'pg_config' ,without quotes in terminal and see if it runs. if not, you gotta find it. For instance by using:
find /usr -name pg_config
than if it does come up with whereabouts of it - stick it into PG_CONFIG env variable:
export PG_CONFIG=/path/path/pg_config
and rerun configure in the same terminal (important, the env variable PG_CONFIG will only be seen in that scope/terminal).
pgsql-general by date: