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

Guillaume Alaux guillaume at alaux.net
Sat Jun 15 01:59:13 PDT 2013


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.



More information about the distro-pkg-dev mailing list