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

hello dear buddies on OpenStreetMap - good evening,

welll i am pretty new to GIS-Computing: at the moment i am tryin to install OsMosis on my openSuse 12.1 linux-system.

if i follow this steps here - the steps i found here on the page called - installing osmosis

http://wiki.openstreetmap.org/wiki/Osmosis/Installation

LANG=en_US.UTF-8  wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
tar xvfz osmosis-latest.tgz
cd osmosis-0.39
chmod a+x bin/osmosis
bin/osmosis

then i get the following results:

linux-wyee:/home/martin # LANG=en_US.UTF-8  wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
asking libproxy about url 'http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz'
libproxy suggest to use 'direct://'
--2012-04-27 22:58:10--  http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
Resolving bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)... 128.40.168.103
Connecting to bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)|128.40.168.103|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7683042 (7.3M) [application/x-gzip]
Saving to: `osmosis-latest.tgz.2'

100%[======================================================================================================================================================>] 7,683,042    502K/s   in 15s

2012-04-27 22:58:26 (496 KB/s) - `osmosis-latest.tgz.2' saved [7683042/7683042]

linux-wyee:/home/martin # tar xvfz osmosis-latest.tgz
osmosis-0.40.1/bin/
osmosis-0.40.1/build/
osmosis-0.40.1/config/
osmosis-0.40.1/lib/
osmosis-0.40.1/lib/default/
osmosis-0.40.1/script/
osmosis-0.40.1/script/contrib/
osmosis-0.40.1/script/munin/
osmosis-0.40.1/build/version.txt
osmosis-0.40.1/changes.txt
osmosis-0.40.1/config/plexus.conf
osmosis-0.40.1/copying.txt
osmosis-0.40.1/lib/default/aopalliance-1.0.jar
osmosis-0.40.1/lib/default/commons-codec-1.5.jar
osmosis-0.40.1/lib/default/commons-compress-1.2.jar
osmosis-0.40.1/lib/default/commons-dbcp-1.4.jar
osmosis-0.40.1/lib/default/commons-logging-1.1.1.jar
osmosis-0.40.1/lib/default/commons-pool-1.5.4.jar
osmosis-0.40.1/lib/default/jpf-1.5.jar
osmosis-0.40.1/lib/default/mysql-connector-java-5.1.18.jar
osmosis-0.40.1/lib/default/osmosis-apidb-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-areafilter-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-core-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-dataset-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-extract-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-hstore-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-pbf-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-pgsimple-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-pgsnapshot-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-replication-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-set-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-tagfilter-0.40.1.jar
osmosis-0.40.1/lib/default/osmosis-xml-0.40.1.jar
osmosis-0.40.1/lib/default/osmpbf-1.1.1-754a33af.jar
osmosis-0.40.1/lib/default/plexus-classworlds-2.4.jar
osmosis-0.40.1/lib/default/postgis-jdbc-1.3.3.jar
osmosis-0.40.1/lib/default/postgresql-9.0-801.jdbc4.jar
osmosis-0.40.1/lib/default/protobuf-java-2.4.1.jar
osmosis-0.40.1/lib/default/spring-aop-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-asm-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-beans-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-context-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-core-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-expression-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-jdbc-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/spring-tx-3.0.6.RELEASE.jar
osmosis-0.40.1/lib/default/stax2-api-3.1.1.jar
osmosis-0.40.1/lib/default/woodstox-core-lgpl-4.1.2.jar
osmosis-0.40.1/lib/default/xercesImpl-2.9.1.jar
osmosis-0.40.1/readme.txt
osmosis-0.40.1/script/contrib/CreateGeometryForWays.sql
osmosis-0.40.1/script/contrib/apidb_0.6.sql
osmosis-0.40.1/script/contrib/apidb_0.6_osmosis_xid_indexing.sql
osmosis-0.40.1/script/contrib/dump_apidb.sh
osmosis-0.40.1/script/contrib/replicate_osm_file.sh
osmosis-0.40.1/script/fix_line_endings.sh
osmosis-0.40.1/script/munin/README
osmosis-0.40.1/script/munin/osm_replication.conf
osmosis-0.40.1/script/munin/osm_replication_lag
osmosis-0.40.1/script/pgsimple_load_0.6.sql
osmosis-0.40.1/script/pgsimple_schema_0.6.sql
osmosis-0.40.1/script/pgsimple_schema_0.6_action.sql
osmosis-0.40.1/script/pgsimple_schema_0.6_bbox.sql
osmosis-0.40.1/script/pgsimple_schema_0.6_linestring.sql
osmosis-0.40.1/script/pgsnapshot_and_pgsimple.txt
osmosis-0.40.1/script/pgsnapshot_load_0.6.sql
osmosis-0.40.1/script/pgsnapshot_schema_0.6.sql
osmosis-0.40.1/script/pgsnapshot_schema_0.6_action.sql
osmosis-0.40.1/script/pgsnapshot_schema_0.6_bbox.sql
osmosis-0.40.1/script/pgsnapshot_schema_0.6_linestring.sql
osmosis-0.40.1/script/pgsnapshot_schema_0.6_upgrade_4-5.sql
osmosis-0.40.1/script/pgsnapshot_schema_0.6_upgrade_5-6.sql
osmosis-0.40.1/bin/osmosis
osmosis-0.40.1/bin/osmosis-extract-apidb-0.6
osmosis-0.40.1/bin/osmosis-extract-mysql-0.6
osmosis-0.40.1/bin/osmosis.bat
linux-wyee:/home/martin # cd osmosis-0.39
bash: cd: osmosis-0.39: Datei oder Verzeichnis nicht gefunden
linux-wyee:/home/martin # chmod a+x bin/osmosis
chmod: Zugriff auf „bin/osmosis“ nicht möglich: Datei oder Verzeichnis nicht gefunden
linux-wyee:/home/martin # bin/osmosis
bash: bin/osmosis: Datei oder Verzeichnis nicht gefunden

the last lines mean;

bash: cd: osmosis-0.39: Datei oder Verzeichnis nicht gefunden

So we have some intersting lines at the end:

bash: cd: osmosis-0.39: file or directory was not found 
chmod: no access on „bin/osmosis“ it is not possible to access "bin/osmosis": file or direcory werent found 
linux-wyee:/home/martin # bin/osmosis
bash: bin/osmosis: directory or file werent found

so what!? what goes wrong here. What can we do here to install osmosis in a correct way!? thx for any and all help...

asked 27 Apr '12, 22:27

tagtheworld's gravatar image

tagtheworld
0889
accept rate: 0%


You asked for the latest version and got "osmosis-0.40.1" (it's at the start of the first line of each file that the "tar xvfz" command outputs) but you're trying to cd to "osmosis-0.39".

If you want to keep working with osmosis-0.40.1 (which I guess you do) just "cd osmosis-0.40.1" instead, or obtain a copy of osmosis-0.39 if you want to work with that instead.

permanent link

answered 27 Apr '12, 23:41

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

hello - thx again - i did it.

see here

martin # 
linux-70ce:/home/martin # wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
--2014-04-13 09:54:23--  http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.tgz
Auflösen des Hostnamen »bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)«... 128.40.168.103
Verbindungsaufbau zu bretth.dev.openstreetmap.org (bretth.dev.openstreetmap.org)|128.40.168.103|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 9079737 (8,7M) [application/x-gzip]
In »»osmosis-latest.tgz.1«« speichern.

100%[==========================================================================================================================================>] 9.079.737   1,41MB/s   in 6,3s

2014-04-13 09:54:29 (1,38 MB/s) - »»osmosis-latest.tgz.1«« gespeichert [9079737/9079737]

linux-70ce:/home/martin # mkdir osmosis
linux-70ce:/home/martin # cd osmosis^C
linux-70ce:/home/martin # cd osmosis-0.40.1
bash: cd: osmosis-0.40.1: Datei oder Verzeichnis nicht gefunden
linux-70ce:/home/martin # cd osmosis
linux-70ce:/home/martin/osmosis # ls
linux-70ce:/home/martin/osmosis # ls -l
insgesamt 0
linux-70ce:/home/martin/osmosis #

btw - how can ic check the version that i installed

btw regarding the two other toools osmconvert osmfilter - i have had a loook at the corresponding websites. should i have to install it like it is written on here :

wiki.openstreetmap.org/wiki/Osmconvert‎

and here

wiki.openstreetmap.org/wiki/Osmfilter‎

Download and build in one run: wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert Download and build in one run: wget -O - http://m.m.i24.cc/osmfilter.c |cc -x c - -O3 -o osmfilter

what do you suggest?

(13 Apr '14, 09:37) say_hello_to...

I think that the above comment is actually part of the conversation on this other question (though as it's to do with osmosis installation, I suppose it makes some sense to leave it here as a link).

(13 Apr '14, 21:36) SomeoneElse ♦

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:

×362
×230
×118
×30

question asked: 27 Apr '12, 22:27

question was seen: 7,560 times

last updated: 13 Apr '14, 21:37

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