Ticket #151: pgrouting.txt

File pgrouting.txt, 3.0 KB (added by vivek.rai, 21 months ago)

pgrouting compile error

Line 
1 ./configure --with-cgal=/usr/local/cgal --with-gaul=/usr/local/gaul --with-boost=/usr/local/boost
2checking for gcc... gcc
3checking for C compiler default output file name... a.out
4checking whether the C compiler works... yes
5checking whether we are cross compiling... no
6checking for suffix of executables...
7checking for suffix of object files... o
8checking whether we are using the GNU C compiler... yes
9checking whether gcc accepts -g... yes
10checking for gcc option to accept ANSI C... none needed
11checking for g++... g++
12checking whether we are using the GNU C++ compiler... yes
13checking whether g++ accepts -g... yes
14checking how to run the C preprocessor... gcc -E
15checking for egrep... grep -E
16checking for ANSI C header files... yes
17configure: checking for BOOST ...
18configure: checking for astar_search.hpp in /usr/local/boost/include/boost/graph ...
19configure: checking for CGAL ...
20find: /usr/share/CGAL: No such file or directory
21find: /usr/local/cgal/make: No such file or directory
22configure: checking for GAUL ...
23configure: creating ./config.status
24config.status: creating Makefile
25[root@mapxl routing]# make
26make: pg_config: Command not found
27Makefile:55: no file name for `include'
28g++  -O2 -g -fpic -I/usr/local/boost/include/boost/graph -c boost_wrapper.cpp
29In file included from boost_wrapper.cpp:30:
30dijkstra.h:25:22: postgres.h: No such file or directory
31In file included from boost_wrapper.cpp:30:
32dijkstra.h:32: error: `float8' does not name a type
33dijkstra.h:33: error: `float8' does not name a type
34dijkstra.h:40: error: `float8' does not name a type
35boost_wrapper.cpp:56: error: `float8' does not name a type
36boost_wrapper.cpp: In function `int boost_dijkstra(edge_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**)':
37boost_wrapper.cpp:85: error: 'struct Vertex' has no member named 'cost'
38boost_wrapper.cpp:85: error: 'struct edge' has no member named 'cost'
39boost_wrapper.cpp:95: error: 'struct Vertex' has no member named 'cost'
40boost_wrapper.cpp:95: error: 'struct edge' has no member named 'reverse_cost'
41boost_wrapper.cpp:99: error: 'struct Vertex' has no member named 'cost'
42boost_wrapper.cpp:99: error: 'struct edge' has no member named 'cost'
43boost_wrapper.cpp:121: error: `float8' was not declared in this scope
44boost_wrapper.cpp:121: error: template argument 1 is invalid
45boost_wrapper.cpp:121: error: template argument 2 is invalid
46boost_wrapper.cpp:121: error: invalid type in declaration before '(' token
47boost_wrapper.cpp:124: error: `cost' is not a member of `Vertex'
48boost_wrapper.cpp:125: error: invalid types `int[int]' for array subscript
49boost_wrapper.cpp:160: error: 'struct path_element' has no member named 'cost'
50boost_wrapper.cpp:160: error: invalid types `int[boost_dijkstra::vertex_descriptor]' for array subscript
51boost_wrapper.cpp:181: error: 'struct path_element' has no member named 'cost'
52boost_wrapper.cpp:181: error: 'struct Vertex' has no member named 'cost'
53make: *** [boost_wrapper.o] Error 1