[Debian-med-packaging] [Help] New version of ImageJ does not build in pbuilder because of lacking DISPLAY variable
Andreas Tille
andreas at an3as.eu
Fri Jun 1 11:36:35 UTC 2012
Hi,
I just commited packaging stuff for the latest ImageJ version to SVN but
I failed in building when using pdebuild:
build:
[copy] Copying 1 file to /tmp/buildd/imagej-1.46o/build
[copy] Copying 1 file to /tmp/buildd/imagej-1.46o/build
[copy] Copying 1 file to /tmp/buildd/imagej-1.46o/build
[copy] Copying 1 file to /tmp/buildd/imagej-1.46o/build
[copy] Copying 1 file to /tmp/buildd/imagej-1.46o/build
[copy] Copying 1 file to /tmp/buildd/imagej-1.46o/build
[copy] Copying 16 files to /tmp/buildd/imagej-1.46o/build/macros
[jar] Building jar: /tmp/buildd/imagej-1.46o/ij.jar
run:
[copy] Copying 1 file to /tmp/buildd
[java] No protocol specified
[java] Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
[java] at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[java] at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:62)
[java] at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:178)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:142)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:186)
[java] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
[java] at java.awt.Window.init(Window.java:424)
[java] at java.awt.Window.<init>(Window.java:477)
[java] at java.awt.Frame.<init>(Frame.java:419)
[java] at ij.ImageJ.<init>(ImageJ.java:132)
[java] at ij.ImageJ.main(ImageJ.java:657)
I can confirm that debuild works fine because there is a properly
setup X environment.
Any clue?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list