This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Getting Error While Installing Nominatim “configure.ac:20: required file `config.h.in’ not found”

0

Hi,

I followed the instruction on the URL "https://wiki.openstreetmap.org/wiki/Nominatim/Installation" but while running ./autogen.sh I am getting the below mentioned error :

autoreconf2.50: running: /usr/bin/autoconf --force
autoreconf2.50: running: /usr/bin/autoheader --force
autoreconf2.50: running: automake --add-missing --copy --force-missing
configure.ac:20: required file `config.h.in' not found
autoreconf2.50: automake failed with exit status: 1

Not sure what is the reason.

asked 18 Sep '12, 16:36

Pratap's gravatar image

Pratap
1111
accept rate: 0%

What OS and version did this happen on?

(18 Sep '12, 19:01) SomeoneElse ♦
1

root@localhost:/Nominatim# cat /etc/issue Debian GNU/Linux 6.0 \n \l

root@localhost:/Nominatim# uname -a Linux localhost 2.6.32-5-686 #1 SMP Sat May 5 01:33:08 UTC 2012 i686 GNU/Linux

(18 Sep '12, 19:17) Pratap

there should be a config.h.in in the nominatim and in the osm2pgsql subdirectory. Are they there?

(18 Sep '12, 20:49) datendelphin

No I do not see "config.h.in" under Nominatim and in the OSM2pgsql subdir too.

root@localhost:/var/www/Nominatim# find ./* -name config.h.in root@localhost:/var/www/Nominatim# locate config.h.in /usr/local/src/protobuf-2.4.1/config.h.in /usr/local/src/protobuf-2.4.1/gtest/build-aux/config.h.in

(19 Sep '12, 06:19) Pratap

There seems to be no clue available for this issue. Also I tried copying the file config.h.in from the URL "https://trac.openstreetmap.org/browser/applications/utils/nominatim/nominatim/config.h.in" into my directory "/var/www/Nominatim/nominatim" but still getting the same error.

(24 Sep '12, 09:38) Pratap

Source code available on GitHub .