Re: Building PgAdmin with a debug build

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Building PgAdmin with a debug build
Date: 2010-10-23 14:07:59
Message-ID: AANLkTikMmLciYZLD2fjnHcnqmnwr71jWq1F1PfFkN6Cu@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 23 October 2010 13:33, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:

>
> You need a debug and *unicode* build of wxWidgets. So your configure
> command should also contain "--enable-unicode". Mine looks like this:
>
> ./configure --with-gtk --enable-gtk2        \
>            --enable-unicode --enable-debug \
>            --prefix=/opt/wxgtk-2.8

Hmm....I've built/installed WxWidgets (this time,
wxWidgets-2.8.11.tar.gz) with those exact parameters, and now when I
to do this:

peter(at)linux-peter-home:~/pgadmin3> ./configure -with-gtk --enable-gtk2
--enable-debug

I still get this:
checking for PQgetOutResult in -lpq... no
checking wxWidgets version... ok
checking wxWidgets in /usr/local... failed
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.

I'm not sure that I'm satisfying this condition, which appears at the
end of make install output for WxWidgets:

------------------------------------------------------

The installation of wxWidgets is finished. On certain
platforms (e.g. Linux) you'll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.

wxWidgets comes with no guarantees and doesn't claim
to be suitable for any purpose.

Read the wxWidgets Licence on licencing conditions.

------------------------------------------------------

I've run ldconfig. However, the LD_LIBRARY_PATH environment variable is not set.

--
Regards,
Peter Geoghegan

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2010-10-23 14:33:22 Re: Building PgAdmin with a debug build
Previous Message Guillaume Lelarge 2010-10-23 12:33:36 Re: Building PgAdmin with a debug build