package (#21) - problem installing routing (#26) - Message List

problem installing routing

hi, I have Postgresql, PostGis?, Geos, proj4, boost, gaul, CGAL on my ubuntu. Now I type ./configure for routing and I haven't problem, then I type make and I have this problem :

federico@federico-laptop:~/Desktop/pg_routing/routing$ ./configure --prefix=/usr/local/routing --with-cgal=/usr/local/cgal/ --with-gaul=/usr/local/gaul/ 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/local/cgal//make: No such file or directory configure: checking for GAUL ... configure: creating ./config.status config.status: creating Makefile federico@federico-laptop:~/Desktop/pg_routing/routing$ make Makefile:56: /usr/lib/postgresql/8.1/lib/pgxs/src/makefiles/pgxs.mk: Nessun file o directory make: *** No rule to make target `/usr/lib/postgresql/8.1/lib/pgxs/src/makefiles/pgxs.mk'. Stop. federico@federico-laptop:~/Desktop/pg_routing/routing$

what's the problem.

ciao

federico

  • Message #93

    Hi,

    Can you confirm that you really have the '/usr/lib/postgresql/8.1/lib/pgxs/src/makefiles/pgxs.mk' file?

    It also couldn't find GAUL library instalation.

    Not good...

    Can you try to check out the project from SVN? The SVN version has modified configure script.

    • Message #94

      Yes, I have pgxs.mk file but in other path: /usr/local/src/postgresql-8.1.5/src/makefiles/pgxs.mk /usr/local/pgsql/lib/pgxs/src/makefiles/pgxs.mk

      For the problem with GAUL library I don't know what's the problem. :(

      Where I can find the SVN version? thanks federico

      • Message #95

        Well, if you will run 'pg_config --pgxs' command (which is used for pgRouting configuration), it will tell you the location of the 'pgxs.mk' file. If it doesn't match with actual location, it means that there is something wrong with your PostgreSQL installation.

        To get the version from SVN try to execute 'svn co http://pgrouting.postlbs.org/svn/pgrouting'