Re: [osg-users] CMake issue on RHEL 5

2008-06-02 Thread Jason Daly
Robert Osfield wrote: On Sat, May 31, 2008 at 7:20 AM, Philip Lowman [EMAIL PROTECTED] wrote: The posted workaround of checking the version number will work fine, alternatively one could replace FIND_PACKAGE(PkgConfig) with INCLUDE(FindPkgConfig OPTIONAL) Which eliminates the error message

Re: [osg-users] CMake issue on RHEL 5

2008-05-31 Thread Robert Osfield
-- Forwarded message -- From: Robert Osfield [EMAIL PROTECTED] Date: Sat, May 31, 2008 at 8:44 AM Subject: Re: [osg-users] CMake issue on RHEL 5 To: Philip Lowman [EMAIL PROTECTED] Hi Philip, On Sat, May 31, 2008 at 7:20 AM, Philip Lowman [EMAIL PROTECTED] wrote: The posted

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
Hi Jason, In the SVN version of the OSG there is a catch for this. FYI, the PgConfig support works from 2.4.7 on my system so you are possible just a bit unlucky. I will putting out a 2.5.1 release today once I've done some bug fixing work. Robert. On Fri, May 30, 2008 at 12:23 AM, Jason Daly

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: The new code is in OpenSceneGraph/CMakeLists.txt is: #use pkg-config to find various modues FIND_PACKAGE(PkgConfig) IF(PKG_CONFIG_FOUND) ... Yes, as I said, that code is in the version I have. This should prevent problems. Could you please post problems you get

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
Hi Jason, On Fri, May 30, 2008 at 6:59 PM, Jason Daly [EMAIL PROTECTED] wrote: Robert Osfield wrote: The new code is in OpenSceneGraph/CMakeLists.txt is: #use pkg-config to find various modues FIND_PACKAGE(PkgConfig) IF(PKG_CONFIG_FOUND) ... Yes, as I said, that code is in the version

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
Hi Jason, I have introduced the follow: IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) FIND_PACKAGE(PkgConfig) ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) Hopefully this will fix your outdated

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: Hi Jason, I have introduced the follow: IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) FIND_PACKAGE(PkgConfig) ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) Hopefully this

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: I could easily do that on one workstation, yes. It's more of an issue when you're dealing with a lab of several dozen workstations. This is why we pay to run Red Hat Enterprise. Pay for out of date tools... do you get upgrades included? Of course, in fact, we

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: Hi Jason, I have introduced the follow: IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) FIND_PACKAGE(PkgConfig) ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) Hopefully this

[osg-users] CMake issue on RHEL 5

2008-05-29 Thread Jason Daly
Hi, all, On Red Hat Enterprise 5 (update 2), I'm getting the following from CMake with the latest svn: CMake Error: PkgConfig_DIR is not set. It must be set to the directory containing PkgConfigConfig.cmake in order to use PkgConfig. This is with CMake 2.4.5 (the version that ships with RHEL