On 2 September 2012 04:26, Stéphane Henriod <[email protected]> wrote:
> Hi Brett > > Thanks for your answer! > > Yes I have compiled the source with the command ant build. > What command did you run to build the software, and which directory did you run the command from? Did the ant command complete without errors? > The reason I didn't use the binaries is that I work on a mutualised server > where I don't have admin rights. Thus I can't do anything that requires a > sudo command like sudo apt-get. > You don't need admin rights. You can simply download a precompiled binary package from here and extract it somewhere in your home directory. http://wiki.openstreetmap.org/wiki/Osmosis#Latest_Stable_Version I'd strongly recommend trying the binary build first. > After compilation I have put the path to osmosis > (home/my_user/data/prog/package/bin) in the path variable. So now I simply > call it from anywhere with the command "osmosis". > > When I try osmosis --arguments I get this java error which makes me think > that osmosis is found properly but that he doesn't find the path to some > java library or something. > It is usually caused by a problem during compilation. The launch script is a shell script which you are executing successfully. As you've suggested, the problem is caused by missing libraries. In your case, a file called package/lib/default/plexus-classworlds-2.4.jar might be missing. > Does it make a difference that osmosis is installed in my home and not in > a higher level directory? > It can be installed anywhere you please, so installing in your home directory should be okay. Brett
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

