package (#21) - Error installing pgrouting on Ubuntu 8.10 (#208) - Message List
I'm trying install pgrouting on Ubuntu 8.10. I've followed the Ubuntu 8.04 guide in the wiki (http://pgrouting.postlbs.org/wiki/1.x/InstallationUbuntu804)
I'm on section 2 (Compile pgRouting core (with TSP and DD flag on) and when I run "make" I get the following error
paul@route2:~/pgrouting$ make [ 25%] Built target routing_tsp [ 25%] Building CXX object extra/driving_distance/src/CMakeFiles/routing_dd.dir/boost_drivedist.o In file included from /usr/include/c++/4.3/ext/hash_set:64,
from /usr/include/boost/graph/adjacency_list.hpp:22, from /home/paul/pgrouting/extra/driving_distance/src/boost_drivedist.cpp:25:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from /usr/include/boost/graph/dijkstra_shortest_paths.hpp:19,
from /home/paul/pgrouting/extra/driving_distance/src/boost_drivedist.cpp:26:
/usr/include/boost/pending/relaxed_heap.hpp: In member function âsize_t boost::relaxed_heap<IndexedType?, Compare, ID>::log_base_2(size_t)â: /usr/include/boost/pending/relaxed_heap.hpp:101: error: âCHAR_BITâ was not declared in this scope make[2]: *** [extra/driving_distance/src/CMakeFiles/routing_dd.dir/boost_drivedist.o] Error 1 make[1]: *** [extra/driving_distance/src/CMakeFiles/routing_dd.dir/all] Error 2 make: *** [all] Error 2
Is pgrouting supported on Ubuntu 8.10?
Any help in resolving this problem would be much appreciated.
Many Thanks
-
Message #766
Hi
I do not have a solution, but I can report the same problem at the same stage for Ubuntu 8.04. Initially I thought this was due to libboost-graph installation (see discussion), but now I think perhaps there are two unrelated problems.
My error log is printed below.
[ 16%] Built target routing_tsp [ 25%] Building CXX object extra/driving_distance/src/CMakeFiles/routing_dd.dir/boost_drivedist.o In file included from /usr/include/c++/4.3/ext/hash_set:64, from /usr/include/boost/graph/adjacency_list.hpp:22, from /root/pgrouting/extra/driving_distance/src/boost_drivedist.cpp:25: /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from /usr/include/boost/graph/dijkstra_shortest_paths.hpp:19, from /root/pgrouting/extra/driving_distance/src/boost_drivedist.cpp:26: /usr/include/boost/pending/relaxed_heap.hpp: In member function ‘size_t boost::relaxed_heap<IndexedType, Compare, ID>::log_base_2(size_t)’: /usr/include/boost/pending/relaxed_heap.hpp:101: error: ‘CHAR_BIT’ was not declared in this scope make[2]: *** [extra/driving_distance/src/CMakeFiles/routing_dd.dir/boost_drivedist.o] Error 1 make[1]: *** [extra/driving_distance/src/CMakeFiles/routing_dd.dir/all] Error 2 make: *** [all] Error 2
Thanks
David
the_nerdling02/02/09 20:48:24 (22 months ago) -
Message #768
Hi!
I have the same problem with ubuntu 8.10. I also followed the guide. Anyone has a solution for this issue?
The errors:
moli@merak:/usr/local/pgrouting$ cmake -DWITH_TSP=ON -DWITH_DD=ON Boost headers were found here: /usr/include Output directory for libraries is set to /usr/lib/postgresql/8.3/lib Installation directory for libraries is set to /usr/lib/postgresql/8.3/lib and for SQL files is set to /usr/share/postlbs Installation directory for libraries is set to /usr/lib/postgresql/8.3/lib -- Configuring done -- Generating done -- Build files have been written to: /usr/local/pgrouting moli@merak:/usr/local/pgrouting$ make [ 8%] Building C object extra/tsp/src/CMakeFiles/routing_tsp.dir/tsp.o [ 16%] Building CXX object extra/tsp/src/CMakeFiles/routing_tsp.dir/tsp_solver.o Linking CXX shared library ../../../lib/librouting_tsp.so [ 16%] Built target routing_tsp [ 25%] Building C object extra/driving_distance/src/CMakeFiles/routing_dd.dir/alpha.o [ 33%] Building CXX object extra/driving_distance/src/CMakeFiles/routing_dd.dir/alpha_drivedist.o [ 41%] Building CXX object extra/driving_distance/src/CMakeFiles/routing_dd.dir/boost_drivedist.o En el archivo incluído de /usr/include/c++/4.3/ext/hash_set:64, from /usr/include/boost/graph/adjacency_list.hpp:22, from /usr/local/pgrouting/extra/driving_distance/src/boost_drivedist.cpp:25: /usr/include/c++/4.3/backward/backward_warning.h:33:2: aviso: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from /usr/include/boost/graph/dijkstra_shortest_paths.hpp:19, from /usr/local/pgrouting/extra/driving_distance/src/boost_drivedist.cpp:26: /usr/include/boost/pending/relaxed_heap.hpp: In member function ‘size_t boost::relaxed_heap<IndexedType, Compare, ID>::log_base_2(size_t)’: /usr/include/boost/pending/relaxed_heap.hpp:101: error: ‘CHAR_BIT’ no se declaró en este ámbito make[2]: *** [extra/driving_distance/src/CMakeFiles/routing_dd.dir/boost_drivedist.o] Error 1 make[1]: *** [extra/driving_distance/src/CMakeFiles/routing_dd.dir/all] Error 2 make: *** [all] Error 2
Many thanks from spain.
moli02/05/09 07:09:40 (22 months ago)-
Message #796
I had the same error with Debian Lenny.
That file belongs to libboost-dev $dpkg -S /usr/include/boost/pending/relaxed_heap.hpp libboost-dev: /usr/include/boost/pending/relaxed_heap.hpp
and it turns out the bug has just been fixed in the Debian package libboost-dev_1.34.1-15_i386 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495204
I suppose the same has/will occur with the Ubuntu package.
pgRouting compiles fine afterwards
jg101002/17/09 13:38:23 (21 months ago)
-
-
Message #808
Hi, is there any Ubuntu 8.10 users who has solved this issue? I tried to update libboost-dev library to 1.34.15 in Ubuntu but failed due to depency issues. Please help!
ovaris02/23/09 16:15:58 (21 months ago)