package (#21) - Installing PGRouting on PostGreSQL 8.4 (#331) - Message List

Installing PGRouting on PostGreSQL 8.4

Hi All,

I am installing Pgrouting for PostGreSQL 8.4 on Linux Ubuntu Karmic Koala. I am following the instructions provided on this page; http://pgrouting.postlbs.org/wiki/OSMTutorial

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 .

I get the following error;

~/pgrouting$ sudo cmake -DWITH_TSP=ON -DWITH_DD=ON .
cmake: /opt/PostgreSQL/psqlODBC/lib/libgssapi_krb5.so.2: no version information available (required by /usr/lib/libcurl-gnutls.so.4)
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- PostgreSQL not found.
FATALERROR Please check your PostgreSQL installation.
-- Boost version: 1.38.0
-- Found the following Boost libraries:
Boost headers were found here: /usr/include
Output directory for libraries is set to /usr/lib/postgresql/8.4/lib
-- Found PGROUTING_CORE core: /home/saeed/pgrouting/core/src
Installation directory for libraries is set to /usr/lib/postgresql/8.4/lib and for SQL files is set to /usr/share/postlbs
-- Found GAUL: /usr/local/lib/libgaul.so, /usr/local/lib/libgaul_util.so
Installation directory for libraries is set to /usr/lib/postgresql/8.4/lib
-- Found CGAL: /usr/include, /usr/lib/libCGAL.so
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 /home/saeed/pgrouting
   used as include directory in directory /home/saeed/pgrouting/core
   used as include directory in directory /home/saeed/pgrouting/extra/tsp
   used as include directory in directory /home/saeed/pgrouting/extra/tsp/src
   used as include directory in directory /home/saeed/pgrouting/extra/tsp/sql
   used as include directory in directory /home/saeed/pgrouting/extra/driving_distance
   used as include directory in directory /home/saeed/pgrouting/extra/driving_distance/src
   used as include directory in directory /home/saeed/pgrouting/extra/driving_distance/sql
   used as include directory in directory /home/saeed/pgrouting/core/src
   used as include directory in directory /home/saeed/pgrouting/core/sql
-- Configuring incomplete, errors occurred!

I am fairly new to PostGreSQL and Linux, so any help is greatly appreciated.

Saeed.