Re: trying to build the image.deb
On Mon, 22 Sep 2008, Paolo Ariano wrote:
thanks, i finally start to understood ;)
Thanks. I tried your packaging stuff with pbuilder and noticed
that the build dependencies are not correct because gcj seems not
to be fit:
make[1]: Entering directory `/tmp/buildd/imagej-1.41l'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/tmp/buildd/imagej-1.41l'
cd /tmp/buildd/imagej-1.41l && /usr/lib/jvm/java-gcj/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/lib/jvm/java-gcj/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true build
Buildfile: build.xml
compile:
[mkdir] Created dir: /tmp/buildd/imagej-1.41l/build
[javac] Compiling 258 source files to /tmp/buildd/imagej-1.41l/build
BUILD FAILED
/tmp/buildd/imagej-1.41l/build.xml:9: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre"
Total time: 1 second
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
Could you please tell me what package you are using as java compiler?
ok now after a svn commit a new version is uploaded
Well, it is actually not "uploaded" (this term is used for uploading
a binary package to the Debian package pool) but your changes are
commited to the SVN (to enable further work until it is read for
upload).
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: