[PlanetCCRMA] more ALSA recompile questions...
Fernando Pablo Lopez-Lezcano
nando at ccrma.Stanford.EDU
Tue Sep 30 17:37:00 PDT 2003
> another question - I took a guess that there was a typo at
> http://ccrma-www.stanford.edu/planetccrma/software/recompilealsa.html
> in this section:
> su
> cd /usr/src/redhat/SPECS
> rpmbuild -bb alsa-driver-0.9.6-2.cvs.spec
> rpmbuild -Uvh ../RPMS/i386/alsa-driver*0.9.6-2.cvs.i386.rpm
>
> where the last line should be rpm -Uvh since I hadn't yet read anything
> about being able to do rpmbuild -Uvh :)
>
> and so I did the rpmbuild, and then changed the last command line, doing an
> rpm -Uvh blah blah and got:
>
>
> error: Failed dependencies:
> alsa-kernel = 0.9.6-2.cvs is needed by alsa-driver-0.9.6-2.cvs
> alsa-driver = 0.9.6-2.cvs.rh90 is needed by (installed)
> planetccrma-core-2003.09.12-1.rh90
One more error in the instructions, I have to update them. You have to
build the alsa-driver with the proper kernel architecture (it has to
match the kernel for which you are compiling for). To see what kernel
arch you have installed do:
uname -r
this will output the version of the kernel you are running.
Then:
rpm -q --qf "%{ARCH}\n" kernel-VERSION
where VERSION is the output of the uname command.
Then do a:
rpmbuild -ba --target i686 alsa-driver-xxxx.spec
(if the architecture is i686)
When you install you need to install the kernel modules package
(alsa-kernel-*) and the alsa-driver package (alsa-driver-*).
> so I thought hmmm. and did the next command on the page:
>
> rpmbuild -bb alsa-lib-0.9.6-2.cvs.spec
>
> and got:
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.58743 (%build)
>
>
> and said hmmm
> and skipped: rpm -Uvh ../RPMS/i386/alsa-lib-0.9.6-2.cvs.i386.rpm
> and did:
> rpmbuild -bb alsa-utils-0.9.6-2.cvs.spec
>
> and got:
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.90330 (%build)
>
> and said hmmm...
>
> and decided to write this list ... :)
You have to have a properly installed alsa driver package to be able to build
the library and utilities... BTW, why are you rebuilding the packages?
-- Fernando
More information about the PlanetCCRMA
mailing list