[Debian-med-packaging] Bug#580807: libinsighttoolkit3-java: the java bindings as built by Debian don't work
Michal Suchanek <hramrach@centrum.cz>
michal.suchanek at ruk.cuni.cz
Sat May 8 19:53:39 UTC 2010
Package: libinsighttoolkit3-java
Version: 3.18.0-2
Severity: normal
Hello
Thanks for including the Java bindings in the package.
Unfortunately, these bindings do not work for me, I have to rebuild the
package locally for them to work.
I tried in insighttoolkit-3.18.0/Examples/Segmentation
$ CLASSPATH=/usr/share/java/InsightToolkit.jar:. javac WatershedSegmentation1.java
$ CLASSPATH=/usr/share/java/InsightToolkit.jar:. java WatershedSegmentation1 ~/wallpaper.jpg wallpaper.vtk
WatershedSegmentation1 Example
Exception in thread "main" java.lang.RuntimeException:
/build/buildd-insighttoolkit_3.18.0-2-i386-LZcrce/insighttoolkit-3.18.0/Code/IO/itkImageFileWriter.txx:118:
itk::ERROR: ImageFileWriter(0x87909130): No input to writer!
at
InsightToolkit.itkImageFileWriter_2DJNI.itkImageFileWriterUL2_Pointer_Update(Native
Method)
at
InsightToolkit.itkImageFileWriterUL2_Pointer.Update(itkImageFileWriterUL2_Pointer.java:139)
at WatershedSegmentation1.main(WatershedSegmentation1.java:40)
After installing locally built version of the
libinsigghttoolkit3{.18,-java,-jni} the example works as expected:
$ CLASSPATH=/usr/share/java/InsightToolkit.jar:. java WatershedSegmentation1 ~/wallpaper.jpg wallpaper.vtk
WatershedSegmentation1 Example
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (900, 'stable'), (700, 'testing'), (500, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.33-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libinsighttoolkit3-java depends on:
ii libinsighttoolkit3-jni 3.18.0-2 Image processing toolkit for regis
libinsighttoolkit3-java recommends no packages.
libinsighttoolkit3-java suggests no packages.
-- no debconf information
More information about the Debian-med-packaging
mailing list