LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error installing Alsa (Error copying pcm_lib.c) (https://www.linuxquestions.org/questions/linux-software-2/error-installing-alsa-error-copying-pcm_lib-c-150353/)

Doleo 02-25-2004 10:26 AM

Error installing Alsa (Error copying pcm_lib.c)
 
Hi

I'm a newbie and have just installed Mandrake 9.2 on my IBM thinkpad i1400 series.
The sound card is a Yahama OPL3SA chip, it is not detected during the installation so I decided to download and install the ALSA driver.
After locating the linux kernel correctly I exectuted the .configure command for my settings. ( ./configure --with-cards=opl3sa2 --with-kernel=/usr --with-sequencer=yes;make;make install)

And everythings runs smoothly untill it tries to copy the pcm_lib.c file.
I get error 127 during the copying.
If somebody could help me and/or see any other errors in the text below I would deeply appericiate it.

config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
make[1]: Entering directory `/home/royivar/tmp/alsa-driver-1.0.2c/acore'
copying file alsa-kernel/core/pcm_lib.c
/bin/sh: line 1: patch: command not found
make[1]: *** [pcm_lib.c] Error 127
make[1]: Leaving directory `/home/royivar/tmp/alsa-driver-1.0.2c/acore'
make: *** [compile] Error 1
rm -f /lib/modules/2.4.22/misc/snd*.*o /lib/modules/2.4.22/misc/persist.o /lib/modules/2.4.22/misc/isapnp.o
make[1]: Entering directory `/home/royivar/tmp/alsa-driver-1.0.2c/acore'
mkdir -p /lib/modules/2.4.22/misc
cp snd-hwdep.o snd-page-alloc.o snd-pcm.o snd-rawmidi.o snd-timer.o snd.o /lib/modules/2.4.22/misc
cp: cannot stat «snd-hwdep.o»: No such file or directory
cp: cannot stat «snd-page-alloc.o»: No such file or directory
cp: cannot stat «snd-pcm.o»: No such file or directory
cp: cannot stat «snd-rawmidi.o»: No such file or directory
cp: cannot stat «snd-timer.o»: No such file or directory
cp: cannot stat «snd.o»: No such file or directory
make[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/home/royivar/tmp/alsa-driver-1.0.2c/acore'
make: *** [install-modules] Error 1

Rounan 02-25-2004 10:53 AM

Quote:

/bin/sh: line 1: patch: command not found
Looks like you need to install the patch command. It would be in a development toolkit - google or check the SoftDrake utility to see which one.

--Rounan


All times are GMT -5. The time now is 07:26 PM.