LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-27-2012, 11:35 AM   #1
littlelorly
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Problem installing Curl in my Red Hat Server


Hi guys, I have a Red Hat Enterprise Linux Server (i686)release 5.2 (Tikanga). I need to install Curl in my server. I have followed the steps here :http://community.webfaction.com/ques...red-web-server. When i did step 1, I got error on the screen that i need to install GCC first. I run the following code below to install GCC but it isn't successful at all. I got some error, I am new to linux so i really don't know what to do.

Code:
root@host [~]# cd ~/src
root@host [~/src]# wget http://mirrors-us.seosue.com/gcc/releases/gcc-4.7.0/gcc-4.7.0.tar.gz
--09:30:01--  http://mirrors-us.seosue.com/gcc/releases/gcc-4.7.0/gcc-4.7.0.tar.gz
Resolving mirrors-us.seosue.com... 72.46.128.70
Connecting to mirrors-us.seosue.com|72.46.128.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 106104710 (101M) [application/x-gzip]
Saving to: `gcc-4.7.0.tar.gz'

100%[=======================================>] 106,104,710 1.37M/s   in 3m 46s

09:33:47 (458 KB/s) - `gcc-4.7.0.tar.gz' saved [106104710/106104710]

root@host [~/src]# tar -xzf gcc-4.7.0.tar.gz
root@host [~/src]# ls
./  ../  gcc-4.7.0/  gcc-4.7.0.tar.gz
root@host [~/src]# cd gcc-4.7.0
root@host [~/src/gcc-4.7.0]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/src/gcc-4.7.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
root@host [~/src/gcc-4.7.0]# sudo nano config.log
root@host [~/src/gcc-4.7.0]# configure: error: in `/root/src/gcc-4.7.0':
> configure: error: no acceptable C compiler found in $PATH
While searching around the net, I have read it too to use "yum" but the problem is I don't have access to it. When running yum, it asked to me run "rhn_register". I did it but it asked me for some username and password but i dont know what are the access.

Any idea on what am i going to do so that i can successfully install GCC, OPENSSL and curl? Badly need my curl to work.
 
Old 05-27-2012, 06:56 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
IF you are going to use RHEL successfully, you'll need to register with Redhat. If you're not sure about the answers to rhn_register, then phone them up; they have 24x7 support.
Note that you have to pay to get support & updates from RH.
If you want the free version, try Centos, but you won't get support, but you will get updates.
As recommended, do login as root and use the 'yum' cmd , whether using RHEL or Centos.
This will handle updates & dependencies(!) automatically and you can also install new stuff using it.

http://www.linuxtopia.org/online_boo...ion/index.html

FYI latest is RHEL/Centos 5.8 or 6.2
 
  


Reply


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
[SOLVED] Problem in installing openldap on Red Hat Linux Server release 5.3 (Tikanga) Infotechie Red Hat 1 04-23-2012 09:17 AM
problem installing red hat 5.1 on a 3 terabyte HP proliant server MightyU Red Hat 2 01-10-2008 10:29 AM
installing a vnc server on red hat naijaguy Linux - Software 1 08-12-2004 12:44 AM


All times are GMT -5. The time now is 04:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration