LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 03-27-2005, 11:58 PM   #1
sinXposed
LQ Newbie
 
Registered: Mar 2005
Location: CA
Posts: 9

Rep: Reputation: 0
no acceptable C compiler found in $PATH


whenever i try to install programs that are tar.gz ... i extrat them then run ./configure and this is what i get everytime..

linux:/home/sinXposed/Documents/gTweakUI-0.4.0 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for intltool >= 0.21... 0.30 found
checking for perl... /usr/bin/perl
checking for style of include used by make... GNU
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.

and this is what i get when i type echo $PATH

linux:/home/sinXposed/Documents/gTweakUI-0.4.0 # echo $PATH
/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin

do you guys see anything wrong... i checked the installed programs and it says that GCC (c compiler is installed) .. but i get that everytime.. i first started out with SUSE 9.1 .. and now im running SUSE 9.2 (the dvd copy of it) ... i am a linux newbie (from windows) and im trying to figure out how to install programs..

thanks
 
Old 03-28-2005, 12:04 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
First off, it is much easier to install from RPM. That said, you need to install the Development packages that came with your distrobution.
I've never used SuSE, but there should be an "Add software" of sorts in one of the menus -- use that to install the "Development" packages.
 
Old 08-05-2006, 09:01 AM   #3
llewellyn
Member
 
Registered: Jan 2006
Location: johannesburg south africa
Distribution: SUSE 9.3
Posts: 43

Rep: Reputation: 15
cant find gcc in path

sinexposed and a whole lot of others are finding ttthis problem
I am running suse 9.3

I want to do several programs by compiling them so I picked a small one to learn with

I run ./configure and it reports cant find in path
I went to manpages and searched for gcc
It took me to WINEGCc and the man explains that winegcc is compatible

I assume that winegcc was installed origionally instead of gcc

so now I have two choices put winegcc in the path and tell ./configure to use winegcc

I do not know how to do iether of these things as I am a newbie

The alternative is to install GCC but can I do that while winegcc is still present

I am reading howto's all over the place and also man pages and one of the problems I find is that there is very little clear instruction on which directories to creat for such installations

Fortuneately two of the prgs I want to compile are KDE and I have already found that they can go in the OPT directory
but I have also down loaded the tars for a cad program and want it to be available system wide what directory ???

Sorry guys thats three questions all at once
could someone suggest wether i try to tell the system to use winegcc

or

do I go on line and get a gcc rpm ??
 
Old 08-05-2006, 11:18 PM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
WineGCC is a GCC wrapper to allow some Win32 code to be compiled on Linux. I guess it is part of the Wine project, used for compiling Windows programs to run on Wine.

You should be able to install GCC and the other development utilities through Yast. (I have never used Suse, so I am not 100% sure...).

--Ian
 
Old 08-10-2006, 02:14 PM   #5
llewellyn
Member
 
Registered: Jan 2006
Location: johannesburg south africa
Distribution: SUSE 9.3
Posts: 43

Rep: Reputation: 15
I hope sinexposed is still following this thread
I have in fact found the answer
It reoports that error because the ./configure is in a package with source code that needs c++
I used yast to go onto my origional installation disks and found several versions of gcc including one called gcc++
I got yast to install that but ran into more trouble because aditional LIBS were needed
going back to your installation disks and you will find the additional things yast is telling you are missing
I accepted the wrnings that yast was givingabout conflict and told it to remove the gcc
I installed the required other things that it said were needed and then finished off by installing gcc++ again

The reason for all this long winded story is so that you know if yast does not want to install because of conflicts just go and put in the things it says are needed and then the GCC++ plus just goes in with no problem
Unfortunately Yast does not give you the whole list of missing or conflicting things first time so I had to go and find and install missing things three times ,but yu get rapidly used to it and then its a great pleasure to see it go in at last.
 
  


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
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 08:44 PM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 07:03 PM
no acceptable C compiler found in $PATH agentdunken Suse/Novell 12 07-13-2005 03:41 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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration