Re: 7.1Beta 4&5 - clean build problem with '--with-perl'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Creager, Robert S" <CreagRS(at)LOUISVILLE(dot)STORTEK(dot)COM>
Cc: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: 7.1Beta 4&5 - clean build problem with '--with-perl'
Date: 2001-03-03 06:32:09
Message-ID: 5822.983601129@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Creager, Robert S" <CreagRS(at)LOUISVILLE(dot)STORTEK(dot)COM> writes:
> On both beta 4 and 5, the configure script is run with --with-perl
> --with-tcl --with-CXX

> On a clean build (/usr/local/pgsql directory tree removed), Pg.c fails to
> build, not finding include file libpq-fe.h and then postgres_ext.h. Linking
> these two files to /usr/local/pgsql/include causes the build to complete
> successfully. Include paths on compile line: /usr/local/include
> /usr/local/pgsql/include
> /proj/twolf/local/lib/perl5/5.6.0/sun4-solaris/CORE.

Strange. I cannot duplicate this. On my box, the compile line for Pg.c
ends up looking like

cc -c -I../libpq -I../../include -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" +z -I/opt/perl5/lib/5.00503/PA-RISC2.0/CORE Pg.c

and of course ../libpq and ../../include are exactly where those two
include files live.

I have not tried the scenario of building outside the source tree,
however ... were you doing that?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-03-04 02:50:44 Possible Addition of a CREATE TABLE Warning
Previous Message lonnie 2001-03-03 05:17:17 interface differences in the 7.0.3 version