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
|
Список | 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 по дате отправления: