NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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...
16113
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

mtmail
4.8k1574
accept rate: 27%

1

Thanks a lot mtmail. That was it!

Will continue installation now.

Thanks again.

Best regards, Federico.

(21 Feb '18, 14:18) Federico Alv...

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
×34
×7
×6

question asked: 21 Feb '18, 13:44

question was seen: 3,836 times

last updated: 21 Feb '18, 14:18

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