[pgrouting-users] PGRouting 2.0 for RHEL5

Stephen Woodbridge woodbri at swoodbridge.com
Mon Nov 25 07:40:06 PST 2013


Hi Steve,

This is what I have from cmake on Ubuntu 12.04. You can ignore the 
messages about Sphinx and Latex. What concerns me about your build is 
that it is missing:

-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   thread

Make sure you have libboost-graph-dev and libboost-graph1 packages 
installed. These are the Ubuntu names, you probably need something like:

sudo yum install boost-devel.x86_64 boost-graph-1.44.0-8.fc14.x86_64

Cmake should have errored out if it failed to find the dependency, that 
might be a valid issue.

-Steve


-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- PGROUTING_GIT_TAG: pgrouting-2.0.0
-- PGROUTING_GIT_BUILD: 8
-- PGROUTING_GIT_HASH: 92e3848
-- PGROUTING_GIT_BRANCH: develop
-- PGROUTING_VERSION_REVISION_NAME: 92e3848 develop
-- PGROUTING_VERSION_REVISION_HASH: 92e3848
-- UNIX=1
-- WIN32=
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.2/bin/postgres
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/9.2/server
-- POSTGRESQL_LIBRARIES: /usr/lib
-- Boost version: 1.46.1
-- Boost headers were found here: /usr/include
-- POSTGRESQL_VERSION_STRING is PostgreSQL 9.2.5
-- POSTGRESQL_VERSION is 9.2.5
-- PGSQL_VERSION is 92
-- Install directory for libraries is set to /usr/lib/postgresql/9.2/lib
-- Contrib directory for SQL files is set to 
/usr/share/postgresql/9.2/contrib/pgrouting-2.0
-- Extension directory for SQL files is set to 
/usr/share/postgresql/9.2/extension
-- Checking for package 'Sphinx'
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE SPHINX_VERSION_OK)
CMake Warning at doc/CMakeLists.txt:17 (message):
   Sphinx not found.  Cannot generate documentation!


-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   thread
-- CGAL_INCLUDE_DIR=/usr/include
-- CGAL_LIBRARIES=/usr/lib/libCGAL.so
-- BOOST_THREAD_LIBRARIES=/usr/lib/libboost_thread-mt.so;pthread
-- GMP_LIBRARIES=/usr/lib/x86_64-linux-gnu/libgmp.so
-- Found CGAL: /usr/include, /usr/lib/libCGAL.so, 
/usr/lib/libboost_thread-mt.so;pthread, /usr/lib/x86_64-linux-gnu/libgmp.so
-- Configuring done
-- Generating done
CMake Warning:
   Manually-specified variables were not used by the project:

     BUILD_LATEX


-- Build files have been written to: /home/woodbri/work/pgrouting/build


On 11/25/2013 10:19 AM, Cooling, Steve wrote:
> Hi Steve,
>
> 	Here is the cmake output.
>
> -- PGROUTING_G IT_TAG: pgrouting-2.0.0
> -- PGROUTING_G IT_BUILD: 0
> -- PGROUTING_G IT_HASH: f26831f
> -- PGROUTING_G IT_BRANCH: master
> -- PGROUTING_VERSION_REVISION_NAME: f26831f master
> -- PGROUTING_VERSION_REVISION_HASH: f26831f
> -- UNIX=1
> -- WIN32=
> -- POSTGRESQL_EXECUTABLE is /opt/postgres/9.1/bin/postgres
> -- POSTGRESQL_PG_CONFIG is /opt/postgres/9.1/bin/pg_config
> -- POSTGRESQL_INCLUDE_DIR: /opt/postgres/9.1/include/postgresql/server
> -- POSTGRESQL_LIBRARIES: /opt/postgres/9.1/lib
> -- Boost headers were found here: /usr/include
> -- POSTGRESQL_VERSION_STRING is PostgreSQL 9.1.3
> -- POSTGRESQL_VERSION is 9.1.3
> -- PGSQL_VERSION is 91
> -- Install directory for libraries is set to /opt/postgres/9.1/lib/postgresql
> -- Contrib directory for SQL files is set to /opt/postgres/9.1/share/postgresql/contrib/pgrouting-2.0
> -- Extension directory for SQL files is set to /opt/postgres/9.1/share/postgresql/extension

missing stuff should be here:
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   thread

> -- CGAL_INCLUDE_DIR=/usr/local/include
> -- CGAL_LIBRARIES=/usr/local/lib/libCGAL.so
> -- BOOST_THREAD_LIBRARIES=/usr/lib64/libboost_thread.so
> -- GMP_LIBRARIES=/usr/lib64/libgmp.so
> -- Found CGAL: /usr/local/include, /usr/local/lib/libCGAL.so, /usr/lib64/libboost_thread.so, /usr/lib64/libgmp.so
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /tmp/pgrouting-2.0.0/build
>
> Cheers,
>        Steve
>
> _________________________________________
>
> Steve Cooling
>
> Senior Infrastructure Engineer | Swansea ICT Services
> Capgemini UK | Swansea
> Direct Line : +44(0)1792 63 6830 | www.capgemini.com
> People matter, results count.
>
> _________________________________________
>
>
> -----Original Message-----
> From: pgrouting-users-bounces at lists.osgeo.org [mailto:pgrouting-users-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge
> Sent: 25 November 2013 14:39
> To: pgrouting-users at lists.osgeo.org
> Subject: Re: [pgrouting-users] PGRouting 2.0 for RHEL5
>
> Hi Steve,
>
> This is a new one on me and I'm not sure what is causing that. It is not
> our code directly so I would guess it is something to do with the Boot
> version you have installed or with some internationalization features
> related to Boost, or Postgresql, but I can't be sure.
>
> Can you post the cmake output? That should tell use most everything.
>
> Has anyone on the list successfully built on RHEL5??
>
> Thanks,
>     -Steve
>
> On 11/25/2013 9:19 AM, Cooling, Steve wrote:
>> Hi,
>>
>> 	Thanks for your response. Following the manual, I did the following:
>>
>> mkdir build
>> cd build
>> cmake  ..
>> make
>> sudo make install
>>
>> When running the make command I got the below errors. Any help would be greatly appreciated.
>>
>> # make
>> [  8%] Built target trsp
>> [ 11%] Building CXX object src/astar/src/CMakeFiles/astar.dir/astar_boost_wrapper.cpp.o
>> /usr/include/libintl.h:40: error: expected unqualified-id before âconstâ
>> /usr/include/libintl.h:40: error: expected `)' before âconstâ
>> /usr/include/libintl.h:40: error: expected initializer before âconstâ
>> /usr/include/libintl.h:45: error: expected unqualified-id before âconstâ
>> /usr/include/libintl.h:45: error: expected `)' before âconstâ
>> /usr/include/libintl.h:45: error: expected initializer before âconstâ
>> /usr/include/libintl.h:62: error: expected unqualified-id before âunsignedâ
>> /usr/include/libintl.h:62: error: expected `)' before âunsignedâ
>> /usr/include/libintl.h:62: error: expected `)' before âunsignedâ
>> /usr/include/libintl.h:62: error: expected initializer before âunsignedâ
>> /usr/include/libintl.h:68: error: expected unqualified-id before âunsignedâ
>> /usr/include/libintl.h:68: error: expected `)' before âunsignedâ
>> /usr/include/libintl.h:68: error: expected `)' before âunsignedâ
>> /usr/include/libintl.h:68: error: expected initializer before âunsignedâ
>> make[2]: *** [src/astar/src/CMakeFiles/astar.dir/astar_boost_wrapper.cpp.o] Error 1
>> make[1]: *** [src/astar/src/CMakeFiles/astar.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> Cheers,
>>         Steve
>>
>>
>> On 11/25/2013 6:43 AM, Cooling, Steve wrote:
>>> Hi,
>>>
>>>                Is PGRouting 2.0 available as an rpm package for Redhat
>>> Enterprise Linux 5.8 and has anyone managed to install it successfully?
>>> I've tried compiling the source package but it has failed.
>>
>> Post how it failed and we can probably guide you through the issues.
>>
>> Is there anRHEL5 GIS package repository that someone maintains? We would
>> be happy to put them on our release notification list.
>>
>> -Steve
>> _______________________________________________
>> Pgrouting-users mailing list
>> Pgrouting-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>> _______________________________________________
>> Pgrouting-users mailing list
>> Pgrouting-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>



More information about the Pgrouting-users mailing list