attenpt at building icedtea on debian sid
plugwash at p10link.net
Fri Aug 10 14:02:41 PDT 2007
I updated the sid chroot in which I tried this before starting
I installed the following packages using apt to try and satisfy the
ecj mercurial libcupsys2-dev lesstif2-dev libXp-dev libXtst-dev
libXi-dev libxalan2-java libxerces2-java libXt-dev libgcj-bc
libfreetype6-dev gcc g++ wget gcj libalsaplayer-dev
which I got from the combination of the yum command on the icedtea wiki
and a bit of educated guesswork.
I checked out the code for mercurial by following the instructions on
the front page of the icedtea wiki
I ran ./configure , it gave an error about not being able to find unzip
so I installed the zip and unzip packages.
I ran it again and it said
checking for libgcj-4.1.2.jar... no
configure: error: "A LIBGCJ jar was not found."
A package contents search for that file found nothing but removing the
.2 from the name found the package libgcj7-jar. I discovered this was
already installed so I added a symlink with
ln -s /usr/share/java/libgcj-4.1.jar /usr/share/java/libgcj-4.1.2.jar
Once again i reran ./configure and got the error
checking for alsa/asoundlib.h... no
configure: error: "ALSA headers were not found - try installing
A package contents search revealed the header was in libasound2-dev. I
installed this and reran configure. Finally it passed.
I then ran make bootstrap, this proceeded to download openjdk and
attempted to build it. After some time I got the following error
/usr/bin/ecj -nowarn -g -d ../lib/rt -bootclasspath '' -source
Annotation processing got disabled, since it requires a 1.6 compliant JVM
1. ERROR in
/icedtea/openjdk/j2se/src/share/classes/java/awt/Component.java (at line
transient EventQueueItem eventCache;
EventQueueItem cannot be resolved to a type
1 problem (1 error)make: *** [rt-compile-classes] Error 255
any Idea what the problem might be?
More information about the distro-pkg-dev