Debian tends to make the packages as minimal as possible, and splitting them to 
have very specific packages.

pgRouting uses the C interface of postgres, and needs the headers to compile 
against it.

-dev packages are usually meant to develop WITH, and not to hack postgres 
itself.

If you had a pre-compiled package of pgRouting, you wouldn't need the -dev 
packages

2009/6/7 Frank Glück <[email protected]>:
Are you using linux ?

Yes, I use debian lenny and have installed postgresql-8.3 with
postgresql-8.3-postgis.

If you use a debian-based distribution (including ubuntu), you
have to explicitly install the development package of postgres
(something like postgresql-server-dev-8.3 )

Oh, really, are you sure? Why does the last stable package not be enough for
pgRouting? Isn't that documented anywhere?

Thank you,
Frank


Good luck !

2009/6/7 Frank Glück <[email protected]>:
Hi again,

is there really no one, who has an idea, why I get "-- PostgreSQL not
found.", when I try to cmake the pgrouting source code?
Where can I change
the path, which is looked for here? What can I do to check
and to fix that?
I am really helpless.

Thank you and greetings,
Frank

I followed the instuctions at
http://pgrouting.postlbs.org/wiki/1.x/InstallationManual#Step2:
Compilingthep
gRoutinglibrary now in order to install pgRouting. Even I did
  apt-get install libboost-graph-dev
because OS is debian on my vserver. Although I already got
these error
messages on doing the command "cmake .":

-- PostgreSQL not found.
FATALERROR Please check your Boost installation.
Boost headers were found here: /usr/include
Output directory for libraries is set to /usr/lib/postgresql/8.3/lib
Installation directory for libraries is set to
/usr/lib/postgresql/8.3/lib
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
/var/src/pgrouting/pgrouting
  used as include directory in directory
/var/src/pgrouting/pgrouting/core
  used as include directory in directory
/var/src/pgrouting/pgrouting/core/src
  used as include directory in directory
/var/src/pgrouting/pgrouting/core/sql

-- Configuring done

Of course I have installed PostgreSQL too. Have I to change any path
variables anywhere?
Just one more thank you very much!

Greetings,
Frank


_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing


_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing





_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing

Reply via email to