[pgrouting-users] Error compiling pgRouting 2.0 on Ubuntu 10.04

Hello everyone, I'm trying to compile pgRouting 2.0 on Ubuntu 10.04 (kernel
2.6.32-49-server). I have managed to install all the software required
except for Sphinx and TexLive (I don't need the documentation at this
stage). The result is what you see below. I'm using gcc 4.4.3, which is not
that new, could it be the cause? What else then?

Thanks.

$ cmake ..
-- PGROUTING_GIT_TAG: pgrouting-2.0.0
-- PGROUTING_GIT_BUILD: 0
-- PGROUTING_GIT_HASH: d6ed2cb
-- PGROUTING_GIT_BRANCH: master
-- PGROUTING_VERSION_REVISION_NAME: d6ed2cb master
-- PGROUTING_VERSION_REVISION_HASH: d6ed2cb
-- UNIX=1
-- WIN32=
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/8.4/bin/postgres
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/8.4/server
-- POSTGRESQL_LIBRARIES: /usr/lib
-- Boost version: 1.40.0
-- Boost headers were found here: /usr/include
-- POSTGRESQL_VERSION_STRING is PostgreSQL 8.4.17
-- POSTGRESQL_VERSION is 8.4.17
-- PGSQL_VERSION is 84
-- Install directory for libraries is set to /usr/lib/postgresql/8.4/lib
-- Contrib directory for SQL files is set to
/usr/share/postgresql/8.4/contrib/pgrouting-2.0
-- Boost version: 1.40.0
-- Found the following Boost libraries:
-- thread
-- CGAL_INCLUDE_DIR=/usr/include
-- CGAL_LIBRARIES=/usr/lib/libCGAL.so
-- BOOST_THREAD_LIBRARIES=/usr/lib/libboost_thread-mt.so
-- GMP_LIBRARIES=/usr/lib/libgmp.so
-- Found CGAL: /usr/include, /usr/lib/libCGAL.so,
/usr/lib/libboost_thread-mt.so, /usr/lib/libgmp.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/desousa/pgrouting/build

$ make
Scanning dependencies of target trsp
[ 2%] Building C object src/trsp/src/CMakeFiles/trsp.dir/trsp.c.o
[ 5%] Building CXX object src/trsp/src/CMakeFiles/trsp.dir/trsp_core.cpp.o
[ 8%] Building CXX object
src/trsp/src/CMakeFiles/trsp.dir/GraphDefinition.cpp.o
[ 8%] Built target trsp
Scanning dependencies of target astar
[ 11%] Building C object src/astar/src/CMakeFiles/astar.dir/astar.c.o
[ 14%] Building CXX object
src/astar/src/CMakeFiles/astar.dir/astar_boost_wrapper.cpp.o
[ 14%] Built target astar
Scanning dependencies of target dijkstra
[ 17%] Building C object
src/dijkstra/src/CMakeFiles/dijkstra.dir/dijkstra.c.o
[ 20%] Building CXX object
src/dijkstra/src/CMakeFiles/dijkstra.dir/boost_wrapper.cpp.o
[ 20%] Built target dijkstra
Scanning dependencies of target kdijkstra
[ 22%] Building CXX object
src/kdijkstra/src/CMakeFiles/kdijkstra.dir/k_targets_boost_wrapper.cpp.o
[ 25%] Building C object
src/kdijkstra/src/CMakeFiles/kdijkstra.dir/k_targets_sp.c.o
[ 25%] Built target kdijkstra
Scanning dependencies of target apsp_johnson
[ 28%] Building C object
src/apsp_johnson/src/CMakeFiles/apsp_johnson.dir/apsp_johnson.c.o
[ 31%] Building CXX object
src/apsp_johnson/src/CMakeFiles/apsp_johnson.dir/apsp_johnson_boost_wrapper.cpp.o
[ 31%] Built target apsp_johnson
Scanning dependencies of target apsp_warshall
[ 34%] Building C object
src/apsp_warshall/src/CMakeFiles/apsp_warshall.dir/apsp.c.o
[ 37%] Building CXX object
src/apsp_warshall/src/CMakeFiles/apsp_warshall.dir/apsp_boost_wrapper.cpp.o
[ 37%] Built target apsp_warshall
Scanning dependencies of target routing
Linking CXX shared library lib/librouting.so
[ 37%] Built target routing
Scanning dependencies of target bd_dijkstra
[ 40%] Building C object
src/bd_dijkstra/src/CMakeFiles/bd_dijkstra.dir/bdsp.c.o
[ 42%] Building CXX object
src/bd_dijkstra/src/CMakeFiles/bd_dijkstra.dir/bdsp_core.cpp.o
[ 45%] Building CXX object
src/bd_dijkstra/src/CMakeFiles/bd_dijkstra.dir/BiDirDijkstra.cpp.o
[ 45%] Built target bd_dijkstra
Scanning dependencies of target bd_astar
[ 48%] Building C object
src/bd_astar/src/CMakeFiles/bd_astar.dir/bdastar.c.o
[ 51%] Building CXX object
src/bd_astar/src/CMakeFiles/bd_astar.dir/MinHeap.cpp.o
[ 54%] Building CXX object
src/bd_astar/src/CMakeFiles/bd_astar.dir/bdastar_core.cpp.o
[ 57%] Building CXX object
src/bd_astar/src/CMakeFiles/bd_astar.dir/BiDirAStar.cpp.o
[ 57%] Built target bd_astar
Scanning dependencies of target routing_bd
Linking CXX shared library lib/librouting_bd.so
[ 57%] Built target routing_bd
Scanning dependencies of target routing_tsp
[ 60%] Building C object src/tsp/src/CMakeFiles/routing_tsp.dir/tsp2.c.o
[ 62%] Building C object src/tsp/src/CMakeFiles/routing_tsp.dir/tsplib.c.o
Linking C shared library ../../../lib/librouting_tsp.so
[ 62%] Built target routing_tsp
Scanning dependencies of target routing_ksp
[ 65%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/BaseGraph.cpp.o
[ 68%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/BasePath.cpp.o
[ 71%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/DijkstraShortestPathAlg.cpp.o
[ 74%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/Graph.cpp.o
[ 77%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/HeaderTest.cpp.o
[ 80%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/YenTopKShortestPathsAlg.cpp.o
[ 82%] Building C object src/ksp/src/CMakeFiles/routing_ksp.dir/ksp.c.o
[ 85%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/KSPDriver.cpp.o
[ 88%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/KSPGraph.cpp.o
In file included from
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:24,
                 from /usr/include/postgresql/8.4/server/executor/spi.h:16,
                 from /home/desousa/pgrouting/src/ksp/src/KSPGraph.cpp:16:
/usr/include/postgresql/8.4/server/nodes/primnodes.h:1155: error: expected
unqualified-id before ‘using’
/usr/include/postgresql/8.4/server/nodes/primnodes.h:1155: error: expected
‘;’ before ‘using’
In file included from /usr/include/postgresql/8.4/server/executor/spi.h:16,
                 from /home/desousa/pgrouting/src/ksp/src/KSPGraph.cpp:16:
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:176: error: expected
unqualified-id before ‘typeid’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:259: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:259: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:459: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:459: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:556: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:556: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1170: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1170: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1674: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1674: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:2088: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:2088: error: expected
‘;’ before ‘typename’
make[2]: *** [src/ksp/src/CMakeFiles/routing_ksp.dir/KSPGraph.cpp.o] Error 1
make[1]: *** [src/ksp/src/CMakeFiles/routing_ksp.dir/all] Error 2
make: *** [all] Error 2

--
View this message in context: http://pgrouting-users.974093.n3.nabble.com/Error-compiling-pgRouting-2-0-on-Ubuntu-10-04-tp4025407.html
Sent from the pgRouting-users mailing list archive at Nabble.com.

Does this help you?
http://comments.gmane.org/gmane.comp.db.postgresql.general/146579

On 12/4/2013 11:43 AM, Luís de Sousa wrote:

Hello everyone, I'm trying to compile pgRouting 2.0 on Ubuntu 10.04 (kernel
2.6.32-49-server). I have managed to install all the software required
except for Sphinx and TexLive (I don't need the documentation at this
stage). The result is what you see below. I'm using gcc 4.4.3, which is not
that new, could it be the cause? What else then?

Thanks.

$ cmake ..
-- PGROUTING_GIT_TAG: pgrouting-2.0.0
-- PGROUTING_GIT_BUILD: 0
-- PGROUTING_GIT_HASH: d6ed2cb
-- PGROUTING_GIT_BRANCH: master
-- PGROUTING_VERSION_REVISION_NAME: d6ed2cb master
-- PGROUTING_VERSION_REVISION_HASH: d6ed2cb
-- UNIX=1
-- WIN32=
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/8.4/bin/postgres
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/8.4/server
-- POSTGRESQL_LIBRARIES: /usr/lib
-- Boost version: 1.40.0
-- Boost headers were found here: /usr/include
-- POSTGRESQL_VERSION_STRING is PostgreSQL 8.4.17
-- POSTGRESQL_VERSION is 8.4.17
-- PGSQL_VERSION is 84
-- Install directory for libraries is set to /usr/lib/postgresql/8.4/lib
-- Contrib directory for SQL files is set to
/usr/share/postgresql/8.4/contrib/pgrouting-2.0
-- Boost version: 1.40.0
-- Found the following Boost libraries:
-- thread
-- CGAL_INCLUDE_DIR=/usr/include
-- CGAL_LIBRARIES=/usr/lib/libCGAL.so
-- BOOST_THREAD_LIBRARIES=/usr/lib/libboost_thread-mt.so
-- GMP_LIBRARIES=/usr/lib/libgmp.so
-- Found CGAL: /usr/include, /usr/lib/libCGAL.so,
/usr/lib/libboost_thread-mt.so, /usr/lib/libgmp.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/desousa/pgrouting/build

$ make
Scanning dependencies of target trsp
[ 2%] Building C object src/trsp/src/CMakeFiles/trsp.dir/trsp.c.o
[ 5%] Building CXX object src/trsp/src/CMakeFiles/trsp.dir/trsp_core.cpp.o
[ 8%] Building CXX object
src/trsp/src/CMakeFiles/trsp.dir/GraphDefinition.cpp.o
[ 8%] Built target trsp
Scanning dependencies of target astar
[ 11%] Building C object src/astar/src/CMakeFiles/astar.dir/astar.c.o
[ 14%] Building CXX object
src/astar/src/CMakeFiles/astar.dir/astar_boost_wrapper.cpp.o
[ 14%] Built target astar
Scanning dependencies of target dijkstra
[ 17%] Building C object
src/dijkstra/src/CMakeFiles/dijkstra.dir/dijkstra.c.o
[ 20%] Building CXX object
src/dijkstra/src/CMakeFiles/dijkstra.dir/boost_wrapper.cpp.o
[ 20%] Built target dijkstra
Scanning dependencies of target kdijkstra
[ 22%] Building CXX object
src/kdijkstra/src/CMakeFiles/kdijkstra.dir/k_targets_boost_wrapper.cpp.o
[ 25%] Building C object
src/kdijkstra/src/CMakeFiles/kdijkstra.dir/k_targets_sp.c.o
[ 25%] Built target kdijkstra
Scanning dependencies of target apsp_johnson
[ 28%] Building C object
src/apsp_johnson/src/CMakeFiles/apsp_johnson.dir/apsp_johnson.c.o
[ 31%] Building CXX object
src/apsp_johnson/src/CMakeFiles/apsp_johnson.dir/apsp_johnson_boost_wrapper.cpp.o
[ 31%] Built target apsp_johnson
Scanning dependencies of target apsp_warshall
[ 34%] Building C object
src/apsp_warshall/src/CMakeFiles/apsp_warshall.dir/apsp.c.o
[ 37%] Building CXX object
src/apsp_warshall/src/CMakeFiles/apsp_warshall.dir/apsp_boost_wrapper.cpp.o
[ 37%] Built target apsp_warshall
Scanning dependencies of target routing
Linking CXX shared library lib/librouting.so
[ 37%] Built target routing
Scanning dependencies of target bd_dijkstra
[ 40%] Building C object
src/bd_dijkstra/src/CMakeFiles/bd_dijkstra.dir/bdsp.c.o
[ 42%] Building CXX object
src/bd_dijkstra/src/CMakeFiles/bd_dijkstra.dir/bdsp_core.cpp.o
[ 45%] Building CXX object
src/bd_dijkstra/src/CMakeFiles/bd_dijkstra.dir/BiDirDijkstra.cpp.o
[ 45%] Built target bd_dijkstra
Scanning dependencies of target bd_astar
[ 48%] Building C object
src/bd_astar/src/CMakeFiles/bd_astar.dir/bdastar.c.o
[ 51%] Building CXX object
src/bd_astar/src/CMakeFiles/bd_astar.dir/MinHeap.cpp.o
[ 54%] Building CXX object
src/bd_astar/src/CMakeFiles/bd_astar.dir/bdastar_core.cpp.o
[ 57%] Building CXX object
src/bd_astar/src/CMakeFiles/bd_astar.dir/BiDirAStar.cpp.o
[ 57%] Built target bd_astar
Scanning dependencies of target routing_bd
Linking CXX shared library lib/librouting_bd.so
[ 57%] Built target routing_bd
Scanning dependencies of target routing_tsp
[ 60%] Building C object src/tsp/src/CMakeFiles/routing_tsp.dir/tsp2.c.o
[ 62%] Building C object src/tsp/src/CMakeFiles/routing_tsp.dir/tsplib.c.o
Linking C shared library ../../../lib/librouting_tsp.so
[ 62%] Built target routing_tsp
Scanning dependencies of target routing_ksp
[ 65%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/BaseGraph.cpp.o
[ 68%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/BasePath.cpp.o
[ 71%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/DijkstraShortestPathAlg.cpp.o
[ 74%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/Graph.cpp.o
[ 77%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/HeaderTest.cpp.o
[ 80%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/YenTopKShortestPathsAlg.cpp.o
[ 82%] Building C object src/ksp/src/CMakeFiles/routing_ksp.dir/ksp.c.o
[ 85%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/KSPDriver.cpp.o
[ 88%] Building CXX object
src/ksp/src/CMakeFiles/routing_ksp.dir/KSPGraph.cpp.o
In file included from
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:24,
                  from /usr/include/postgresql/8.4/server/executor/spi.h:16,
                  from /home/desousa/pgrouting/src/ksp/src/KSPGraph.cpp:16:
/usr/include/postgresql/8.4/server/nodes/primnodes.h:1155: error: expected
unqualified-id before ‘using’
/usr/include/postgresql/8.4/server/nodes/primnodes.h:1155: error: expected
‘;’ before ‘using’
In file included from /usr/include/postgresql/8.4/server/executor/spi.h:16,
                  from /home/desousa/pgrouting/src/ksp/src/KSPGraph.cpp:16:
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:176: error: expected
unqualified-id before ‘typeid’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:259: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:259: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:459: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:459: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:556: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:556: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1170: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1170: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1674: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:1674: error: expected
‘;’ before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:2088: error: expected
unqualified-id before ‘typename’
/usr/include/postgresql/8.4/server/nodes/parsenodes.h:2088: error: expected
‘;’ before ‘typename’
make[2]: *** [src/ksp/src/CMakeFiles/routing_ksp.dir/KSPGraph.cpp.o] Error 1
make[1]: *** [src/ksp/src/CMakeFiles/routing_ksp.dir/all] Error 2
make: *** [all] Error 2

--
View this message in context: http://pgrouting-users.974093.n3.nabble.com/Error-compiling-pgRouting-2-0-on-Ubuntu-10-04-tp4025407.html
Sent from the pgRouting-users mailing list archive at Nabble.com.
_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Thanks.
Stephen Woodbridge wrote

Does this help you?
http://comments.gmane.org/gmane.comp.db.postgresql.general/146579

Not really. There is too much stuff depending on that Postgres instance to
allow for hand made changes, even if to header files.

The question perhaps should be: is pgRounting supposed to compile against
Postgres 8.4? If yes, with exactly which software versions (gcc, cmake, bgl,
cgal)?

Thanks.

--
View this message in context: http://pgrouting-users.974093.n3.nabble.com/Error-compiling-pgRouting-2-0-on-Ubuntu-10-04-tp4025407p4025409.html
Sent from the pgRouting-users mailing list archive at Nabble.com.

Stephen, in this thread at GitHub
<https://github.com/pgRouting/pgrouting/issues/109&gt; you write:

pg8.4 is not supported for pgrouting 2.0 release. Closing as will not fix.

Could you please confirm the Postgres 8.4 *is not supported* by pgRouting
2.0?

Thank you.

--
View this message in context: http://pgrouting-users.974093.n3.nabble.com/Error-compiling-pgRouting-2-0-on-Ubuntu-10-04-tp4025407p4025410.html
Sent from the pgRouting-users mailing list archive at Nabble.com.

On 12/5/2013 4:21 AM, Luís de Sousa wrote:

Thanks.
Stephen Woodbridge wrote

Does this help you?
http://comments.gmane.org/gmane.comp.db.postgresql.general/146579

Not really. There is too much stuff depending on that Postgres instance to
allow for hand made changes, even if to header files.

The question perhaps should be: is pgRounting supposed to compile against
Postgres 8.4? If yes, with exactly which software versions (gcc, cmake, bgl,
cgal)?

Hi Luís,

I think the "official" position is that we do not support pg8.4. I understand your problem because my main server had 100+ databases and was pg8.3 and I had to setup a new server just for development of pgRouting 2.0. I'm now going through the painful process of migrating the old databases to the new server one at a time.

Regarding your problem, the change recommended in the article is not to the postgresql headers, but to the pgRouting source code. So for each pgRouting C++ file that includes a postgresql header file (and there should only be 1-3 files) that are throwing these errors, edit the pgRouting file and modify the includes to something similar to:

extern "C" {
  #include <postgres.h>
  #include <fmgr.h>
  #define using _using
  #define typeid _typeid
  #define typename _typename
  #include <funcapi.h>
  #undef using
  #undef typeid
  #undef typename

  #ifdef PG_MODULE_MAGIC
  PG_MODULE_MAGIC;
  #endif
};

and try recompiling it. Do one file at a time to make sure that you are actually solving the problem. If you can get them all to compile, then you can run tools/test-runner.pl which runs the automated test and should give you some idea if the build is working ok, or where there might be some problems. It might have heartburn on 8.4 because we have not been running it there but it may still be helpful.

I don't have a postgresql 8.4 anywhere and my 8.3 box has been upgraded, so I can not test this myself.

If you fork pgRouting and do you work in a clone and you can get this to work, you can generate a pull request. Or we can just add to the support page that you have fixes for pg8.4 and point to your fork.

For example, here is a diff for the KSPGraph.cpp issue, see if that works:

diff --git a/src/ksp/src/KSPGraph.cpp b/src/ksp/src/KSPGraph.cpp
index f5b9858..44264b7 100644
--- a/src/ksp/src/KSPGraph.cpp
+++ b/src/ksp/src/KSPGraph.cpp
@@ -13,10 +13,16 @@
  #include "YenTopKShortestPathsAlg.h"
  extern "C" {
  #include "postgres.h"
+#include "fmgr.h"
  #include "executor/spi.h"
-#include "funcapi.h"
  #include "catalog/pg_type.h"
-#include "fmgr.h"
+#define using _using
+#define typeid _typeid
+#define typename _typename
+#include "funcapi.h"
+#undef using
+#undef typeid
+#undef typename
  #include "ksp.h"
         extern void DBG(const char *format, ...);
  }

-Steve

Hi Stephen, thank you for the reply.

I tried to modify KSPGraph.cpp as you suggest, but I am still getting the
same compile errors. This is not too serious in my case, I only need to
migrate one database.

Is the manual at GitHub? I'd like to update the install instructions, they
include pg8.4 among the supported versions.

Regards,

Luís

--
View this message in context: http://pgrouting-users.974093.n3.nabble.com/Error-compiling-pgRouting-2-0-on-Ubuntu-10-04-tp4025407p4025412.html
Sent from the pgRouting-users mailing list archive at Nabble.com.

On 12/9/2013 4:42 AM, Luís de Sousa wrote:

Hi Stephen, thank you for the reply.

I tried to modify KSPGraph.cpp as you suggest, but I am still getting the
same compile errors. This is not too serious in my case, I only need to
migrate one database.

Is the manual at GitHub? I'd like to update the install instructions, they
include pg8.4 among the supported versions.

Luis,

Thank you for your help with this, sorry we have not figured it out for you. I created this bug:
https://github.com/pgRouting/pgrouting/issues/225

You might want to watch it, or add more information to it. What errors did you get after you try the change I suggested?

Thanks,
   -Steve