LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-29-2004, 10:35 PM   #1
Baddox
Member
 
Registered: Nov 2004
Location: Mexico, Missouri
Distribution: Changes frequently
Posts: 49

Rep: Reputation: 15
Suse 9.1 Personal - No acceptable C compiler found in $PATH


Whenever I try to ./configure any program from source (as root) I get the following message:

....
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.

config.log basically just shows more failed attempts at finding C compilers.

I've seen several other posts around with similar problems, but usually the person fixes the problem by installing gcc and perhaps other packages. However, I have all the development packages available installed from my Suse 9.1 Personal CD, and I've tried countless time to uninstall and reinstall gcc-whatever.rpm from the CD. I also have cpp, libgcc, glibc, and pretty much everything I can find on the CD that sounds like it has to do with C compilation. When I do gcc --version from a terminal (user or root) it says command not found, as if it's not installed.

Needless to say being unable to install from source isn't very fun. Does anyone have any ideas here? I appreciate it.
 
Old 11-30-2004, 12:48 AM   #2
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
You may want to do a rpm -qa | grep gcc - This will tell you if it's installed or not.

Also, I think that Suse Personal is basically a basic Linux distro - not really a developer distro (as I said, I only think this is true, can't remember) so gcc mightn't be installed by default...
 
Old 11-30-2004, 03:19 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
AMMullan is right, there are no such packages on SuSE 9.1 Personal.

The easiest way to install them ist to add an FTP server to the yast installation sources.

Yast -> Software -> Change Source of Installation

Add -> FTP

Server: ftp.suse.com (better one of it's mirrors )
Directory: pub/suse/i386/9.1 (you need to adjust this if you entered a mirror above)

To install the software, simply choose the 'Install and Remove Software' module.
 
Old 11-30-2004, 08:54 AM   #4
Baddox
Member
 
Registered: Nov 2004
Location: Mexico, Missouri
Distribution: Changes frequently
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks guys, I'll try this when I get home after school and work tonight. Most likely though the files will be huge and since I've got dialup (over ICS even) so needless to say downloads are no fun.
 
Old 11-30-2004, 03:07 PM   #5
Baddox
Member
 
Registered: Nov 2004
Location: Mexico, Missouri
Distribution: Changes frequently
Posts: 49

Original Poster
Rep: Reputation: 15
I'm guessing these packages will be pretty large, so would someone happen to know what packages I will need so I can download them at a friend's house with broadband? I'm sure YAST online would be much easier, but with dial up (and only one phone line) it would take forever. Thanks a lot.
 
Old 12-01-2004, 02:14 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
It's really hard to say, since we don't know the requirements of the software you want to compile. At least you will need make, gcc, glibc and glibc-devel. Then there are other compilers for Java, Fortran and so on. Your software may also require certain libraries that need to be present as the devel packages.

Check the output of ./configure to get an idea of what is required.

gcc-3.3.3-41.i586.rpm is 420 kB
glibc-2.3.3-98.i586.rpm is 1.4 MB
glibc-devel-2.3.3-98.i586.rpm is 6.4 MB
make-3.870-184.i586.rpm is 340 kB
autoconf-2.59-75.i586.rpm is 518 kB
automake-1.8.3-23.i586.rpm is 412kB
 
  


Reply



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
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 08:44 PM
no acceptable C compiler found in $PATH sinXposed Linux - Software 4 08-10-2006 02:14 PM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 07:03 PM
no acceptable C compiler found in $PATH AL MOSLEM Programming 19 02-08-2005 10:03 AM
no acceptable C compiler found in $PATH skrothuset Linux - Newbie 4 06-13-2003 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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