Package: cacao
Version: 0.93-4

This is a new version of bug #337601, which solved the previous ww2d
problem with jamvm by updating classpath.

Cacao fail to run the GIS tool World Wind.  I get it working using SUN
Java by following this howto:

 1) download the JOGL and ww2d packages:

      wget http://ww2d.csoft.net/files/ww2d-0.99.87.zip
      wget http://ww2d.csoft.net/files/JOGL-Inst-1.10.jar

 2) unpack JOGL into separate directory (running the jar do not work,
    as it assume root access and tries to copy files into locations
    where I do not want to write new files).

      (mkdir JOGL-Inst && cd JOGL-Inst && jar -x < ../JOGL-Inst.jar)

 3) unpack the ww2d zip file

      unzip ww2d-0.99.87.zip

 4) make the jogl files available in this new directory.  This is the
    important trick to work around the broken JOGL installer.

      (cd ww2d-0.99.87 && ln ../JOGL-Inst/jogl.jar .)
      (cd ww2d-0.99.87 && ln ../JOGL-Inst/libjogl.so .)

 5) run the program in the ww2d... directory while making sure the
    dynamic linker find the libjogl.so file.

      cd LD_LIBRARY_PATH=`pwd` java -jar WW2D.jar

This give me a nice window with a map of the earth, and I can zoom in
to different areas of the world using Alt-up and Alt-down. :)

When I try to run it using cacao, I get this exception instead:

  WW2D 0.99.87 by Vitaliy Pronkin <[EMAIL PROTECTED]> starting...
  Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library 
`jogl' not found (as file `libjogl.so') in gnu.classpath.boot.library.path and 
java.library.path
     at java.lang.Runtime.loadLibrary (Runtime.java:763)
     at java.lang.System.loadLibrary (System.java:512)
     at net.java.games.jogl.impl.NativeLibLoader$1.run (NativeLibLoader.java:72)
     at java.security.AccessController.doPrivileged (AccessController.java:96)
     at net.java.games.jogl.impl.NativeLibLoader.load (NativeLibLoader.java:58)
     at net.java.games.jogl.impl.x11.X11GLContextFactory.<clinit> 
(X11GLContextFactory.java:50)
     at java.lang.VMClass.forName (Native Method)
     at java.lang.Class.forName (Class.java:161)
     at net.java.games.jogl.impl.GLContextFactory.getFactory 
(GLContextFactory.java:69)
     at net.java.games.jogl.GLDrawableFactory.createGLCanvas 
(GLDrawableFactory.java:150)
     at net.java.games.jogl.GLDrawableFactory.createGLCanvas 
(GLDrawableFactory.java:118)
     at net.java.games.jogl.GLDrawableFactory.createGLCanvas 
(GLDrawableFactory.java:85)
     at org.ww2d.core.Program.main (Program.java:56)
  [and then it hangs]

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cacao depends on:
ii  classpath                     2:0.20-1   clean room standard Java libraries
ii  classpath-common              2:0.20-1   architecture independent files
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  zlib1g                        1:1.2.3-9  compression library - runtime

cacao recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to