<div dir="ltr">hello,<br><br>when i run make i get the following errors<br><div><br>make<br>[  8%] Building C object extra/tsp/src/CMakeFiles/routing_tsp.dir/tsp.o<br>In file included from /usr/pgsql-9.1/include/server/nodes/execnodes.h:17,<br>



                 from /usr/pgsql-9.1/include/server/executor/execdesc.h:18,<br>                 from /usr/pgsql-9.1/include/server/executor/executor.h:17,<br>                 from /usr/pgsql-9.1/include/server/funcapi.h:21,<br>



                 from /sources/pgrouting/pgrouting/extra/tsp/src/tsp.c:26:<br><br></div><div>if
 i edit the the files listed in the error output above so that the line 
that says #include "node/somefile.h" has the full path to the file to be
 included (/usr/pgsql-9.1/include/server/node/somefile.h) then the 
make command no longer produces an error.  but any time there is a new 
file to be included i need to edit the first file to include the full 
path and on and on.  Is there something i am missing so that that the 
pgrouting make "knows" that everything can be found somewhere in 
/usr/pgsql-9.1/include?<br>

<br></div><div>my CMakeCahce.txt file looks like this:<br></div><div>  POSTGRESQL_INCLUDE_DIR:FILEPATH=/usr/pgsql-9.1/include<br><br></div><div>I am trying to install this on CentOS 5.5 with a postgresql installation that came from 9.1.9-1PGDG.rhel5, postgis also successfully installed and extension created in database<br>



<br></div><div>would it work if i just kept adding the full path in the 
include line in the *.h files, and if I did would that mess anything up 
for postgres in general?<br><br></div><div>thanks for any advice<br><br></div>

ps my cmake -DWITH_TSP=ON -DWITH_DD=ON . output looks like this:<br><br>Boost headers were found here: /usr/include<br>Output directory for libraries is set to /usr/pgsql-9.1/lib<br>Installation directory for libraries is set to /usr/pgsql-9.1/lib and for SQL files is set to /usr/share/pgrouting<br>



Installation directory for libraries is set to /usr/pgsql-9.1/lib<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /sources/pgrouting/pgrouting</div>