[PlanetCCRMA] Building Alsa RPMs...

Mark Knecht mknecht@controlnet.com
Fri Jan 24 10:34:01 2003

   OK, I'm getting started on this. I've downloaded and installed the Alsa
Source RPMs from


Steps 1 & 2 are complete.

When I attempt Step 3 it fails and tells me that I must install the full
source code for the kernel.

To get past this I tried using


I downloaded using the link at the top, and then installed it using

rpm -Uvh kernel-2.4.19-1.ll.src.rpm

but still, when I go back and try Step 3 in the Alsa process it fails.
Here's the message:

checking for current directory... /usr/src/redhat/BUILD/alsa-driver-0.9.0
checking cross compile...
checking for directory with kernel source... /usr/src/linux-2.4.19-1.ll
checking for kernel version... The file
/usr/src/linux-2.4.19-1.ll/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
error: Bad exit status from /var/tmp/rpm-tmp.20124 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.20124 (%build)
[root@hindemith SPECS]#

what I see is that I have /usr/src/redhat, not /usr/src/linux-2.4.....

Am I on the right page with


and how many steps do I need to do here?


> <SNIP>
> >    I wonder if there isn't a similar path for doing the Alsa RPM that's
> > parallel to Fernando's instructions for doing the kernel?
> Yep, it is pretty much the same...
>   http://www-ccrma.stanford.edu/planetccrma/software/recompilealsa.html
> That is for rebuilding the rpms without changing them in any way (for
> example, you want to run the same alsa on top of a different kernel, or
> you have rebuilt the kernel).
> If you want to change things...
> * if what you want to change in already in cvs it's easy:
> - install the source rpms for the alsa driver, library, utils and tools
> - build a new tarball for the current cvs
>   cd /usr/src/redhat/SOURCES/
>   ./alsa-get-cvs
>   [answer the prompt]
> - check what is the date of the cvs access which names the tarball
>   ls -lt | head
>   the file at the top of the listing would be something like:
>   alsa-xxxxxxxx.yyyyyy.tar.bz2 where xxxxxxxx.yyyyyy is the date and
>   time of the cvs snapshot.
> - edit all four spec files (alsa-driver, alsa-lib, alsa-utils,
>   alsa-tools) that live in /usr/src/redhat/SPECS, copy them to new files
>   that have a different version number, change the version number and
>   the cvs_date variable to match the new cvs date, rebuild and reinstall
>   as outlined in the web.
> > -----Original Message-----
> > From: planetccrma-admin@ccrma.Stanford.EDU
> > [mailto:planetccrma-admin@ccrma.Stanford.EDU]On Behalf Of Mark Knecht
> > Sent: Thursday, January 23, 2003 8:26 PM
> > To: PlanetCCRMA
> > Cc: Takashi Iwai
> > Subject: [PlanetCCRMA] [Fwd: Re: [Alsa-devel] HDSP 9652 MIDI Timing -
> > Much improved, but no Port 1...]
> >
> >
> > Fernando,
> >    Any chance of helping Takashi-san with this test? LEt us know when
> > you can try this. I'll test it when it's in.
> >
> > Thanks,
> > Mark
> >
> >
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma