3

I'm trying to setting up my own OpenStreetMap server and i followed the official tutorial in Wikipedia and one other tutorial. First i clone Nominatim from GIT and i build it by taping :

 cd Nominatim/
 cd module/
 sudo make
 cd ..
 cd nominatim/
 sudo ./autogen.sh
 sudo ./configure

and everything was fine till now. When i tape sudo make i got this :

make: **** No targets specified and no makefile found. Stop.

How do i fix this? Thanks in advance.

3
  • Are you sure the ./autogen.sh and ./configure steps completed successfully? normally, these steps would result in generation of a Makefile. If you're not sure, run ./configure again and post the last few lines of its output. Apr 17, 2015 at 12:02
  • well i got this error and i skipped saying that it can't be a real problem : "checking for postgreSQL libraries...configure : error : postgresql server development library not found" maybe that the real problem
    – user27477
    Apr 17, 2015 at 13:17
  • Yes that is almost certainly the real problem: make sure you have installed all the Ubuntu/Debian dependencies listed in the wiki page, especially the postgresql ones Apr 17, 2015 at 13:23

2 Answers 2

1

You do not need to fix, you're just acted unfavorably.

Maybe it's safer if you delete the directory first and checking out again: git clone [email protected]:twain47/Nominatim.git and cd Nominatim

  1. If checking out from git run:

    ./autogen.sh
    
  2. Compile Nominatim:

    ./configure
    make
    
  3. Get OSM data and import:

    ./utils/setup.php --osm-file <your planet file> --all
    
  4. Point your webserver to the ./website directory.

Source

1
  • 1
    I don't solve the problem yet, i'm trying to re-install the packages and find the source of the problem.
    – user27477
    Apr 20, 2015 at 8:53
1

The problem was in postgresql, so after installing:

  • postgresql-server-dev-9.3
  • libpgtcl-dev

The problem is solved. Thank You.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .