[postgis-users] PgRouting - Open Source routing solution for PostgreSQL! Please help me.

Fay Du fay.du at versaterm.com
Fri Sep 22 10:02:04 PDT 2006


Did you do this as README.dijkstra says?
       Edit Makefile, and set the BOOST_PATH with the location of your
boost library.
 
When we installed it, we had some errors (I could not remember what they
were). After we properly set the BOOST_PATH, we installed it with no
error.
 
Fay
 
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
Nguyen Thi Van An
Sent: Thursday, September 21, 2006 9:36 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] PgRouting - Open Source routing solution for
PostgreSQL! Please help me.
 
Hi everybody!

I already installed successfully  boost, boost-devel, boost-jam , GAUL,
CGAL (use yum install CGAL ). Then I installed pgRouting (download
source pgRouting-0.9.7.tgz -> uncompress pgRouting-0.9.7.tgz to folder
routing) as below:

[root at anntv routing]# ./configure
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
find: /usr/make: No such file or directory
configure: checking for GAUL ...
configure: creating ./config.status
config.status: creating Makefile

Then:

[root at anntv routing]# make install
i386-redhat-linux-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall
-Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic
-shared -Wl,-soname,librouting.so.0  dijkstra.o boost_wrapper.o astar.o
astar_boost_wrapper.o drivedist.o boost_drivedist.o tsp.o tsp_solver.o
alpha.o alpha_drivedist.o -L/usr/lib -L/usr/lib -L/usr/lib -lstdc++
-lgaul_util -lgaul -lCGAL -o librouting.so.0.0
/usr/bin/ld: cannot find -lCGAL
collect2: ld returned 1 exit status
make: *** [librouting.so.0.0] Error 1

I don't know what error  it is. Please help me!

I think bulk of code I see on the page (when I run routing sample
application) caused by leak of needed libs. I use FedoraCore 5.

Thanks, 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060922/da46835e/attachment.html>


More information about the postgis-users mailing list