Thread: pgagent build issue on SLES 12
Hi, I'm trying to RPMify pgagent on SLES 12, but getting an error. Here is the command I'm using (like I did for RHEL) cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr -D PG_CONFIG_PATH:FILEPATH=/usr/pgsql-9.6/bin/pg_config -D STATIC_BUILD:BOOL=OFF Error is: CMake Error at cmake/FindWX.cmake:271 (MESSAGE): The selected wxWidgets configuration (version: 2.8, debug: no, static: no,unicode: yes, modules: base) is not available. Call Stack (most recent call first): CMakeLists.txt:95 (FIND_PACKAGE) and here is the CMakeOutput.log: https://www.gunduz.org/temp/pgagent-CMakeOutput.log Any hints how can I debug this? Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
On Mon, Jul 10, 2017 at 12:59 PM, Devrim Gündüz <devrim@gunduz.org> wrote:
Hi,
I'm trying to RPMify pgagent on SLES 12, but getting an error. Here is the
command I'm using (like I did for RHEL)
cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr -D PG_CONFIG_PATH:FILEPATH=/usr/pgsql-9.6/bin/pg_config -D STATIC_BUILD:BOOL=OFF
Error is:
CMake Error at cmake/FindWX.cmake:271 (MESSAGE):
The selected wxWidgets configuration (version: 2.8, debug: no, static: no,
unicode: yes, modules: base) is not available.
Call Stack (most recent call first):
CMakeLists.txt:95 (FIND_PACKAGE)
and here is the CMakeOutput.log:
https://www.gunduz.org/temp/pgagent-CMakeOutput.log
Any hints how can I debug this?
What wxWidgets configs are available on that machine?
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
You can find the logs/temporary files in the CMakeFiles directory.
On Jul 10, 2017 17:48, "Dave Page" <dpage@pgadmin.org> wrote:
On Mon, Jul 10, 2017 at 12:59 PM, Devrim Gündüz <devrim@gunduz.org> wrote:
Hi,
I'm trying to RPMify pgagent on SLES 12, but getting an error. Here is the
command I'm using (like I did for RHEL)
cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr -D PG_CONFIG_PATH:FILEPATH=/usr/pgsql-9.6/bin/pg_config -D STATIC_BUILD:BOOL=OFF
Error is:
CMake Error at cmake/FindWX.cmake:271 (MESSAGE):
The selected wxWidgets configuration (version: 2.8, debug: no, static: no,
unicode: yes, modules: base) is not available.
Call Stack (most recent call first):
CMakeLists.txt:95 (FIND_PACKAGE)
and here is the CMakeOutput.log:
https://www.gunduz.org/temp/pgagent-CMakeOutput.log
Any hints how can I debug this?What wxWidgets configs are available on that machine?--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi Dave, On Mon, 2017-07-10 at 13:18 +0100, Dave Page wrote: > What wxWidgets configs are available on that machine? wxWidgets-3_2-devel-3.1.0 is installed. I also have a few packages that start with libwx_gtk2 and libwx_gtk3, but not sure they are related. Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
On Mon, Jul 10, 2017 at 1:59 PM, Devrim Gündüz <devrim@gunduz.org> wrote:
Hi Dave,
On Mon, 2017-07-10 at 13:18 +0100, Dave Page wrote:
> What wxWidgets configs are available on that machine?
wxWidgets-3_2-devel-3.1.0
I have no idea if pgAgent will work with wxWidgets 3. Are there wx 2.8 packages available?
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi Ashesh, On Mon, 2017-07-10 at 17:56 +0530, Ashesh Vashi wrote: > You can find the logs/temporary files in the CMakeFiles directory. I have sent the log file with the previous email: https://www.gunduz.org/temp/pgagent-CMakeOutput.log Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Hi, On Mon, 2017-07-10 at 14:01 +0100, Dave Page wrote: > I have no idea if pgAgent will work with wxWidgets 3. Are there wx 2.8 > packages available? Ah, that fixed it (the package names in SLES are different than Red Hat, it took me a while to find the right package) That said, reminder for the new pgagent version that compiles against 10. Thanks! Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR