problem compiling, error while checking for wx
problem compiling, error while checking for wx
От:
Miha Radej <miha.radej@siix.com>
Дата:
hi!
after a fresh cvs checkout just now, i get the following error while
running configure:
checking for wxWidgets... yes
Warning: No config found to match: /usr/local/bin/wx-config
--static=no --libs --unicode=yes --debug=yes --version=2.6
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
Warning: No config found to match: /usr/local/bin/wx-config
--static=no --libs stc,ogl --unicode=yes --debug=yes --version=2.6
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
configure: error: Your wxWidgets installation cannot support pgAdmin in
the selected configuration. This may be because it was configured
without the --enable-unicode option, or the combination of
dynamic/static linking and debug/non-debug libraries selected did not
match any installed wxWidgets libraries.
make: *** [config.status] Error 1
the pgadmin configure command was
./configure --prefix=/usr/local/pgadmin-svn
the wx configure command was
./configure --with-gtk --enable-gtk2 --enable-unicode --disable-shared
--enable-debug --enable-mimetype=yes
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?
thanks,
Miha
Re: problem compiling, error while checking for wx
От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
> -----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