[pgrouting-users] Linux Install

Anton Patrushev anton at orkney.co.jp
Mon Mar 2 20:24:12 EST 2009


Hi Tim,

Your Fedora looks quite ancient :)
What you can do is to go to cmake directory and add your search paths
to FindPostgreSQL.cmake and probably some other files for the
libraries which are not at the usual place.
The structure of those files is quite obvious, you won't get lost.

Anton.

On Tue, Mar 3, 2009 at 3:29 AM, Tim Wetzer <twetzer at refractions.net> wrote:
> Hi,
>
> I'm trying to do an install of pgRouting on a Linux box. However the
> postgreSQL and other required libraries are not in the default locations. Is
> there a way to pass parameters to cmake to tell it where the required
> libraries are located. (geos, postgres, etc.)
>
> I tried cmake and got the following error:
>
> [twetzer at turtle ~/pgrouting]$ cmake .
> -- PostgreSQL not found.
> FATALERROR Please check your Boost installation.
> Boost headers were found here: /usr/local/include/boost-1_38
> Output directory for libraries is set to sh: pg_config: command not found
> Installation directory for libraries is set to sh: pg_config: command not
> found and for SQL files is set to /usr/share/postlbs
> CMake Error: The following variables are used in this project, but they are
> set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake
> files:
> POSTGRESQL_INCLUDE_DIR (ADVANCED)
>    used as include directory in directory /home/twetzer/pgrouting
>    used as include directory in directory /home/twetzer/pgrouting/core
>    used as include directory in directory /home/twetzer/pgrouting/core/src
>    used as include directory in directory /home/twetzer/pgrouting/core/sql
>
> -- Configuring incomplete, errors occurred!
>
> I also tried to
> setenv POSTGRESQL_INCUDE_DIR "/opt/pgsql83/include"
> to point to the actual directory and got the same error.
>
> My linux environment is: Fedora Core 3.
>
> Please let me know if you have any ideas!
> Thanks,
> --
> Tim Wetzer
> Refractions Research
> (250) 383-3022
> Email: twetzer at refractions.net
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.postlbs.org
> http://lists.postlbs.org/mailman/listinfo/pgrouting-users
>
>




More information about the Pgrouting-users mailing list