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, 13:44

Federico%20Alvarez%20UY's gravatar image

Federico Alv...
16113
accept rate: 0%

edited 21 Feb, 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, 14:12

mtmail's gravatar image

mtmail
1.8k434
accept rate: 24%

1

Thanks a lot mtmail. That was it!

Will continue installation now.

Thanks again.

Best regards, Federico.

(21 Feb, 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

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:

×503
×26
×7
×4

question asked: 21 Feb, 13:44

question was seen: 689 times

last updated: 21 Feb, 14:18

powered by OSQA