LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No compiler to compiler the compliler (https://www.linuxquestions.org/questions/linux-newbie-8/no-compiler-to-compiler-the-compliler-111154/)

NewtonIX 11-01-2003 12:50 PM

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?

:rolleyes:

tgflynn 11-01-2003 12:59 PM

On the RH9 CD's.

Tim

michaelk 11-01-2003 01:00 PM

Use the RPM to install the development package. This includes the compiler, kernel source and header files.

wapcaplet 11-01-2003 01:58 PM

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.

Laptop2250 11-01-2003 05:50 PM

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

I am actually doing the same thing.

NewtonIX 11-01-2003 05:58 PM

Sweet thanks





:D

lectraplayer 11-01-2003 08:58 PM

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.

tgflynn 11-01-2003 09:50 PM

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.

NewtonIX 11-01-2003 10:41 PM

I actually got them off the RH9 cd's but im glad i asked as i was shown the light of the rpmfind.net

:study:

lectraplayer 11-02-2003 04:47 PM

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.:D

BroX 11-03-2003 02:30 AM

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?

kokaine 11-03-2003 03:25 AM

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?

BroX 11-03-2003 05:00 AM

gcc can be found at RHN as RPM
Just search in the Software section

BroX 11-03-2003 05:32 AM

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


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