Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] Building pgadmin on Fedora core 2

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Scot L(dot) Harris" <webid(at)cfl(dot)rr(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org,postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] Building pgadmin on Fedora core 2
Date: 2004-06-21 20:52:58
Message-ID: 40D74AAA.60609@joeconway.com (view raw or flat)
Thread:
Lists: pgadmin-supportpgsql-general
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
> pgadmin3.
> 
> /usr/local/lib/libwx_gtk2ud_core-2.5.a(corelib_settings.o)(.text+0xa55):
> In function `wxSystemSettingsNative::GetFont(wxSystemFont)':
> src/gtk/settings.cpp:346: undefined reference to
> `_gtk_rc_context_get_default_font_name'
> /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 
pgadmin3.

Mail me off-list if you'd like a copy of my modified src rpm.

HTH,

Joe

Attachment: gtk+-2.4.1.patch
Description: text/x-patch (952 bytes)

In response to

Responses

pgadmin-support by date

Next:From: Tamasi SrdjanDate: 2004-06-22 06:46:59
Subject: Postgre odbc problem
Previous:From: Scot L. HarrisDate: 2004-06-21 17:28:57
Subject: Building pgadmin on Fedora core 2

pgsql-general by date

Next:From: NTPTDate: 2004-06-21 22:30:37
Subject: Re: Relocation error pg_dumpall undefined symbol get_progname in 7.4.3
Previous:From: Martijn van OosterhoutDate: 2004-06-21 20:26:33
Subject: Re: New to the list; would this be an okay question?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group