NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%


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.

permanent link

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×263
×252
×2
×1

question asked: 11 Sep '13, 20:00

question was seen: 6,054 times

last updated: 01 Oct '13, 18:12

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum