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.
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
Resolving mirrors-us.seosue.com... 184.108.40.206
Connecting to mirrors-us.seosue.com|220.127.116.11|: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.