Re: build environment - Mailing list pgadmin-hackers

From Florian G. Pflug
Subject Re: build environment
Date
Msg-id 4639DB74.4080705@phlo.org
Whole thread Raw
In response to Re: build environment  (Dave Page <dpage@postgresql.org>)
List pgadmin-hackers
Dave Page wrote:
> Giuseppe Sacco wrote:
>> Hi all,
>> I have a simple question: what is/are the build environment used by
>> pgadmin developers? Windows? Solaris? Redhat? Suse? Debian? other?

I'm doing nightly builds on OSX 10.3 with wx 2.8.3, and I also sucessfully
built 1.6 on ubuntu edgy a few weeks ago.

Please post the output of "gcc --version" on your machine, and check
if you have any environment variables like
CC,CFLAGS,LDFLAGS,CXXFLAGS,CPPFLAGS,.. set in the shell where you
issue "configure" and "make". Please also add the exact arguments
to configure you used.

I'm beginning to suspect that some stray "-I<somedir>" options get passed
to gcc on your machine, and that it thereforce includes some wrong files.

As a crosscheck, please also try the changes to postgres.h (the one shipped
with the pgadmin sources, not some other postgres you might find in
/usr/include) that I suggested in the other thread.

In postgres.h, replace
#define YYTOKENTYPE
#define YYSTYPE int
with
#define YYSTYPE_IS_DECLARED
#define DECIMAL DECIMAL_P
   typedef int YYSTYPE;

greetings, Florian Pflug


pgadmin-hackers by date:

Previous
From: Giuseppe Sacco
Date:
Subject: Re: build environment
Next
From: Guillaume Lelarge
Date:
Subject: Re: build environment