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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-01-2003, 01:50 PM
|
#1
|
Member
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62
Rep:
|
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?
|
|
|
11-01-2003, 01:59 PM
|
#2
|
Member
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119
Rep:
|
On the RH9 CD's.
Tim
|
|
|
11-01-2003, 02:00 PM
|
#3
|
Moderator
Registered: Aug 2002
Posts: 26,366
|
Use the RPM to install the development package. This includes the compiler, kernel source and header files.
|
|
|
11-01-2003, 02:58 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018
Rep:
|
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.
|
|
|
11-01-2003, 06:58 PM
|
#6
|
Member
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62
Original Poster
Rep:
|
Sweet thanks
|
|
|
11-01-2003, 09:58 PM
|
#7
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Rep:
|
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.
|
|
|
11-01-2003, 10:50 PM
|
#8
|
Member
Registered: Oct 2003
Location: Rochester, New York (USA)
Distribution: Debian
Posts: 119
Rep:
|
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.
|
|
|
11-01-2003, 11:41 PM
|
#9
|
Member
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62
Original Poster
Rep:
|
I actually got them off the RH9 cd's but im glad i asked as i was shown the light of the rpmfind.net
|
|
|
11-02-2003, 05:47 PM
|
#10
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934
Rep:
|
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.
|
|
|
11-03-2003, 03:30 AM
|
#11
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Rep:
|
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?
|
|
|
11-03-2003, 04:25 AM
|
#12
|
LQ Newbie
Registered: Oct 2003
Distribution: Mandrake 9.1 (Bamboo)
Posts: 19
Rep:
|
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?
|
|
|
11-03-2003, 06:00 AM
|
#13
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Rep:
|
gcc can be found at RHN as RPM
Just search in the Software section
|
|
|
11-03-2003, 06:32 AM
|
#14
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Rep:
|
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 09:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|