<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I'm trying to do an install of pgRouting on a Linux box. However the
postgreSQL and other required libraries are not in the default
locations. Is there a way to pass parameters to cmake to tell it where
the required libraries are located. (geos, postgres, etc.)<br>
<br>
I tried cmake and got the following error: <br>
<br>
[twetzer@turtle ~/pgrouting]$ cmake .<br>
-- PostgreSQL not found.<br>
FATALERROR Please check your Boost installation.<br>
Boost headers were found here: /usr/local/include/boost-1_38<br>
Output directory for libraries is set to sh: pg_config: command not
found<br>
Installation directory for libraries is set to sh: pg_config: command
not found and for SQL files is set to /usr/share/postlbs<br>
CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.<br>
Please set them or make sure they are set and tested correctly in the
CMake files:<br>
POSTGRESQL_INCLUDE_DIR (ADVANCED)<br>
used as include directory in directory /home/twetzer/pgrouting<br>
used as include directory in directory /home/twetzer/pgrouting/core<br>
used as include directory in directory
/home/twetzer/pgrouting/core/src<br>
used as include directory in directory
/home/twetzer/pgrouting/core/sql<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
I also tried to <br>
setenv POSTGRESQL_INCUDE_DIR "/opt/pgsql83/include"<br>
to point to the actual directory and got the same error.<br>
<br>
My linux environment is: Fedora Core 3.<br>
<br>
Please let me know if you have any ideas!<br>
Thanks,
<div class="moz-signature">-- <br>
Tim Wetzer<br>
Refractions Research<br>
(250) 383-3022<br>
Email: <a href="mailto:twetzer@refractions.net">twetzer@refractions.net</a><br>
</div>
</body>
</html>