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.
|
|
08-13-2003, 05:25 PM
|
#1
|
Member
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210
Rep:
|
gcc ?
How can i install gcc on Red Hat 9.0 and from where can i get it?
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
|
|
|
08-13-2003, 05:27 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Either install from your cd's which in most cases Redhat will have or you can download and install from www.gnu.org
|
|
|
08-13-2003, 05:33 PM
|
#3
|
Member
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210
Original Poster
Rep:
|
can you give me an link...to gcc...i cant filnd it on the cd's !
|
|
|
08-13-2003, 05:36 PM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by skate
can you give me an link...to gcc...i cant filnd it on the cd's !
|
Unfortunately I don't have a Redhat 9 cd. Have you tried mounting it and searching for it..
find /mnt/cdrom -name *gcc*
|
|
|
08-14-2003, 02:34 AM
|
#5
|
Member
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210
Original Poster
Rep:
|
yes...and when i have it...what must i do...!?!?
|
|
|
08-14-2003, 03:10 AM
|
#6
|
Member
Registered: Aug 2003
Location: Mesa, AZ
Distribution: Redhat 9
Posts: 45
Rep:
|
bro, check this out.
goto Redhat startup menu, then click on system settings and then Add/Remove programs, kinda like old fashion windows.
once that opens up, save yourself some time and install ALL of the Development packages, the program will ask for CDs that you will need to enter. Then run the Up2Date and make sure that all your packages are up2date.
PS. also goto http://gtk.org and download gtk+-2.2.2.tar.gz, this is the newest GTK+ package, I had a lot of problem until I downloaded this.
PS. I have only been doing linux for about a week or 2 now, and I find my self grabbing Source instead of RPMs.
|
|
|
08-15-2003, 01:35 AM
|
#7
|
Member
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210
Original Poster
Rep:
|
I have download an many gcc versions and when i try to configure them i receive that > >>
[root@skate gcc-3.0.1]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/inst/gcc-3.0.1 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@skate gcc-3.0.1]#
WHY ! and how can i fix it?
|
|
|
All times are GMT -5. The time now is 01:34 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
|
|