Why not ask your question on the new OpenStreetMap Community Forum?

i'm trying to setup my own nominatim server in a CentOS 7 VirtualMachine. I'm using this guide which is followed here for data import.

This line gives me trouble when trying to import data:

./utils/setup.php --osm-file <_data_file_> --all

When executing the above command, the output says "ERROR: Scripts must be run from build directory.".

Which one would be the build directory?

I tried running from nominatim root directory, utils, and data, but no luck.

Best regards, Federico.

asked 21 Feb '18, 13:44

Federico%20Alvarez%20UY's gravatar image

Federico Alv...
accept rate: 0%

edited 21 Feb '18, 14:03

The guide has a couple of lines mkdir build; cd build; cmake ..; make. While the build directory could be anywhere in the filesystem, it's usually a subdirectory of the Nominatim directory, so a cd build, then ./utils/setup.php...

permanent link

answered 21 Feb '18, 14:12

mtmail's gravatar image

accept rate: 27%


Thanks a lot mtmail. That was it!

Will continue installation now.

Thanks again.

Best regards, Federico.

(21 Feb '18, 14:18) Federico Alv...
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 21 Feb '18, 13:44

question was seen: 3,519 times

last updated: 21 Feb '18, 14:18

powered by OSQA