LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2007, 03:47 AM   #1
mykaitch
Member
 
Registered: Feb 2007
Posts: 30

Rep: Reputation: 15
ALSA lib


Hi Guys. OK I have sorted out all my GCC issues, help from you, and my own efforts too so thats all good. One prob to go !
I notice that I have lots of 'stuff' in my Linux partition, but it seeems I have to install anything I want to actually use ? For example,GCC seemed to work but I had to find where stdio.h was ( thanks for the tip to use dpkg -S stdio.h), and having found it, installed it, which worked - my C code tries to compile now.
NOW, I am tryig to find asoundlib.h and it seems this file is not on my machine, but I have found a few ALSA folders and in them 'modprobe-post-install.sh' ( which I ran to see what would happen; not a lot).
So, should I downloand and install an ALSA package from (god knows) or is it lurking somewhere in the depths of my install ?

One thing I would like say to any newbie like myself, IMHO.
This is day 3 for me of Linux. Linux, it seems, is very much a 'doing it' OS. Forget point/click/wizard/blue screen/reboot/crash, it aint like that. It seems that with Linux as you learn a tiny bit (as I have - very tiny), so it slowly gets better, but you really have to participate. To be honest, I am beginning to feel back in control of my PC again.
 
Old 02-20-2007, 04:07 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Hi mykaitch! Indeed, using Linux is a way to learn what is under the cover of an Operating System architecture, and in my opinion it is highly satisfactory to get a good result after a lot of hand work! Regarding your question, the header asoundlib.h is provided by the libasound2-dev debian package.
 
Old 02-20-2007, 04:23 AM   #3
mykaitch
Member
 
Registered: Feb 2007
Posts: 30

Original Poster
Rep: Reputation: 15
ALSA lib

the header asoundlib.h is provided by the libasound2-dev debian package....

Which I have to download and install ?
(I have Debian Etch)
 
Old 02-20-2007, 04:33 AM   #4
mykaitch
Member
 
Registered: Feb 2007
Posts: 30

Original Poster
Rep: Reputation: 15
ALSA lib

OK, I have fixed it. Now please explain why.

I decided to try apt-get install libasound2-dev

My PC popped off to Debian and did it, great.

How does it 'know' to go there? This is really interesting to me. Can I take a guess, that Linix fails to fing the pkg on my PC, and because I have a intet link it goes to the source from whixh I installed, and it does this because it was stored somewhere during the install ? Thats quite clever ( not of me, of it).
 
Old 02-20-2007, 04:44 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
I am not used to Debian, but today almost each Linux distribution let you add the so-called Source Repository, that is - as you guessed - some place over the internet from which to download the package you need to install. This doc from the Debian site should clarify the entire process: Debian Repository HOWTO.
 
Old 02-20-2007, 04:47 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Maybe another useful tool is http://www.rpmseek.com/index.html, a site where you can find information about a lot of built RPM and DEB packages. The search engine let you also find the package that provides a specific file.
 
  


Reply

Tags
alsa, lib


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
ALSA lib problem - can't open sequencer Bonjourmate Debian 1 01-11-2006 12:27 PM
alsa-utils conflicts with alsa-lib sloik2000 Linux - Software 0 07-09-2005 08:50 AM
Alsa-lib on SuSE 9.1 prof fireedo SUSE / openSUSE 2 03-05-2005 11:00 AM
problem compiling alsa-lib 1.0.8 red_erik Linux - Software 1 01-31-2005 01:43 PM
Problems installing alsa-lib from CVS!! patkalolo Linux - Software 2 07-08-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 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