Re: Debian AMD64 compile problem

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Debian AMD64 compile problem
Date: 2005-11-04 15:46:11
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3942@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: Joost Kraaijeveld [mailto:J(dot)Kraaijeveld(at)Askesis(dot)nl]
> Sent: 04 November 2005 15:39
> To: Dave Page
> Cc: pgadmin-support(at)postgresql(dot)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

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Joost Kraaijeveld 2005-11-04 16:12:05 Re: Debian AMD64 compile problem
Previous Message Marian POPESCU 2005-11-04 15:39:57 Re: pgAdmin III v1.4.0 Release Candidate 1 released for testing