Building pgagent on Linux

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Building pgagent on Linux
Date: 2011-12-06 08:19:08
Message-ID: 1323159548.2543.10.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


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

(Oh, why does pgagent need wx libraries?)

Anyway, I thought I could build pgagent on a machine that pgadmin3 can
be built, per README:

===
- A wxWidgets 2.8.x installation, configured per the requirements for
pgAdmin:
===

Here are the wx packages that I have:

===
wxGTK-media-2.8.12-1.fc16.x86_64
wxGTK-gl-2.8.12-1.fc16.x86_64
wxGTK-devel-2.8.12-1.fc16.x86_64
wxGTK-2.8.12-1.fc16.x86_64
wxBase-2.8.12-1.fc16.x86_64
====

What am I missing here?

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-12-06 08:56:39 Re: Building pgagent on Linux
Previous Message Dave Page 2011-12-06 06:17:27 pgAdmin III commit: Avoid crashing when working with objects with % in