Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-25-2004, 10:26 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
Error installing Alsa (Error copying pcm_lib.c)


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
Old 02-25-2004, 10:53 AM   #2
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
/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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ripping VCD's ( I/O ERROR while copying ) koodoo Linux - Newbie 11 01-25-2006 11:33 AM
installing alsa 1.0.6a ... weird error steefje Linux - Software 4 10-31-2004 07:53 AM
Error Copying File or Folder nysethe Linux - Networking 3 08-17-2004 01:06 PM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM
Kernal error while installing ALSA theteenager Linux - Hardware 3 07-03-2003 06:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration