Re: [GENERAL] Building pgadmin on Fedora core 2

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: "Scot L(dot) Harris" <webid(at)cfl(dot)rr(dot)com>, 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-23 14:14:42
Message-ID: 40D99052.8020406@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-general

Adam H. Pendleton wrote:
> Joe Conway wrote: | 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.

> Would it be better for us to put a patch into our wxWindows tree for
> this, rather than patching gtk? Do we really want to maintain a gtk
> patch as well?

Perhaps, but I have no idea what the implications are for wxWindows if
you remove the _gtk* calls. I really didn't want to take the time myself
to evaluate it. Clearly that is what needs to happen in the long run though.

> Also, I've built pgAdmin3 on a fresh FC2 without having to patch
> anything, which means that there are probably changes in the
> wxWindows tree to fix this. Perhaps we can backport them?

Not sure. My attempts were also on a fresh FC2 install, and I had the
problem as described by Scot.

Joe

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Jean-Michel POURE 2004-06-23 14:29:42 Re: [GENERAL] Building pgadmin on Fedora core 2
Previous Message Adam H. Pendleton 2004-06-23 14:10:46 Re: [GENERAL] Building pgadmin on Fedora core 2

Browse pgsql-general by date

  From Date Subject
Next Message alltest1 2004-06-23 14:24:53 simultaneous use of JDBC and libpq
Previous Message Adam H. Pendleton 2004-06-23 14:10:46 Re: [GENERAL] Building pgadmin on Fedora core 2