- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- gcc 3.2 installation on Redhat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 08:52 PM
тАО08-30-2005 08:52 PM
gcc 3.2 installation on Redhat
I would like to get the procedure to install gcc 3.2 on RH9.
uname -a output is
Linux ftpsvr 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux
I have downloaded the gcc-3.2.tar
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 09:05 PM
тАО08-30-2005 09:05 PM
Re: gcc 3.2 installation on Redhat
There should be installation instructions in the tar.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 09:12 PM
тАО08-30-2005 09:12 PM
Re: gcc 3.2 installation on Redhat
check the cd#1 for RH9 under Redhat/RPMS
the dependency files would also exist there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 09:31 PM
тАО08-30-2005 09:31 PM
Re: gcc 3.2 installation on Redhat
Only way out for you is downloading tar.gz of gcc 3.2, uncompress it by 'tar -zxvf gcc-3.2.tar.gz' then go to the extracted directory, then execute './configure --help'
it will list the configuration options available for compiling gcc, choose which one you want and re call configure like './configure
if you want default parameters then simply call ./configure
this will create Makefiles for gcc to compile, then call 'make' to compile gcc which will produce the required libraries and executables if any.
now as root run 'make install' to install to your system. By default these packages get installed under '/usr/local/'
Just to try your luck, try searching 'http://www.rpmfind.net' for any new gcc-3.2 RPM package for RH9
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 10:55 PM
тАО08-30-2005 10:55 PM
Re: gcc 3.2 installation on Redhat
So just install RPMs (rpm -i gcc*rpm) from RHL9 installation CDs or (the best) from RHL9 updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 11:08 PM
тАО08-30-2005 11:08 PM
Re: gcc 3.2 installation on Redhat
I currently don't have the RH CD.Also i am not interested in the rpm installation part. I just want to try the complie and configure part..!!!:)
I tried gopi's method and it gave me an error saying that
configure: error: no acceptable cc found in $PATH
echo $PATH is /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/b
in:/root/bin
I am completly new this compling stuff.
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 11:13 PM
тАО08-30-2005 11:13 PM
Re: gcc 3.2 installation on Redhat
find / -name cc
If that result is on the PATH, you are good. If not, modify the PATH so that cc is on the PATH.
If there is no cc, then get and install one.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2005 11:16 PM
тАО08-30-2005 11:16 PM
Re: gcc 3.2 installation on Redhat
probably you don't have C compiler in your linux box at all;
and compile something without compiler may be a little tricky :-)
So I suggest you to install gcc (+ make and so on) from RPMs and after that you'll be able compile everything - from Apache to kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 12:30 AM
тАО08-31-2005 12:30 AM
Re: gcc 3.2 installation on Redhat
gcc is the one which gives the C compiler and you need one to compile gcc first :) much like chicken egg problem.
read the README/INSTALL file which comes with gcc tar file, it will clearly give the pre-requisties. Go by that and install the required packages first before continuing on the gcc installation.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 01:42 AM
тАО08-31-2005 01:42 AM
Re: gcc 3.2 installation on Redhat
http://gcc.gnu.org/install/
and for 3.2 doc check
http://gcc.gnu.org/onlinedocs/
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 02:26 AM
тАО08-31-2005 02:26 AM
Re: gcc 3.2 installation on Redhat
I am trying to download and install the necessary dependecies for gcc installation and i am not able to get the below dependency.
glibc-devel >= 2.2.90-12
Any idea any other version of this will work or from which location (exact location) i can download it?
Thanks in advance
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 02:33 AM
тАО08-31-2005 02:33 AM
Re: gcc 3.2 installation on Redhat
ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/ - RHL9 itself
http://fedora.redhat.com/download/mirrors.html - RH mirrors
As you probably know, you may install rpm packages via ftp/http - rpm -Uv ftp://server.com/RedHat/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 02:45 AM
тАО08-31-2005 02:45 AM
Re: gcc 3.2 installation on Redhat
http://www.rpmfind.net//linux/RPM/redhat/updates/9/i386/glibc-devel-2.3.2-27.9.7.i386.html
install the RPM, after the installation is over, continue with gcc compilation.
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2005 07:36 PM
тАО08-31-2005 07:36 PM
Re: gcc 3.2 installation on Redhat
Finally I have installed it ...Lot of dependecy issues and interestingly i was trying to compile gcc without a compiler...!!!!
Thank for helping ...
Regards
CS