Icedtea 2.4.0, build CACAO/OpenJDK -> 'ERROR: You seem to not have installed ALSA 0.9.1 or higher.'

Andrew Hughes gnu.andrew at redhat.com
Mon Jun 17 08:01:56 PDT 2013


----- Original Message -----
> On 15 June 2013 09:23, Guillaume Alaux <guillaume at alaux.net> wrote:
> > On 14 June 2013 21:15, Stefan Ring <stefan at complang.tuwien.ac.at> wrote:
> >>
> >> > However, I noticed some errors in the build output that might be
> >> > related,
> >> > e.g. http://pastebin.com/F1gETRkH, line 1091:
> >> > /bin/sh: /bin/egrep: No such file or directory
> >> >
> >> > On my system:
> >> > $ which egrep
> >> > /usr/bin/egrep
> >>
> >> /bin, /usr/bin unification seems to be all the rage these days. On my
> >> Fedora system, /bin is actually a symlink to /usr/bin. In your case, I
> >> would create a fresh bin directory somewhere (in your home), symlink
> >> everything from both /bin and /usr/bin there and use that as
> >> UNIXCOMMAND_PATH.
> >>
> >> > I need to build new CACAO sources because I'm working on a related
> >> > project
> >> > as part of an undergrad course and later my Bachelor thesis. I have
> >> > built it
> >> > before with GNU Classpath and without IcedTea, but I wanted to try
> >> > OpenJDK
> >> > as well. If there is a way to build CACAO for OpenJDK without building
> >> > OpenJDK itself and you could point it out to me, I might not give up on
> >> > it
> >> > now.
> >>
> >> Build it with icedtea. Once you have a build, you'll not need to touch
> >> the icedtea/OpenJDK bits anymore.
> >
> > As for binaries not beeing on the expected path, I would just like to
> > point out that to build it for Arch, we patch these as shown here [0]
> > [1]. You could have a look at the complete build process for Arch here
> > BTW [2].
> >
> > Also, downloading the sources of the Arch package and modifying them
> > for your needs could be an easier start.
> >
> > [0]
> > https://projects.archlinux.org/svntogit/packages.git/tree/trunk/01_fix_openjdk_cmds_path.diff?h=packages/java7-openjdk
> > [1]
> > https://projects.archlinux.org/svntogit/packages.git/tree/trunk/02_fix_corba_cmds_path.diff?h=packages/java7-openjdk
> > [2]
> > https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/java7-openjdk
> >
> > --
> > Guillaume
> 
> I have just checked and you don't even need these path fixing patches
> if you have performed the /usr/bin move.
> 

The correct solution would be for IcedTea to detect and set these, I think.

Please let us know if you have patches that could be adapted for IcedTea :)
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list