Re: Debian AMD64 compile problem - Mailing list pgadmin-support

From Dave Page
Subject Re: Debian AMD64 compile problem
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3942@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Debian AMD64 compile problem  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
Responses Re: Debian AMD64 compile problem  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
List pgadmin-support

> -----Original Message-----
> From: Joost Kraaijeveld [mailto:J.Kraaijeveld@Askesis.nl]
> Sent: 04 November 2005 15:39
> To: Dave Page
> Cc: pgadmin-support@postgresql.org
> Subject: RE: [pgadmin-support] Debian AMD64 compile problem
>
> Hi Dave,
>
> On Fri, 2005-11-04 at 15:25 +0000, Dave Page wrote:
> > Quite possibly. You normally get that error when pgAdmin is built in
> > debug mode and wx in non-debug, or static vs dynamic, unicode vs
> > non-unicode etc. All those errors should now be picked up
> by configure
> > following my recent re-working of the wx detection code.
> Do I understand you correctly, if I think you say is *should*
> go right now?
>
> In an attempt to solve my own question by trying I did:
>
> export CC=/usr/bin/g++-4.0
> ./configure --with-pgsql-include=/usr/include/postgresql/8.0/
> make

Try:

export CXX=/usr/bin/g++-4.0

> This time it did not link (undefined reference to "ScanKeywordLookup")
> but more important: it looks like the makefiles do not
> actually use the
> CC variable (it is set in the Makefiles thought): I did a "ps
> ax" and it
> showed that the default system compiler is used and not the compiler I
> I CC'ed (I omited most of the output for clarity):
>
> ... g++ -DHAVE_CONFIG_H -I. -I.  .....
> .../usr/lib/gcc-lib/x86_64-linux/3.3.5/cc1plus -quiet - ...
>
> I have looked into the Makefiles itself, but sorry, I could not figure
> out what exactly is done there. Do you know if my observation could be
> right?

Yeah, we use CXX, just for added confusion :-)

> > I would try building your own version of wx from source.
> OK, I will try that.

Regards, Dave


pgadmin-support by date:

Previous
From: Joost Kraaijeveld
Date:
Subject: Re: Debian AMD64 compile problem
Next
From: Joost Kraaijeveld
Date:
Subject: Re: Debian AMD64 compile problem