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

Nominatim wont compile 64-bit osm2pgsql on Rhel 6.4 64 bit

1

Nominatim wont compile 64-bit osm2pgsql on Rhel 6.4 64 bit

i install like this, without errors: ./autogen.sh ./configure --enable-64bit-ids make

after install, it works, but when running a planet update, i get "duplicate key violates unique constraint".

I realize its likely caused because my osm2pgsql is 32-bit for some reason: [root@blade10 Nominatim-2.0.1]# osm2pgsql/osm2pgsql osm2pgsql SVN version 0.81.0 (32bit id space)

im running rhel 6.4 64 bit

asked 11 Sep '13, 20:00

mmelo's gravatar image

mmelo
31223
accept rate: 0%


One Answer:

4

Try running configure without the --enable-64bit-ids switch. The 2.0.1 release has a bug where using the switch actually results in a 32-bit version being built.

At the moment, it is also strongly recommended to use the development version from github instead of the 2.0.1 version. A new release should follow soon.

answered 12 Sep '13, 08:27

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

2

the new 2.1 release is out and works normally. thanks

(01 Oct '13, 18:07) mmelo

Source code available on GitHub .