LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Sound not working realtek (https://www.linuxquestions.org/questions/linux-hardware-18/sound-not-working-realtek-4175450388/)

muammar 02-16-2013 02:31 AM

Sound not working realtek
 
I'm trying to install either realtek or standard debian alsa

Code:

root@Them:/home/muammar/Desktop/realtek-linux-audiopack-5.17/alsa-driver-1.0.25# ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/muammar/Desktop/realtek-linux-audiopack-5.17/alsa-driver-1.0.25':
configure: error: no acceptable C compiler found in $PATH

from the log:
Code:

configure:2734: checking for gcc
configure:2764: result: no
configure:2827: checking for cc
configure:2874: result: no
configure:2930: checking for cl.exe
configure:2960: result: no
configure:2984: error: in `/home/muammar/Desktop/realtek-linux-audiopack-5.17/alsa-driver-1.0.25':
configure:2987: error: no acceptable C compiler found in $PATH

For this error the guide says
Quote:

You don’t install the compile application. Go to install development tools.
I do have gcc intalled.

I have linux headers.

Really lost here. Can't get alsa or realtek to work

Code:

root@Them:/# alsactl init
alsactl: init:1743: No soundcards found...

Code:

root@Them:/# cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf7e60000 irq 17

I have realtek alc898

John VV 02-16-2013 03:48 AM

a few things
one is this Ubuntu12.10 ? or debian stable ?

second it is never a good idea to run "configure" as root ( can cause problems down the line)

Third it is also not a good idea to save software to the "Desktop" .It is a "special" folder and trying to build source code from there can cause problems

Quote:

I do have gcc intalled.
are you 100% sure ?
the error is rather clear, it is not installed .

if you did , then exactly How did you install it ?

muammar 02-16-2013 04:33 AM

Debian 6.06
So anywhere besides the Desktop? Home folder?

gcc is installed by default in debian afaik. If I search gcc in the software centre there are a dozen or so packages installed already.

I think it just cannot find how to use gcc.
For this reason
Quote:

configure:2987: error: no acceptable C compiler found in $PATH

John VV 02-16-2013 04:51 AM

gcc has a lot of parts
it is a suite of programs
gcc,cpp,g++ are the common ones
they also have "aliases "
gcc =CC
c++=cpp
i am betting the configure script is looking for "CC"

is gcc linked to CC in /usr/bin


the home ( ~/) folder is fine
the "Desktop" folder can sometimes cause some unexpected problems

muammar 02-16-2013 05:11 AM

edit: Got it working

rebelplankton 03-19-2013 08:43 PM

Quote:

Originally Posted by muammar (Post 4892865)
edit: Got it working

Hey muammar, it would be great that you post how you got it working, so everyone who pass by here finds some useful information.

PD: I, personally, am having a similar trouble.


All times are GMT -5. The time now is 06:50 AM.