[linux-audio-user] ALSA from CVS

Mark Constable markc at renta.net
Wed Apr 13 10:55:22 EDT 2005


I'm attempting to resurrect the aabuild "alsa from cvs"
script but running into an issue with building alsa itself,
and also unsure of "the right" method to blend in alsa from
cvs with a kernel source tree.

Any comments about how to improve these two functions would
be appreciated and any clue as to the error when compiling
alsa-lib would also go down well.

setup_alsa()
{
    cd $CVSDIR/alsa
    if [ ! -d ./CVS ]; then
        echo "Just hit the enter key at the login prompt"
        cvs -d ':pserver:anonymous at cvs.alsa-project.org:/cvsroot/alsa' login
        cvs -z3 -d ':pserver:anonymous at cvs.alsa-project.org:/cvsroot/alsa' co -P .
    else
        [ "x$(find -type d -name CVS -cmin -720)" = "x" ] && cvs up -P -d
    fi
    cd $SRCDIR
    rm -rf alsa/*
    cp -a $CVSDIR/alsa/* alsa
    find alsa/alsa-kernel -type d -name CVS | xargs rm -rf
    rm -rf alsa/alsa-kernel/oss
    cp -a alsa/alsa-kernel/* linux/sound
    cp -a alsa/alsa-kernel/include/* linux/include/sound
    cp -a alsa/alsa-kernel/Documentation/* linux/Documentation/sound
}

Are the above steps copying the the alsa-kernel parts into the
linux source tree correct these days ?

build_alsa()
{
    cd $SRCDIR/alsa
    for i in alsa-lib alsa-utils alsa-tools alsa-firmware alsa-plugins alsa-oss
    do
        cd $SRCDIR/alsa/$i
        ./cvscompile
    done
}

I'm getting this error below in the first alsa-lib stage above...

...
Making all in src
make[3]: Entering directory `/usr/src/alsa/alsa-tools/ld10k1/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/alsa/alsa-tools/ld10k1/src'
make[3]: Entering directory `/usr/src/alsa/alsa-tools/ld10k1'
make[3]: Leaving directory `/usr/src/alsa/alsa-tools/ld10k1'
make[2]: Leaving directory `/usr/src/alsa/alsa-tools/ld10k1'
make[1]: Leaving directory `/usr/src/alsa/alsa-tools/ld10k1'
/usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
... (heaps of similar warnings)...
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
aclocal:configure.in:12: warning: macro `AM_PATH_LD10K1' not found in library
configure.in:12: error: possibly undefined macro: AM_PATH_LD10K1
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf-2.59: /usr/bin/autoconf-2.59 failed with exit status: 1
CFLAGS=-O2 -Wall -pipe -g
./configure
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
make[1]: Entering directory `/usr/src/alsa/alsa-tools/qlo10k1'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-tools/qlo10k1'
make[1]: Entering directory `/usr/src/alsa/alsa-tools/qlo10k1'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-tools/qlo10k1'
make: *** [all] Error 2

--markc



More information about the Linux-audio-user mailing list