[pgrouting-users] CMake Error: PostgreSQL not found in CentOS

Hello everyone,

We are trying to install pgRouting 2.0 in CentOS 6.4, but keep getting this error:

– PGROUTING_GIT_TAG: pgrouting-2.0.0
– PGROUTING_GIT_BUILD: 0
– PGROUTING_GIT_HASH: f26831f
– PGROUTING_GIT_BRANCH: master
– PGROUTING_VERSION_REVISION_NAME: f26831f master
– PGROUTING_VERSION_REVISION_HASH: f26831f
– UNIX=1
– WIN32=
– POSTGRESQL_EXECUTABLE is /usr/pgsql-9.3/bin/postmaster
– POSTGRESQL_PG_CONFIG is /usr/pgsql-9.3/bin/pg_config
– PostgreSQL not found.
CMake Error at CMakeLists.txt:122 (message):
Please check your PostgreSQL installation.

– Configuring incomplete, errors occurred!

Our command:

cmake28 -DPOSTGRESQL_EXECUTABLE:FILEPATH=/usr/pgsql-9.3/bin/postgres
cmake28 -DPOSTGRESQL_PG_CONFIG:FILEPATH=/usr/pgsql-9.3/bin/pg_config

(postgresql 9.3 and PostGIS 2.1.1 are correctly running)

Any clue will be highly appreciated.

Thank you!
Antònia