Building PgAdmin with a debug build

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Building PgAdmin with a debug build
Дата
Msg-id AANLkTikoHvoFT=5K+cTkzwJk5_fg2XskorSWRxZLuvz6@mail.gmail.com
обсуждение исходный текст
Ответы Re: Building PgAdmin with a debug build  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-support
Hello,

I'm attempting to build PgAdmin3 from master, including a debug build.
I resolved various packages using my system's package manager,
including -debug and -devel packages.

When, and only when I pass the --enable-debug parameter to configure,
I invariably get this error message:

./configure -with-gtk --enable-gtk2 --enable-debug -with-wx-version=2.8
*snip*
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 thought there might be some arcane problem with my system packages,
so I downloaded the stable release of WxWidgets-gtk
(wxGTK-2.8.11.tar.gz), and built it successfully with a "./configure
--enable-debug; make; make install". I then ran ldconfig.

Now, I'm getting the same error message with any set of configure
parameters at all (rather than just when I've included
--enable-debug).

How can I build pgadmin3 with debug and release builds?

-- 
Regards,
Peter Geoghegan


В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Making SQL-pane $$ aware?
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Building PgAdmin with a debug build