Ticket #12 (closed bug report: invalid)

Opened 3 years ago

Last modified 3 years ago

Failed installion of pgRouting-1.0.0a on linux

Reported by: maileen83 Owned by: anton
Priority: minor Milestone:
Component: pgRouting package Version: 1.0.0a
Keywords: install, pgRouting-1,shooting_star_boost_wrapper.o Cc:

Description

I'm using: gdal-1.4 postgresql-8.2.3 CGAL-3.2.1 boost_1_33_1

I issued a command: ./configure --with-cgal=/usr/local/cgal --with-gaul=/usr/local

and got the following:


checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes configure: checking for BOOST ... configure: checking for astar_search.hpp in /usr/include/boost/graph ... configure: checking for CGAL ... find: /usr/share/CGAL: No such file or directory configure: checking for GAUL ... configure: creating ./config.status config.status: creating Makefile [root@app16 pgRouting-1.0.0a]# make install sed 's,MODULE_PATHNAME,$libdir/routing,g' routing.sql.in >routing.sql gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -c -o dijkstra.o dijkstra.c g++ -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -O2 -g -fpic -I/usr/include/boost/graph -c boost_wrapper.cpp gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -c -o astar.o astar.c g++ -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -O2 -g -fpic -I/usr/include/boost/graph -c astar_boost_wrapper.cpp gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -c -o drivedist.o drivedist.c g++ -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -O2 -g -fpic -I/usr/include/boost/graph -c boost_drivedist.cpp gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -c -o shooting_star.o shooting_star.c shooting_star.c: In function `fetch_edge_shooting_star': shooting_star.c:250: warning: ISO C90 forbids mixed declarations and code shooting_star.c: In function `compute_shortest_path_shooting_star': shooting_star.c:435: warning: ISO C90 forbids mixed declarations and code shooting_star.c:442: warning: ISO C90 forbids mixed declarations and code shooting_star.c:292: warning: unused variable `t' shooting_star.c:435: warning: unused variable `stime' shooting_star.c:442: warning: unused variable `etime' g++ -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -O2 -g -fpic -I/usr/include/boost/graph -c shooting_star_boost_wrapper.cpp In file included from shooting_star_boost_wrapper.cpp:29: ./shooting_star_search.hpp:21:42: boost/pending/relaxed_heap.hpp: No such file or directory shooting_star_boost_wrapper.cpp: In function `int boost_shooting_star(edge_shooting_star_t*, unsigned int, int, int, bool, bool, path_element_t**, int*, char**, int)': shooting_star_boost_wrapper.cpp:183: warning: NULL used in arithmetic shooting_star_boost_wrapper.cpp:195: warning: NULL used in arithmetic make: *** [shooting_star_boost_wrapper.o] Error 1

Change History

Changed 3 years ago by anton

  • owner set to anton
  • status changed from new to assigned

Your problem is here - 'boost/pending/relaxed_heap.hpp: No such file or directory'.

For me it looks like you are using an old version of Boost library. Are you sure that you version is 1.33.1?

Just make sure that you have such file. If you won't find it, try to update Boost.

Changed 3 years ago by anton

  • status changed from assigned to closed
  • resolution set to invalid

No replies or progress reports since long time ago. Closed as invalid.

Changed 3 years ago by nagase

I hope that notice and link are necessary in http://pgrouting.postlbs.org/wiki/InstallationManual like "astar_search.hpp".

Note: See TracTickets for help on using tickets.