Scot L. Harris wrote:
> Running Fedora Core 2 trying to build pgadmin3 from source.
> Build wxWindows from sources. Appeared to build and install no problem.
> But when building pgadmin get the following error as it tries to build
> In function `wxSystemSettingsNative::GetFont(wxSystemFont)':
> src/gtk/settings.cpp:346: undefined reference to
> /usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_menu.o)(.text+0xc5c): In
> function `wxMenubarUnsetInvokingWindow':
> src/gtk/menu.cpp:275: undefined reference to `_gtk_accel_group_detach'
After lots of googling I found reference to the fact that wxWindows uses
gtk functions that are supposed to be internal use only (i.e. all the
_gtk* functions). The version of gtk that ships with fc2 no longer
exports these symbols. My solution was to patch gtk to re-allow export
of the internal symbols -- see attached patch.
I could not get gtk+-2.4.0 to build on my system starting from the
(supposedly) fc2 src rpm. So I ended up building a gtk+-2.4.1 rpm using
the patched source as mentioned above. From there, all was well with
Mail me off-list if you'd like a copy of my modified src rpm.
In response to
pgadmin-support by date
|Next:||From: Tamasi Srdjan||Date: 2004-06-22 06:46:59|
|Subject: Postgre odbc problem|
|Previous:||From: Scot L. Harris||Date: 2004-06-21 17:28:57|
|Subject: Building pgadmin on Fedora core 2|
pgsql-general by date
|Next:||From: NTPT||Date: 2004-06-21 22:30:37|
|Subject: Re: Relocation error pg_dumpall undefined symbol get_progname in 7.4.3 |
|Previous:||From: Martijn van Oosterhout||Date: 2004-06-21 20:26:33|
|Subject: Re: New to the list; would this be an okay question?|