Re: ecpg hackery to get ecpg to compile from FreeBSD ports... - Mailing list pgsql-bugs

From Sean Chittenden
Subject Re: ecpg hackery to get ecpg to compile from FreeBSD ports...
Date
Msg-id 20020909185615.GB26147@ninja1.internal
Whole thread Raw
In response to Re: ecpg hackery to get ecpg to compile from FreeBSD ports...  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: ecpg hackery to get ecpg to compile from FreeBSD ports...
List pgsql-bugs
> > Different bogon that I ran across:
> >
> > 2:35pm sean@mat:ecpg/lib > gmake
> > cc -O -pipe -g -O  -I/usr/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC
-I../../../../src/interfaces/ecpg/include-I../../../../src/interfaces/libpq -I../../../../src/include
-I/usr/local/include-I/usr/local/include  -c -o connect.o connect.c 
>
> Apparently you somehow put -I/usr/local/include into CFLAGS.  Don't do
> that.

Easier said than done...  /usr/local/include is propagated throughout
the build to catch local package installations
(getopt/readline)... I'll see if I can't figure out the correct fix
for this though.  Thanks for the info though.  -sc

--
Sean Chittenden

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Bug #761: Date format ambiguity while insertion!!!!
Next
From: Sean Chittenden
Date:
Subject: Re: ecpg hackery to get ecpg to compile from FreeBSD ports...