LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2003, 12:50 PM   #1
NewtonIX
Member
 
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62

Rep: Reputation: 16
No compiler to compiler the compliler


First off i was getting no compiler errors trying to compile tar's

So I did my searchs and found where to get on
I downloaded the tar for gcc thinking for some strange reason it would work

So i tried compiling that but much to my own amazment I cant compile the compiler with out a compiler

this is the error
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Sounds like a toungue twister to me.......

So i searched around for a solution and only got half an answer

Get a precompiled binary for a compiler - Im guessing that means an RPM?
so i searched and alas cannot find one.

Any one know where i can get one of these?

 
Old 11-01-2003, 12:59 PM   #2
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
On the RH9 CD's.

Tim
 
Old 11-01-2003, 01:00 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,714

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Use the RPM to install the development package. This includes the compiler, kernel source and header files.
 
Old 11-01-2003, 01:58 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Also, rpmfind.net is a great way to find RPMs you might need. Just put 'gcc' in the search box; to narrow down the results, put 'redhat' as the system type.
 
Old 11-01-2003, 05:50 PM   #5
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
Newton, here http://gcc.gnu.org/install/binaries.html

I am actually doing the same thing.
 
Old 11-01-2003, 05:58 PM   #6
NewtonIX
Member
 
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62

Original Poster
Rep: Reputation: 16
Sweet thanks





 
Old 11-01-2003, 08:58 PM   #7
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
You actually need GCC binaries. RPM's need the compiler, leaving you right back where you started. I believe if you go to the GCC site and download the binary tarbal, that should work.
 
Old 11-01-2003, 09:50 PM   #8
tgflynn
Member
 
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119

Rep: Reputation: 15
Quote:
Originally posted by lectraplayer
You actually need GCC binaries. RPM's need the compiler, leaving you right back where you started.
Uh RPM's are binary packages. Either you're thinking of SRPM's or I'm completely missing your point.
 
Old 11-01-2003, 10:41 PM   #9
NewtonIX
Member
 
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62

Original Poster
Rep: Reputation: 16
I actually got them off the RH9 cd's but im glad i asked as i was shown the light of the rpmfind.net

 
Old 11-02-2003, 04:47 PM   #10
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Quote:
Originally posted by tgflynn
Uh RPM's are binary packages. Either you're thinking of SRPM's or I'm completely missing your point.
Everytime I unpacked an RPM, I would see where it triggered GCC. That's most of why I thought that RPM's need a compiler. If you can get a binary RPM though, GO FOR IT! I think those usually have a bin somewhere in the name (IE: riodriversbin.rpm or something). ...of course, if I'm just killing my own dumb self here, take my gun away.
 
Old 11-03-2003, 02:30 AM   #11
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
When installing a tar file with .configure, I got:
configure: error: no acceptable C compiler found in $PATH

A closer look at the config.log gave:
Missing: aclocal, autoconfig, autoheader, automake, makeinfo

Is this a because I'm really missing this compiler, or a problem in my $PATH?

Trying to install development tools from RH CD failed to to missing dependencies (krb5-libs and openssl).

Suggestions?
 
Old 11-03-2003, 03:25 AM   #12
kokaine
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1 (Bamboo)
Posts: 19

Rep: Reputation: 0
I get the same error " no acceptable C compiler found in $PATH" and I've found places to download GCC but they're all in "tar.gz" format. Is there no-where one can find a rpm maybe, wouldn't that help in this type of situation?
 
Old 11-03-2003, 05:00 AM   #13
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
gcc can be found at RHN as RPM
Just search in the Software section
 
Old 11-03-2003, 05:32 AM   #14
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
gtk, xml and xml2 are installed, but still Iget these messages:
What's wrong?

checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: WARNING: Cannot find GTK: not building any UI!

checking for xml2-config... no
checking for xml2 - version >= 2.4.19... no

checking for xml2-config... (cached) no
checking for xml2 - version >= 2.3.0... no
checking for xml-config... no
checking for xml - version >= 2.1.0... no
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 01:12 PM
C Compiler Quiber Linux - Software 5 01-25-2005 11:59 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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