Hi 2011/12/6 Devrim GÜNDÜZ <[email protected]>: > > 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 -- Sent via pgadmin-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
