-1

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.

1
  • 1
    Please avoid crosspostings.
    – scai
    Feb 21, 2018 at 17:34

1 Answer 1

1

Got an answer from help.openstreetmap.org.

The command was meant to be run from the "build" folder, that was it.

4
  • 1
    See also a bunch of Centos and SELinux issues and pull requests mentioned at e.g. github.com/openstreetmap/Nominatim/pull/937 . Feb 22, 2018 at 19:19
  • Why is installing Nominatim so difficult? I still cant make it work. For each step in the installation manual there are ten missing. Feb 23, 2018 at 13:21
  • If you want to write a document explaining what's missing, I'm sure that other people would find it useful - maybe something at the level of switch2osm.org/manually-building-a-tile-server-16-04-2-lts ? Feb 25, 2018 at 12:28
  • @SomeoneElse, I owe you. The page you pointed me at is absolutely perfect. Steps are correct, in order, and the overall result does work. Thank you very, very much. Feb 26, 2018 at 2:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.