Ticket #138 (closed bug report: wontfix)
Compile error with Ubuntu 8.10
Reported by: | daniel | Owned by: | anton |
---|---|---|---|
Priority: | blocker | Milestone: | Version 1.1 |
Component: | pgRouting package | Version: | trunk |
Keywords: | Cc: |
Description
Tried to compile the latest version according to the 8.04 installation manual, but it failed with this error message:
daniel@karida:~/pgrouting$ LC_ALL="en_GB.UTF-8" make -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PostgreSQL: /usr/include/postgresql/8.3/server, /usr/lib/libpq.so -- Boost version: 1.34.1 -- Found the following Boost libraries: Boost headers were found here: /usr/include Output directory for libraries is set to /usr/lib/postgresql/8.3/lib -- Found PGROUTING_CORE core: /home/daniel/pgrouting/core/src Installation directory for libraries is set to /usr/lib/postgresql/8.3/lib and for SQL files is set to /usr/share/postlbs -- Configuring done -- Generating done -- Build files have been written to: /home/daniel/pgrouting Scanning dependencies of target routing [ 16%] Building C object core/src/CMakeFiles/routing.dir/dijkstra.o [ 33%] Building C object core/src/CMakeFiles/routing.dir/astar.o [ 50%] Building C object core/src/CMakeFiles/routing.dir/shooting_star.o [ 66%] Building CXX object core/src/CMakeFiles/routing.dir/boost_wrapper.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/daniel/pgrouting/core/src/boost_wrapper.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/daniel/pgrouting/core/src/boost_wrapper.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]: *** [core/src/CMakeFiles/routing.dir/boost_wrapper.o] Error 1 make[1]: *** [core/src/CMakeFiles/routing.dir/all] Error 2 make: *** [all] Error 2 daniel@karida:~/pgrouting$
Change History
Note: See
TracTickets for help on using
tickets.