[pgrouting-users] PGRouting 2.0 for RHEL5
Cooling, Steve
Steve.Cooling at swansea.gov.uk
Mon Nov 25 07:19:25 PST 2013
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
-- 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
More information about the Pgrouting-users
mailing list