Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-17-2003, 05:41 PM   #1
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
Compiler Problem

I'm trying to compile and install Samba (although this most likely has nothing to do with amba since it's happened with other sources), but when running './configure' I get this:
creating cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

I've done a 'find / -name gcc', 'find / -name cc', and 'find / -name g++', but I am coming up with nothing.
Old 06-17-2003, 05:44 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
download and install gcc
Old 06-17-2003, 08:28 PM   #3
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
I downloaded GCC 3.2.3, but when running 'configure' I get this:

:/tmp/gcc-3.2.3/objdir # ../configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /tmp/gcc-3.2.3/objdir using "mt-frag"
../configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


If I try to install the GCC rpm, I get this:

# rpm -ivh gcc-3.2-7.i386.rpm
error: failed dependencies:
cpp = 3.2-7 is needed by gcc-3.2-7
binutils >= is needed by gcc-3.2-7
glibc-devel >= 2.2.90-12 is needed by gcc-3.2-7
libgcc >= 3.2-7 is needed by gcc-3.2-7
/sbin/install-info is needed by gcc-3.2-7
rpmlib(PartialHardlinkSets) <= 4.0.4-1 is needed by gcc-3.2-7

Last edited by ixion; 06-17-2003 at 09:12 PM.


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
c++ compiler problem evian Linux - General 4 10-30-2003 12:29 PM
C++ compiler problem? New 2 The Game Linux - Software 2 09-06-2003 02:09 AM
Problem with C compiler Tez218 Linux - Software 1 08-18-2003 08:56 PM
compiler problem athenerx Linux - Newbie 1 07-29-2002 07:52 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration