Thread: configuration script problem

configuration script problem

From
Jean-Michel POURE
Date:
Dear Adam,

Thanks for your last mail. I have a small problem with the ./configure script
of pgAdmin3 related to PostgreSQL location. Let me explain:

- On my laptop, which is a RedHat 9 station, I built wxWindows 2.5 cvs and
pgAdmin3 like a charm.

- I am now working on my backup server to compile daily snapshots. The only
difference with the laptop is that I use PostgreSQL RPMs from
ftp://ftp.postgresql.org, not RedHat RPMs.

Here is the error I get (only on the backup server):

configure:4646: checking libpq-fe.h presence
configure:4657: gcc -E  -I/usr/include conftest.c
configure:4663: $? = 0
configure:4682: result: yes
configure:4718: checking for libpq-fe.h
configure:4725: result: yes
configure:4750: checking pgsql in /usr
configure:4754: result: failed (<- It should succeed)
configure:4756: error: you must specify a valid pgsql installation with
--with-pgsql=DIR

On both machines, my configurations are:

1) RedHat 9

2) wxWindows cvs-20030607
./configure --with-gtk --enable-gtk2 --enable-unicode --disable-shared
--enable-debug ... make ... make install. ldconfig run. In contrib too.

3) pgAdmin3 latest version from CVS
./configure --enable-debug --enable-unicode --enable-gtk2

4) PostgreSQL
backup server : postgresql-7.3.2-3 (ftp.postgresql.org binaries->fails)
laptop : postgresql-7.3.2-3 (RedHat stock binaries->works like a charm)

We are getting closer. Any idea?
Cheers, Jean-Michel








Re: configuration script problem

From
"Adam H. Pendleton"
Date:
Send me a copy of your config.log from the top-level pgadmin3/ directory.

ahp