<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Howdy all,<br>
I've spent the last three days trying to install PgRouting on my
Xubuntu 13.04 machine. I've got a deadline coming up for a big
cartography project and this is driving me up a wall! I was able to
install the program quite easily through the PPA before I upgraded
from Ubuntu 12.04. I tried adding the PPA again, but I get a 404, I
guess because there's nothing there for Raring yet.<br>
<br>
I've tried following every set of installation instructions on the
web to no avail.<br>
<br>
I tried compiling both the stable and unstable releases from source
but things keep failing. At first, cmake failed to find my
postgresql installation. After poking around a bit and adding an
extra directories to cmake/FindPostgreSQL.cmake, the errors went
away and it looked like cmake had run successfully:<br>
<br>
<br>
<small><small>nate@desktop:/usr/local/src/pgrouting$ cmake .<br>
-- PGROUTING_GIT_TAG: v2.0.0-alpha<br>
-- PGROUTING_GIT_BUILD: 97<br>
-- PGROUTING_GIT_HASH: 9193863<br>
-- PGROUTING_GIT_BRANCH: develop<br>
-- PGROUTING_VERSION_REVISION_NAME: 9193863 develop<br>
-- PGROUTING_VERSION_REVISION_HASH: 9193863<br>
-- UNIX=1<br>
-- WIN32=<br>
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.1/bin/postgres<br>
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config<br>
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql<br>
-- POSTGRESQL_LIBRARIES: /usr/lib<br>
-- Boost version: 1.49.0<br>
Boost headers were found here: /usr/include<br>
-- POSTGRESQL_VERSION_STRING is PostgreSQL 9.1.9<br>
-- POSTGRESQL_VERSION is 9.1.9<br>
-- Install directory for libraries is set to
/usr/lib/postgresql/9.1/lib<br>
-- Contrib directory for SQL files is set to
/usr/share/postgresql/9.1/contrib/pgrouting-2.0<br>
-- Extension directory for SQL files is set to
/usr/share/postgresql/9.1/extension<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /usr/local/src/pgrouting</small></small><br>
<br>
When I run make however, it quickly fails to find some includes:<br>
<br>
<small><small>nate@desktop:/usr/local/src/pgrouting$ make<br>
Scanning dependencies of target trsp<br>
[ 3%] Building C object
src/trsp/src/CMakeFiles/trsp.dir/trsp.c.o<br>
/usr/local/src/pgrouting/src/trsp/src/trsp.c:2:26: fatal error:
executor/spi.h: No such file or directory<br>
compilation terminated.<br>
make[2]: *** [src/trsp/src/CMakeFiles/trsp.dir/trsp.c.o] Error 1<br>
make[1]: *** [src/trsp/src/CMakeFiles/trsp.dir/all] Error 2<br>
make: *** [all] Error 2</small></small><br>
<br>
I'm getting a little desparate! Can anyone help me with this? I'd
give anything to just have the GUI package manager take care of all
this for me.<br>
<br>
I have no idea what I'm doing trying to compile from source. I can
follow the instructions from the README.md file, but not after they
fail on the first step ;-)<br>
<br>
Thanks,<br>
Nate<br>
</body>
</html>