Opened 10 years ago

Closed 10 years ago

#3258 closed defect (fixed)

osm2pgsql configure does not check for proj and libgeos

Reported by: milang@… Owned by: mapnik-team@…
Priority: trivial Milestone:
Component: mapnik Version:
Keywords: autoconf osm2pgsql Cc:


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.

Attachments (1)

patch (65.7 KB) - added by hartmut@… 10 years ago.
configure improvements (1st try)

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by hartmut@…

Attachment: patch added

configure improvements (1st try)

comment:1 Changed 10 years ago by hartmut@…

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

comment:2 Changed 10 years ago by hartmut@…

Keywords: osm2pgsql added
Resolution: fixed
Status: newclosed

fixed in subversion

Note: See TracTickets for help on using tickets.