Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group