LinuxQuestions.org
Visit Jeremy's Blog.
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 10-16-2004, 08:53 AM   #1
steefje
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: debian
Posts: 46

Rep: Reputation: 15
gcc ??


hi, i'm quite new to linux and i was wondering how i could install gnu c compiler because i get this error when trying to install latest alsa drivers ...
Quote:
linux:/home/steefje/alsa-driver-1.0.6a # ./configure
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
is there any way i could download and install it with 'you' from suse

or can someone just tell me what i should download from gcc mirrors and how to install it because i don't really get it
 
Old 10-16-2004, 10:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it will definitely be on your suse cd's somewhere, posibly grouped in some installer somewhere are "developement tools" or such like. i'm not familiar with Suse user tools though.
 
Old 10-16-2004, 01:57 PM   #3
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
For your alsa woes
ftp://ftp.suse.com/pub/suse/i386/cur....3-37.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/cur....3-27.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/cur...1-517.i586.rpm

Please not that thoose are for "current" if your not using current then just go to ftp.suse.com and browse to your version.

And you will also find gcc and gcc-c++ on suse's ftp site.
 
Old 10-16-2004, 03:56 PM   #4
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
I had to install the newest alsa drivers since the suse packages didn't include the driver for my soundcard yet. I'm sure you have the same problem so downloading the above won't do you any good. log into the suse ftp server and download the following packages:

gcc-3.3.3-41.i586.rpm
gcc-c++-3.3.3-41.i586.rpm
make-3.80-184.i586.rpm
glibc-devel-2.3.3-98.i586.rpm
libstdc++-3.3.3-41.i586.rpm
libstdc++-devel-3.3.3.-41.rpm

maybe i forget but you might need these 2 also but don't install unless you still get errors:
libsigc++-devel-1.0.4-375.i586.rpm
libstdc++-3.3.3-41.i586.rpm

i'd suggest downloading suse pro via ftp for free to save yourself alot of compiling headaches.
 
Old 10-17-2004, 03:45 AM   #5
steefje
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: debian
Posts: 46

Original Poster
Rep: Reputation: 15
hi, the gcc problem is solved now, yet when trying to install latest alsa drivers, i get this message

Quote:
linux:/home/steefje/alsa-driver-1.0.6a # ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/steefje/alsa-driver-1.0.6a
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.5-7.108-default/build
checking for kernel version... The file /lib/modules/2.6.5-7.108-default/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.5-7.108-default/build).
when browsing to that folder *default/build there's a file called build, when i click it a message said /build no longer exist
 
Old 10-17-2004, 12:06 PM   #6
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
thats right i forgot that you also need to download the kernel source for that kernel version. you can find it also at the suse ftp site. if you can't find it let me know the kernel version you are using.
 
  


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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 11:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 05:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM

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

All times are GMT -5. The time now is 01:11 PM.

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