Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded icedtea2.3.3 and installed alsa-lib alsa-firmware,

./configure doesn't give any error, but make complains that ALSA 0.9.8 or higher is needed.

Actually, ALSA 1.0.25 is installed.

What can I do?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Because make cannot find grep and egrep. The UNIX_COMMAND_PATH is pointing to /bin, but grep and egrep are located in /usr/bin.

So make cannot find the version of file /usr/include/alsa/version.h.

Looking into icedtea-2.3.3/openjdk-boot/jdk/make/common/shared/Defs-linux.gmk, UNIX_COMMAND_PATH can be defined as ALT_UNIX_PATH:

UNIXCOMMAND_PATH :=$(call PrefixPath,$(ALT_UNIXCOMMAND_PATH))

just

export ALT_UNIXCOMMAND_PATH=/usr/bin
ln -s /bin/sh /usr/bin/sh

Then make returns no error. If make complains something not found in /usr/bin/ but it is located in /bin, just make a symbolic link to /bin.

share|improve this answer
    
For me, export ALT_UNIXCOMMAND_PATH=/usr/bin was enough. No symlinking was necessary. –  trustin May 27 '13 at 8:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.