package (#21) - Getting many errors by install pgRouting on Debian 4.0 (#86) - Message List

Getting many errors by install pgRouting on Debian 4.0

Dear users, I have successfully installed PostgreSQL/PostGIS, proj, Geos, boost and GAUL.

I succesfully made a "cmake ." in the pgrouting-directory, but if I write a

"make" I get many mistakes like:

/home/routing/pgrouting/core/src/dijkstra.c:253: error: ‘tupdesc’ undeclared (first use in this function) /home/routing/pgrouting/core/src/dijkstra.c:260: error: ‘FALSE’ undeclared (first use in this function) /home/routing/pgrouting/core/src/dijkstra.c:322: error: ‘directed’ undeclared (first use in this function) /home/routing/pgrouting/core/src/dijkstra.c:323: warning: passing argument 7 of ‘boost_dijkstra’ from incompatible pointer type /home/routing/pgrouting/core/src/dijkstra.c:323: error: too many arguments to function ‘boost_dijkstra’ /home/routing/pgrouting/core/src/dijkstra.c:345: error: ‘ERRCODE_E_R_E_CONTAINING_SQL_NOT_PERMITTED’ undeclared (first use in this function) /home/routing/pgrouting/core/src/dijkstra.c: At top level: /home/routing/pgrouting/core/src/dijkstra.c:353: warning: data definition has no type or storage class /home/routing/pgrouting/core/src/dijkstra.c:353: warning: parameter names (without types) in function declaration /home/routing/pgrouting/core/src/dijkstra.c:355: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘shortest_path’ make[2]: *** [core/src/CMakeFiles/routing.dir/dijkstra.o] Fehler 1 make[1]: *** [core/src/CMakeFiles/routing.dir/all] Fehler 2 make: *** [all] Fehler 2

What can I do? Thank you in advance.

  • Message #327

    It looks like you need to install postgres-devel package.

    • Message #328

      Hi Anton, thank you very much, it works now.

      But is there a way to install it without the dev-Paket?

      I mean: In the first step I downloaded the newest postgresql-source-code and made: ./configure, make, make install

      Is there a way while doing "make" of pgrouting to say where to find the libpg.so?

      • Message #329

        I'm afraid there is no way. PgRouting? needs some header files from this package.

        • Message #331

          All right. Thank you again, Kai