> -----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