LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   overpass-api on opensuse 13.1 - step by step (https://www.linuxquestions.org/questions/linux-newbie-8/overpass-api-on-opensuse-13-1-step-by-step-4175507608/)

sayhello_to_the_world 06-10-2014 10:21 AM

overpass-api on opensuse 13.1 - step by step
 
want to install overpass-api on opensuse 13.1

http://overpass-api.de/no_frills.html
http://overpass-api.de/full_installation.html


Complete installation guide

Quote:

This is the complete installation guide. If it looks too complex, please have a look at the quick installation guide. There is also an installation guide on the wiki which covers most errors that have ever been occured during installation and startup.
We cover here various base systems, in particular at least Ubuntu Linux and FreeBSD. We also cover different variants of installation and operation, including working with or without meta data, the XAPI wrapper, area creation, and the management of custom output.

Requirements

With a POSIX confirming operating system (this includes all kinds of Linux as well as FreeBSD, OpenBSD and several others), you have already fulfilled most
base requirements.
Concerning hardware, I suggest at least 1 GB of RAM. The more RAM is available, the better, because caching of disk content in the RAM will significantly speed up Overpass API. The processor speed will have little relevance. For the hard disk, it depends on what you want to install. A full planet database with minutely updates should have at least 150 GB of hard disk space at disposal. Without minute diffs and meta data, 50 GB would already suffice.
To automatically download diffs files, you need a command line download tool. I suggest wget. If it is not already installed, you can get it on e.g. Ubuntu

with:

sudo apt-get install wget

cf: http://overpass-api.de/no_frills.html
http://overpass-api.de/full_installation.html


any experience here - love to discuss with you....

later this day i will do the installation on opensuse13.1

John VV 06-11-2014 03:01 PM

well you will have to port those Ubuntu instructions to suse
suse dose not use the Debian "apt-get"
suse uses "zypper" or the yast GUI
and depending on HOW you install opensuse 13 it may or might not use "sudo"
you have the option to set a different root password than the first non root user

the "su -" VS. "sudo" debate

also OpenSUSE 13.1 is using gcc 4.9
and osm-3s_v0.7.3.tar.gz is from March 2013
14 months old and might NOT yet build using gcc 4.9
you might have to install gcc 4.3 from the suse open build service "gcc/devel" repo

sayhello_to_the_world 06-12-2014 01:53 AM

hello John

many thanks for the posting with lots of good and important informations: you help me alot

Quote:

Originally Posted by John VV (Post 5186535)
well you will have to port those Ubuntu instructions to suse
suse dose not use the Debian "apt-get"
suse uses "zypper" or the yast GUI
and depending on HOW you install opensuse 13 it may or might not use "sudo"
you have the option to set a different root password than the first non root user

the "su -" VS. "sudo" debate

also OpenSUSE 13.1 is using gcc 4.9
and osm-3s_v0.7.3.tar.gz is from March 2013
14 months old and might NOT yet build using gcc 4.9
you might have to install gcc 4.3 from the suse open build service "gcc/devel" repo


regarding the gcc 4.9
should i use this!?


btw: i also mailed the developer of overpass-api:


the developer (at overpass-api.de ) told yesterday that he is workin on the new instructions

get the new tar.gz which will be at overpass-api.de/misc with the most actual version.
- this tar.gz we can install with the commands "configure" - "make install"
- important preliminary installation: Expat must exist on the OpenSuse;

- subsequently we need to have an expat first: if we google then we find something like that: "expat devel opensuse"
http://software.opensuse.org/package/libexpat-devel (which might look like an good source for RPM),

i will try to install all the stuff at the weekend.

John VV 06-12-2014 09:22 PM

as to using gcc 4.9
do not yet worry too much yet

expat is in the opensuse repos
Code:

su -
zypper in libexpat libexpat-devel

we will need to see the gcc error massage to know IF a older version is needed to build overpass

you might want to use the git hub code
https://github.com/drolbr/Overpass-API
it has updates and a link to the current wiki
http://wiki.osm.org/wiki/Overpass_API


All times are GMT -5. The time now is 09:22 AM.