Re: problem compiling, error while checking for wx - Mailing list pgadmin-hackers

From Dave Page
Subject Re: problem compiling, error while checking for wx
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC35B5@ratbert.vale-housing.co.uk
Whole thread Raw
In response to problem compiling, error while checking for wx  (Miha Radej <miha.radej@siix.com>)
List pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Miha Radej
> Sent: 20 October 2005 00:46
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] problem compiling, error while
> checking for wx
>
> i've successfully used the above pgadmin configure command
> until a few
> days ago. configure goes through and pgadmin compiles ok with the
> following parameters:
> ./configure --prefix=/usr/local/pgadmin-svn --enable-debug
> --enable-static
>
> is it necessary to explicitly add these two parameters now?

Yes - previously it was pretty undertermined - in fact you pretty much
always got a debug build (this was more apparent on Mac where the
resulting executable was around 128MB!).

It will default now to dynamic linking, non-debug, and if you don't have
an appropriately configured wx installation to match you'll get the
errors you see. So, you can either:

- Pass the configure options to pgAdmin to tell it to build correctly
with your wx installation
- Rebuild wx with the right configuration to match pgAdmin. This is
perhaps the better option because you can build all 4 possible
combinations and install them over the top of each other. Don't forget
the 'make clean' before each build though, otherwise bad things will
happen.

Regards, Dave

pgadmin-hackers by date:

Previous
From: Miha Radej
Date:
Subject: does this string need correction?
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4574 - trunk/www/pgadmin3/cnt