Re: Building pgagent on Linux

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Building pgagent on Linux
Дата
Msg-id CA+OCxoy1LtmtmFC2MDnqdiwuGOnqWKFvTufm4Dm=7bzdSHVSWA@mail.gmail.com
обсуждение исходный текст
Ответ на Building pgagent on Linux  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Ответы Re: Building pgagent on Linux  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список pgadmin-hackers
Hi

2011/12/6 Devrim GÜNDÜZ <devrim@gunduz.org>:
>
> Hi,
>
> I'm trying to build a standalone pgagent RPM. This is the same
> environment that I can build pgadmin3 w/o any issues.
>
> After untarring pgAgent-3.0.1-Source.tar.gz, and running cmake, I got
> the following error:
>
> =======================================================
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/lib64/ccache/gcc
> -- Check for working C compiler: /usr/lib64/ccache/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/lib64/ccache/c++
> -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> CMake Error at cmake/FindWX.cmake:271 (MESSAGE):
>  The selected wxWidgets configuration (version: 2.8, debug: no, static:
> yes,
>  unicode: yes, modules: base) is not available.
> Call Stack (most recent call first):
>  CMakeLists.txt:91 (FIND_PACKAGE)
>
>
> -- Configuring incomplete, errors occurred!
>
> =======================================================
>
> Ok, so apparently it does not like wx configuration:
>
> # wx-config --selected-config
> gtk2-unicode-release-2.8

Yeah, my guess is you need to configure it for a dynamic build, not
static. Try something like:

cmake -D STATIC_BUILD:BOOL=OFF .

> (Oh, why does pgagent need wx libraries?)

Because it was written using wxWidgets.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Building pgagent on Linux
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Building pgagent on Linux