how to build pgadmin3 when wxgtk was built with --disable-unicode ?
how to build pgadmin3 when wxgtk was built with --disable-unicode ?
От:
John Spencer <maillist-pgadmin3@barfooze.de>
Дата:
i built my wxgtk with --disable-unicode, because otherwise it uses the bloated UCS4 format, and the option --enable-utf8only doesnt have any effect (wx will still use UCS4). according to a wxgtk developer, using --disable-unicode will work fine with UTF8, which is usually used in linux. now i'm trying to build pgadmin3-1.16.1.tar.gz: configure: WARNING: unrecognized options: --disable-unicode [...] checking wxWidgets version... ok 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. how can i patch the configure script/pgadmin3 that it accepts --disable-unicode (which seems to be what other programs depending on wxgtk provide) and i can get around past this build error ? best regards, --JS
Re: how to build pgadmin3 when wxgtk was built with --disable-unicode ?
От:
Dave Page <dpage@pgadmin.org>
Дата:
Hi On Mon, Jan 7, 2013 at 8:43 PM, John Spencer wrote: > > how can i patch the configure script/pgadmin3 that it accepts > --disable-unicode (which seems to be what other programs depending on wxgtk > provide) and i can get around past this build error ? The configure script is written that way for a reason - you could easily remove the check from acinclude.m4, but the resulting code will almost certainly not build. pgAdmin requires Unicode support, because it communicates with Postgres using UTF-8 in almost all circumstances. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company