LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-03-2009, 10:26 AM   #1
goswamiyashwant
LQ Newbie
 
Registered: Jul 2008
Posts: 5

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


As I am facing this problem time and again, I have decided that I should obtain necessary guidance.
Needless to mention, I am newbie to this system.
I have RHel5.

[root@localhost asterisk-1.4.24.1]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH

Hereinbelow is the information which might be useful

[root@localhost /]# find / -name gcc
/media/disk/LINUX DATA/libs/rpm-4.4.2.3/file/magic/Magdir/gcc
/usr/libexec/gcc
/usr/lib/gcc

[root@localhost /]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/real/RealPlayer:/root/bin:/opt/real/RealPlayer

[root@localhost /]# rpm -qa|grep gcc
avr-gcc-c++-4.1.2-4.fc6
libgcc-4.1.1-52.el5
mingw32-gcc-4.3.2-12.el5
avr-gcc-4.1.2-4.fc6
mingw32-gcc-c++-4.3.2-12.el5


[root@localhost /]# rpm -qa|grep c+
libstdc++-4.1.1-52.el5
libsigc++20-devel-2.0.18-1.el5
avr-gcc-c++-4.1.2-4.fc6
libsigc++104-1.0.4-0_2.0.el5
libsigc++20-2.0.18-1.el5
libsigc++-devel-1.2.5-3.el5.rf
compat-libstdc++-296-2.96-138
GraphicsMagick-c++-1.1.8-2.fc6
libsigc++-1.2.5-3.el5.rf
compat-libstdc++-33-3.2.3-61
libsigc++104-devel-1.0.4-0_2.0.el5
mingw32-gcc-c++-4.3.2-12.el5



I have already executed command "updatedb"

Please help me.
what to do
how to change path, if I have gcc
Do i need something more to install

please drag me out of this
thanks in advance

Last edited by goswamiyashwant; 05-03-2009 at 10:36 AM. Reason: more information
 
Old 05-03-2009, 10:29 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Actually itt looks like you don't have gcc installed. Try
Code:
rpm -qa gcc*
to find out.
 
Old 05-03-2009, 10:46 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
What is the output of...?
Code:
yum search gcc*
(not sure, but RHEL5 should have yum installed, shouldn't it?)
Also what is the output from
Code:
rpm -ql mingw32-gcc
 
Old 05-04-2009, 10:41 AM   #4
goswamiyashwant
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0
[root@localhost judge]# rpm -qa gcc*
[root@localhost judge]#

[root@localhost judge]# yum search gcc*
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Setting up repositories
epel 100% |=========================| 2.1 kB 00:00
atrpms 100% |=========================| 2.2 kB 00:00
kde 100% |=========================| 1.9 kB 00:00
skype 100% |=========================| 951 B 00:00
kde-all 100% |=========================| 1.9 kB 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 3.1 MB 01:45
################################################## 8582/8582



mingw32-gcc-c++.i386 4.3.2-12.el5 epel
Matched from:
mingw32-gcc-c++



mingw32-gcc.i386 4.3.2-12.el5 epel
Matched from:
mingw32-gcc
MinGW Windows cross-compiler (GCC) for C
MinGW Windows cross-compiler (GCC) for C



procbench.i386 0.7.3a-1.el5.rf rpmforge
Matched from:
procbench is a multiplatform information tool and CPU benchmark for x86
processors. It tests memory transfer and math capabilities of your x86
processor. Pb_g++ and Pb_gcc programs are also included. They gets the
best GCC optimisation parameters for that CPU (linux only).



ncc.i386 2.6-1.el5.rf rpmforge
Matched from:
ncc is a C source code analyzer which generates program flow and variable
usage information. Using it should be as easy as changing CC=gcc to CC=ncc
in makefiles, and effort has been made to support most common gcc
extensions. ncc has been tested with the sources of the Linux kernel, gtk,
gcc, gdb, bind, mpg123, ncftp, and many other famous projects.



autotrace.i386 0.31.1-2.2.el5.rf rpmforge
Matched from:
AutoTrace is a program for converting bitmaps to vector graphics. The
aim of the AutoTrace project is the development of a freely-available
application similar to CorelTrace or Adobe Streamline. In some
aspects it is already better. Originally being created as a plugin
for the GIMP, AutoTrace is now a standalone program and can be
compiled on any UNIX platform using GCC.



lapack.i386 3.1.1-1.el5.rf rpmforge
Matched from:
LAPACK (Linear Algebra PACKage) is a standard library for numerical
linear algebra. LAPACK provides routines for solving systems of
simultaneous linear equations, least-squares solutions of linear
systems of equations, eigenvalue problems, and singular value
problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
Schur, and generalized Schur) and related computations (i.e.,
reordering of Schur factorizations and estimating condition numbers)
are also included. LAPACK can handle dense and banded matrices, but
not general sparse matrices. Similar functionality is provided for
real and complex matrices in both single and double precision. LAPACK
is coded in Fortran77 and built with gcc.



ncc.i386 2.7-1.el5.rf rpmforge
Matched from:
ncc is a C source code analyzer which generates program flow and variable
usage information. Using it should be as easy as changing CC=gcc to CC=ncc
in makefiles, and effort has been made to support most common gcc
extensions. ncc has been tested with the sources of the Linux kernel, gtk,
gcc, gdb, bind, mpg123, ncftp, and many other famous projects.



libgcj.i386 4.1.1-52.el5 installed
Matched from:
Java runtime library for gcc

http://gcc.gnu.org



mingw32-gcc-c++.i386 4.3.2-12.el5 installed
Matched from:
mingw32-gcc-c++



libtermcap.i386 2.0.8-46.1 installed
Matched from:
ftp://metalab.unc.edu/pub/Linux/GCC/



compat-libstdc++-296.i386 2.96-138 installed
Matched from:
http://gcc.gnu.org



cpp.i386 4.1.1-52.el5 installed
Matched from:
http://gcc.gnu.org



avr-gcc-c++.i386 4.1.2-4.fc6 installed
Matched from:
avr-gcc-c++
Cross Compiling GNU GCC targeted at avr

http://gcc.gnu.org/



libstdc++.i386 4.1.1-52.el5 installed
Matched from:
http://gcc.gnu.org



avr-gcc.i386 4.1.2-4.fc6 installed
Matched from:
avr-gcc
Cross Compiling GNU GCC targeted at avr

http://gcc.gnu.org/



compat-libstdc++-33.i386 3.2.3-61 installed
Matched from:
The compat-libstdc++ package contains compatibility standard C++ library
from GCC 3.3.4.

http://gcc.gnu.org



mingw32-gcc.i386 4.3.2-12.el5 installed
Matched from:
mingw32-gcc
MinGW Windows cross-compiler (GCC) for C

MinGW Windows cross-compiler (GCC) for C




libgnat.i386 4.1.2-27.fc7 installed
Matched from:
http://gcc.gnu.org



avr-libc.noarch 1.4.6-4.fc6 installed
Matched from:
C library for use with GCC on Atmel AVR microcontrollers




libgcc.i386 4.1.1-52.el5 installed
Matched from:
libgcc
GCC version 4.1 shared support library

http://gcc.gnu.org


[root@localhost judge]# rpm -ql gcc
package gcc is not installed

It sounds that I have not installed gcc
how to get it.
I have problem in compiling and configuring .gz files.
what to do.
Please tell me as if I am duffer and you are a teacher.
sorry for that but I am.
 
Old 05-05-2009, 03:56 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
yum install gcc
should do it, then re-run
rpm -ql gcc
 
Old 05-05-2009, 04:10 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You can also launch the Package management tool:
Code:
system-config-packages &
and select "Development Tools" from the category index.
 
  


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
configure: error: no acceptable C compiler found in $PATH mfeyzifar Fedora 10 08-15-2014 04:13 AM
configure: error: no acceptable C compiler found in $PATH nickster22 Linux - Software 6 07-31-2007 10:07 AM
configure: error: no acceptable C compiler found in $PATH Free-Blade Linux - Newbie 15 09-13-2004 12:33 PM
configure: error: no acceptable C compiler found in $PATH pdemaers Linux - Software 6 05-15-2004 02:11 PM
configure: error: no acceptable C compiler found in $PATH habitue Red Hat 0 10-14-2003 07:42 PM


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

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