Skip site navigation (1) Skip section navigation (2)

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

From: Brent Austin <brent1a(at)yahoo(dot)com>
To: 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 08:12:55
Message-ID: 808906.48846.qm@web65402.mail.ac4.yahoo.com (view raw or flat)
Thread:
Lists: 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(at)gmail(dot)com>
To: Brent Austin <brent1a(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)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).


      

In response to

Responses

pgsql-general by date

Next:From: Grzegorz JaśkiewiczDate: 2008-10-29 08:49:00
Subject: Re: postgresql and Mac OS X
Previous:From: Bruce McAlisterDate: 2008-10-29 08:11:05
Subject: Re: UUID-OSSP Contrib Module Compilation Issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group