LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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

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


Reply


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 12:33 PM
installing alsa 1.0.6a ... weird error steefje Linux - Software 4 10-31-2004 08:53 AM
Error Copying File or Folder nysethe Linux - Networking 3 08-17-2004 02:06 PM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 09:16 PM
Kernal error while installing ALSA theteenager Linux - Hardware 3 07-03-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 AM.

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