[Gfoss] pgrouting in debian lenny

flavio rigolon flavio.rigolon a gmail.com
Lun 2 Nov 2009 09:44:51 CET


ciao tutti,
 sto cercando di compilare le librerie di pgrouting. Dopo avere installato
le librerie di requirements (BGL, GAUL, CGAL) il primo passo di
configurazione termina senza errori. Lanciando il make ottengo questo:

-----------------------------
/home/sit/src/pgrouting/core/src/dijkstra.c:23:26: error: executor/spi.h: No
such file or directory
/home/sit/src/pgrouting/core/src/dijkstra.c:24:21: error: funcapi.h: No such
file or directory
/home/sit/src/pgrouting/core/src/dijkstra.c:26:18: error: fmgr.h: No such
file or directory
/home/sit/src/pgrouting/core/src/dijkstra.c:30: warning: parameter names
(without types) in function declaration
/home/sit/src/pgrouting/core/src/dijkstra.c: In function ‘finish’:
/home/sit/src/pgrouting/core/src/dijkstra.c:63: error: ‘SPI_OK_FINISH’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:63: error: (Each undeclared
identifier is reported only once
/home/sit/src/pgrouting/core/src/dijkstra.c:63: error: for each function it
appears in.)
/home/sit/src/pgrouting/core/src/dijkstra.c: At top level:
/home/sit/src/pgrouting/core/src/dijkstra.c:81: error: expected ‘)’ before
‘*’ token
/home/sit/src/pgrouting/core/src/dijkstra.c:136: error: expected ‘)’ before
‘*’ token
/home/sit/src/pgrouting/core/src/dijkstra.c: In function
‘compute_shortest_path’:
/home/sit/src/pgrouting/core/src/dijkstra.c:181: error: ‘Portal’ undeclared
(first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:181: error: expected ‘;’ before
‘SPIportal’
/home/sit/src/pgrouting/core/src/dijkstra.c:201: error: ‘SPI_OK_CONNECT’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:207: warning: assignment makes
pointer from integer without a cast
/home/sit/src/pgrouting/core/src/dijkstra.c:214: error: ‘SPIportal’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:226: error: ‘SPI_tuptable’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:231: error: ‘SPI_processed’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:247: error: ‘SPITupleTable’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:247: error: ‘tuptable’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:248: error: ‘TupleDesc’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:248: error: expected ‘;’ before
‘tupdesc’
/home/sit/src/pgrouting/core/src/dijkstra.c:252: error: ‘HeapTuple’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:252: error: expected ‘;’ before
‘tuple’
/home/sit/src/pgrouting/core/src/dijkstra.c:253: error: ‘tuple’ undeclared
(first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:253: error: ‘tupdesc’ undeclared
(first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c: At top level:
/home/sit/src/pgrouting/core/src/dijkstra.c:353: warning: data definition
has no type or storage class
/home/sit/src/pgrouting/core/src/dijkstra.c:353: warning: parameter names
(without types) in function declaration
/home/sit/src/pgrouting/core/src/dijkstra.c: In function ‘shortest_path’:
/home/sit/src/pgrouting/core/src/dijkstra.c:357: error: ‘FuncCallContext’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:357: error: ‘funcctx’ undeclared
(first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:360: error: ‘TupleDesc’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:360: error: expected ‘;’ before
‘tuple_desc’
/home/sit/src/pgrouting/core/src/dijkstra.c:377: warning: passing argument 1
of ‘text2char’ makes pointer from integer without a cast
/home/sit/src/pgrouting/core/src/dijkstra.c:411: error: ‘tuple_desc’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:416: error: ‘HeapTuple’
undeclared (first use in this function)
/home/sit/src/pgrouting/core/src/dijkstra.c:416: error: expected ‘;’ before
‘tuple’
/home/sit/src/pgrouting/core/src/dijkstra.c:446: error: ‘tuple’ undeclared
(first use in this function)
make[2]: *** [core/src/CMakeFiles/routing.dir/dijkstra.o] Error 1
make[1]: *** [core/src/CMakeFiles/routing.dir/all] Error 2
make: *** [all] Error 2

-----------------------------
Sembra non trovi alcune librerie (spi.h, funcapi.h) che sono presenti
comunque nella directory di podtgresql indicata nel file di config....non
capisco dove altro agire per impostare in maniera corretta.
Qualcun altro ha avuto esperienza con debian Lenny?

Grazie per qualsiasi suggerimento
flavio

-- 
Linux, perche' no? Io uso debian.
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.faunalia.it/pipermail/gfoss/attachments/20091102/08c5b33d/attachment.htm>


Maggiori informazioni sulla lista Gfoss