HI,
I read the june 2002 reply to Mr. Bonk from Mr.
Clements and still have had no luck with this problem
of finding the header files for libpq-fe.
I have checked the config log but I have no clue..I
just see several files missing. I have attached the
portion of the log for any insight and suggestion/s
you may have.
Regards,
Stef
nt main() {
Tk_MainWindow()
; return 0; }
configure:8617: checking for Tk_MainWindow in -ltk
configure:8634: gcc -o conftest -g -O2 conftest.c
-ltk -ltcl -lm -lm -L/usr/X11R6/lib -lSM -lICE
-lX11 1>&5
/usr/bin/ld: cannot find -ltk
collect2: ld returned 1 exit status
configure: failed program was: #line 8623 "configure" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an
error. */
/* We use char because int might match the return type
of a gcc2
builtin and then its argument prototype would
still apply. */
char Tk_MainWindow();
int main() {
Tk_MainWindow()
; return 0; }
configure:8661: checking for Tk_MainWindow in -ltk8.4
configure:8678: gcc -o conftest -g -O2 conftest.c
-ltk8.4 -ltcl -lm -lm 1>&5
configure:8882: checking whether to use PostgreSQL
configure:8902: checking for location of PostgreSQL
includes
configure:8928: checking for libpq-fe.h
configure:8936: gcc -E conftest.c >/dev/null
2>conftest.out
configure:8932:22: libpq-fe.h: No such file or
directory
configure: failed program was: #line 8931 "configure" #include "confdefs.h" #include <libpq-fe.h>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
I read the june 2002 reply to Mr. Bonk from Mr.
Clements and still have had no luck with this problem
of finding the header files for libpq-fe.
I have checked the config log but I have no clue..I
just see several files missing. I have attached the
portion of the log for any insight and suggestion/s
you may have.
configure:8902: checking for location of PostgreSQL includes
configure:8928: checking for libpq-fe.h
configure:8936: gcc -E conftest.c >/dev/null 2>conftest.out
configure:8932:22: libpq-fe.h: No such file or directory
I note that there are no -I switches in the command, which means that
you didn't use --with-postgres-includes=.... You almost always need to
use this switch, as distribution vendors usually put the PostgreSQL
headers in their own directory. Likely candidates are
/usr/include/psql, /usr/include/pgsql and /usr/include/postgresql.
Hello,
Well after a day trying different approaches I
continue to be lost.
I cannot seem to hold the ./configure
--with-Postgres-includes=/usr/local/postgresql-7.3.4/src/included
After the configuration runs it still cannot see the
libpq-fe.h file (yes, it is there) and in the line
above does not indicate that the path was changed.
> I read the june 2002 reply to Mr. Bonk from Mr.
> Clements and still have had no luck with this
problem
> of finding the header files for libpq-fe.
>
> I have checked the config log but I have no
clue..I
> just see several files missing. I have attached
the
> portion of the log for any insight and
suggestion/s
> you may have.
> configure:8902: checking for location of
PostgreSQL includes
> configure:8928: checking for libpq-fe.h
> configure:8936: gcc -E conftest.c >/dev/null
2>conftest.out
> configure:8932:22: libpq-fe.h: No such file or
directory
I note that there are no -I switches in the command,
which means that
you didn't use --with-postgres-includes=.... You
almost always need to
use this switch, as distribution vendors usually put
the PostgreSQL
headers in their own directory. Likely candidates
are
/usr/include/psql, /usr/include/pgsql and
/usr/include/postgresql.
--
Glynn Clements <glynn.clements@virgin.net>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Hello,
Well after a day trying different approaches I
continue to be lost.
I cannot seem to hold the ./configure
--with-Postgres-includes=/usr/local/postgresql-7.3.4/src/includ
ed
After the configuration runs it still cannot see the
libpq-fe.h file (yes, it is there) and in the line
above does not indicate that the path was changed.
Any suggestions?
Stef,
The Postgresql include files should be under /usr/include/pgsql or
/usr/shared/include/pgsql or a similar location, possibly under
the /usr/local/include branch. You may also have to specifiy one
or more subdirectories under the .../include/pgsql directory as
well depending on the Linux release you are running.
On Thu, Aug 14, 2003 at 08:24:31PM -0700, stef wrote:
Hello,
Well after a day trying different approaches I
continue to be lost.
I cannot seem to hold the ./configure
--with-Postgres-includes=/usr/local/postgresql-7.3.4/src/included
Are you sure about "included" (note the 'd'). Should be
/usr/local/postgresql-7.3.4/src/include
or similar.
Markus
After the configuration runs it still cannot see the
libpq-fe.h file (yes, it is there) and in the line
above does not indicate that the path was changed.
Any suggestions?
Thanks,
Stef
--- Glynn Clements <glynn.clements@virgin.net> wrote:
>
> stef wrote:
>
> > I read the june 2002 reply to Mr. Bonk from Mr.
> > Clements and still have had no luck with this
> problem
> > of finding the header files for libpq-fe.
> >
> > I have checked the config log but I have no
> clue..I
> > just see several files missing. I have attached
> the
> > portion of the log for any insight and
> suggestion/s
> > you may have.
>
> > configure:8902: checking for location of
> PostgreSQL includes
> > configure:8928: checking for libpq-fe.h
> > configure:8936: gcc -E conftest.c >/dev/null
> 2>conftest.out
> > configure:8932:22: libpq-fe.h: No such file or
> directory
>
> I note that there are no -I switches in the command,
> which means that
> you didn't use --with-postgres-includes=.... You
> almost always need to
> use this switch, as distribution vendors usually put
> the PostgreSQL
> headers in their own directory. Likely candidates
> are
> /usr/include/psql, /usr/include/pgsql and
> /usr/include/postgresql.
>
> --
> Glynn Clements <glynn.clements@virgin.net>
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
--
Markus Neteler <neteler@itc.it> http://mpa.itc.it
ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy