LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   no acceptable C compiler found in $PATH (http://www.linuxquestions.org/questions/linux-software-2/no-acceptable-c-compiler-found-in-%24path-306871/)

sinXposed 03-27-2005 11:58 PM

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

scuzzman 03-28-2005 12:04 AM

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.

llewellyn 08-05-2006 09:01 AM

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

IBall 08-05-2006 11:18 PM

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

llewellyn 08-10-2006 02:14 PM

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.


All times are GMT -5. The time now is 02:54 AM.