Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osm2pgsql configure does not check for proj and libgeos #3258

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

osm2pgsql configure does not check for proj and libgeos #3258

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: milang[at]tal.org
[Submitted to the original trac issue database at 2.57am, Thursday, 30th September 2010]

Configure is ok, but compilation fails with:
root@db:~/repos/osm2pgsql # make
make: geos-config: Command not found

And
gcc -g -O2 -Wall -Wextra -I/usr/include/libxml2 -I/usr/include -I/usr/include -DVERSION="0.69-exported" -DHAVE_PTHREAD -DOSM2PGSQL_DATADIR="/opt/osm2pgsql/share/osm2pgsql" -c -o reprojection.o reprojection.c
reprojection.c:11:22: error: proj_api.h: No such file or directory

configure should check these properly.

@openstreetmap-trac
Copy link
Author

Author: hartmut[at]php.net
[Added to the original trac issue at 10.10pm, Sunday, 17th October 2010]

I've been working on a better configure script lately,
checking for the required libraries at configure time
and using automake and libtool together with autoconf
to accomplish this ... the patch works for me so far
but i'd like to have others test it before i commit
it

i'm attaching my current patch right after sending this

@openstreetmap-trac
Copy link
Author

Author: hartmut[at]php.net
[Added to the original trac issue at 1.38pm, Saturday, 18th December 2010]

fixed in subversion

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant