[pgrouting-users] Error configure pgrouting - install
Juan.Garzon at aguazul.com.co
Juan.Garzon at aguazul.com.co
Mon Jul 25 20:03:33 EDT 2011
Hi All,
I am installing Pgrouting for PostGreSQL 8.4 on Linux Red Hat. I am
following the instructions provided on this page;
http://www.pgrouting.org/docs/1.x/install.html
However when running (the second step of the 2. Compile pgRouting core
(with TSP and DD flag on) stage);
cmake -DWITH_TSP=ON -DWITH_DD=ON .
my postgresql 8.4 /usr/local/pgsql/bin
I get the following error;
root at gislinux pgrouting-1.05]# cmake -DWITH_TSP=ON -DWITH_DD=ON .
CMake Warning (dev) at CMakeLists.txt:12 (add_subdirectory):
The source directory
/usr/local/src/pgrouting-1.05/cmake
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is
being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt.
Run
"cmake --help-policy CMP0014" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- PostgreSQL not found.
FATALERROR Please check your PostgreSQL installation.
Boost headers were found here: /usr/local/include
Output directory for libraries is set to sh: pg_config: command not found
Installation directory for libraries is set to sh: pg_config: command not
found and for SQL files is set to /usr/share/postlbs
Installation directory for libraries is set to sh: pg_config: command not
found
CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
POSTGRESQL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /usr/local/src/pgrouting-1.05
used as include directory in directory
/usr/local/src/pgrouting-1.05/core
used as include directory in directory
/usr/local/src/pgrouting-1.05/extra/tsp
used as include directory in directory
/usr/local/src/pgrouting-1.05/extra/tsp/src
used as include directory in directory
/usr/local/src/pgrouting-1.05/extra/tsp/sql
used as include directory in directory
/usr/local/src/pgrouting-1.05/extra/driving_distance
used as include directory in directory
/usr/local/src/pgrouting-1.05/extra/driving_distance/src
used as include directory in directory
/usr/local/src/pgrouting-1.05/extra/driving_distance/sql
used as include directory in directory
/usr/local/src/pgrouting-1.05/core/src
used as include directory in directory
/usr/local/src/pgrouting-1.05/core/sql
-- Configuring incomplete, errors occurred!
I am fairly new to PostGreSQL and Linux, so any help is greatly
appreciated.
Juan Pablo Garzón Dueñas
Profesional II Administración de Base de Datos Espacial
Aguazul SA E.S.P.
Calle 82 No 19 A 34 Piso 7 - Tel: 7470001 Ext. 1038 -
Cel: 318 415 4938 - 317 4400209
Fax: 7470010
P Antes de imprimir piense en su responsabilidad y compromiso con el
medio ambiente.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20110725/ab0faa09/attachment-0001.html
More information about the Pgrouting-users
mailing list