If you don't want to compile yourself, you can add the ELGIS repository to install the pgRouting package for CentOS:<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS">http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS</a></div>
<div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">On Sat, Jul 30, 2011 at 11:19 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Your first error is most likely the issue. The build system can not find postgres.h which is the postgresql development header file. You need to install the postgresql development files to build pgRouting. So you might need to do something like:<br>
<br>
sudo yum install postgresql-devel<br>
<br>
You need to make sure you all the dependencies installed.<br>
<br>
-Steve<div><div></div><div class="h5"><br>
<br>
On 7/30/2011 6:18 AM, Jules Kouadio wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everybody<br>
On CentOs 5 (french version).<br>
Why all this errors after the "make install" for Tps and dijkstra?<br>
Can someone help me ?<br>
<br>
Thanks !<br>
<br>
ERROR [root@bnetd pgrouting]# make install<br>
<br>
[ 8%] Building C object extra/tsp/src/CMakeFiles/<u></u>routing_tsp.dir/tsp.o<br>
Dans le fichier inclus à partir de<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:22:<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.h:25:22: erreur: postgres.h<br>
: Aucun fichier ou répertoire de ce type Dans le fichier inclus à<br>
partir de /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.h:26, à partir de<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:22:<br>
/home/sekedoua/pgrouting/core/<u></u>src/dijkstra.h:25:22: erreur: postgres.h<br>
: Aucun fichier ou répertoire de ce type In file included from<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.h:26, from<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:22:<br>
/home/sekedoua/pgrouting/core/<u></u>src/dijkstra.h:32: erreur: expected<br>
specifier-qualifier-list before ‘float8’<br>
/home/sekedoua/pgrouting/core/<u></u>src/dijkstra.h:40: erreur: expected<br>
specifier-qualifier-list before ‘float8’<br>
/home/sekedoua/pgrouting/core/<u></u>src/dijkstra.h:47: erreur: expected<br>
declaration specifiers or ‘...’ before ‘bool’<br>
/home/sekedoua/pgrouting/core/<u></u>src/dijkstra.h:47: erreur: expected<br>
declaration specifiers or ‘...’ before ‘bool’ In file included from<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:22:<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.h:31: erreur: expected<br>
specifier-qualifier-list before ‘float8’<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:25:26: erreur:<br>
executor/spi.h : Aucun fichier ou répertoire de ce type<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:26:21: erreur: funcapi.h<br>
: Aucun fichier ou répertoire de ce type<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:27:29: erreur:<br>
catalog/pg_type.h : Aucun fichier ou répertoire de ce type<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:32:18: erreur: fmgr.h :<br>
Aucun fichier ou répertoire de ce type<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:73: erreur: expected ‘=’,<br>
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tsp’<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:98: erreur: expected ‘)’<br>
before ‘*’ token /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c: In<br>
function ‘finish’: /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:111:<br>
erreur: ‘SPI_OK_FINISH’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:111: erreur: (Each<br>
undeclared identifier is reported only once<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:111: erreur: for each<br>
function it appears in.)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:113: erreur: ‘ERROR’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c: Hors de toute fonction :<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:123: erreur: expected<br>
specifier-qualifier-list before ‘float8’<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:129: erreur: expected ‘)’<br>
before ‘*’ token /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:152:<br>
erreur: expected ‘)’ before ‘*’ token<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c: In function ‘solve_tsp’:<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:194: erreur: ‘Portal’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:194: erreur: expected ‘;’<br>
before ‘SPIportal’ /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:195:<br>
erreur: ‘bool’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:195: erreur: expected ‘;’<br>
before ‘moredata’ /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:202:<br>
erreur: unknown field ‘x’ specified in initializer<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:202: attention : éléments<br>
en excès dans l'initialisation de la structure<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:202: attention : (near<br>
initialization for ‘point_columns’)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:202: erreur: unknown<br>
field ‘y’ specified in initializer<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:202: attention : éléments<br>
en excès dans l'initialisation de la structure<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:202: attention : (near<br>
initialization for ‘point_columns’)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:228: erreur: ‘ERROR’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:238: erreur:<br>
‘SPI_OK_CONNECT’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:244: attention :<br>
assignment makes pointer from integer without a cast<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:252: erreur: ‘SPIportal’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:252: erreur: ‘true’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:261: erreur: ‘moredata’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:261: erreur: ‘TRUE’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:267: erreur:<br>
‘SPI_tuptable’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:271: erreur:<br>
‘SPI_processed’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:278: attention :<br>
assignment makes pointer from integer without a cast<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:280: attention :<br>
assignment makes pointer from integer without a cast<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:291: erreur:<br>
‘SPITupleTable’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:291: erreur: ‘tuptable’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:292: erreur: ‘TupleDesc’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:292: erreur: expected ‘;’<br>
before ‘tupdesc’ /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:298:<br>
erreur: ‘HeapTuple’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:298: erreur: expected ‘;’<br>
before ‘tuple’ /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:300:<br>
erreur: ‘tuple’ undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:300: erreur: ‘tupdesc’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:309: erreur: ‘FALSE’<br>
undeclared (first use in this function)<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:325: erreur: ‘point_t’<br>
has no member named ‘x’<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:326: erreur: ‘point_t’<br>
has no member named ‘y’<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:364: erreur:<br>
‘ERRCODE_E_R_E_CONTAINING_SQL_<u></u>NOT_PERMITTED’ undeclared (first use in<br>
this function) /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c: Hors de<br>
toute fonction : /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:370:<br>
attention : la définition de données n'a pas de type ni de classe de<br>
stockage /home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:370: attention :<br>
noms de paramètres (sans type) dans la déclaration de fonction<br>
/home/sekedoua/pgrouting/<u></u>extra/tsp/src/tsp.c:372: erreur: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tsp’ make[2]: ***<br>
[extra/tsp/src/CMakeFiles/<u></u>routing_tsp.dir/tsp.o] Erreur 1 make[1]: ***<br>
[extra/tsp/src/CMakeFiles/<u></u>routing_tsp.dir/all] Erreur 2 make: ***<br>
<br>
2011/7/29, Ricardo Bayley<<a href="mailto:ricardo.bayley@gmail.com" target="_blank">ricardo.bayley@gmail.<u></u>com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
On the pgRouting website, it says that the latest compiled windows binaries<br>
are for pg8.4.2<br>
Is this strictily for 8.4.2 or for all the 8.4.x series ?<br>
<br>
best regards<br>
<br>
Ricardo<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>
Web: <a href="http://georepublic.de/" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a></span><br>
</div>