Re: BUG #4016: Build fails in ecpglib on file extern.h

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Samuel Gilbert" <samuel(dot)gilbert(at)ec(dot)gc(dot)ca>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4016: Build fails in ecpglib on file extern.h
Date: 2008-03-06 21:43:47
Message-ID: 23962.1204839827@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Samuel Gilbert" <samuel(dot)gilbert(at)ec(dot)gc(dot)ca> writes:
> I tried to build 8.3.0 on Debian GNU/Linux Etch x86_64 with the following
> configure options :

> ./configure --prefix=/data/aq_ops/software/x86_64 --enable-thread-safety
> --with-pgport=5433 --with-tcl --with-perl --with-python --with-pam
> --with-ldap --with-openssl --with-libxml --with-libxslt

You seem to have omitted some relevant information, because there's a
bunch of stuff in the compile command that did not come from these
configure options:

> gcc -march=opteron -mfpmath=sse -fomit-frame-pointer -Wall -pipe -O2
> -I/data/odysseus/afsudev/usr/include

In particular I'm betting this -I switch is injecting some old-version
ecpg include files into the situation.

Possibly you are building with CPPFLAGS and/or CFLAGS already set in
your environment? That's sometimes useful but you have to be mighty
careful what you inject into builds that way.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2008-03-06 21:45:21 Re: BUG #3774: create table like including index doesn't update pg_constraints with primary key
Previous Message Bruce Momjian 2008-03-06 21:38:35 Re: BUG #3839: LDAP authentification and password with "space"-symbol