LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-26-2009, 12:37 AM   #1
Mihir V Patankar
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 0
Question installing (executing) ggc compiler and wxWidgets on Red Hat Linux 4


HI!

Kindly excuse me if my question is silly coz i am pretty new to the Linus operating system.

I recently installed Red Hat Linux 4 on an IBM machine(Server). I have downloaded ggc compiler( gcc-4.4.0.tar.bz2) and wxWidgets (wxWidgets-2.8.10.tar.gz) from the internet on the / directory. I want to know what are the steps involved to get them executed(installed) on Linux.

Thanks!

Mihir
 
Old 05-26-2009, 05:27 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Well, you can find very difficult to compile a gcc compiler from source if you don't have a working gcc compiler now. It is strongly recommended to install gcc from a binary RPM package. To do that, check your RHN (Red Hat Network) subscription and look for packages on the RHN website. Or use up2date to search and install packages. Also you may consider to install Red Hat 5, which is the last version of Red Hat, especially considered you have paid for support & updates.
 
Old 05-26-2009, 05:36 PM   #3
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
You said that you are new to Linux, so it is possible that you already have gcc installed, even if it is an older version. You should act as colucix told you, but if you are desperate enough to build from sources, then these are the basic steps for most cases (not only for the mentioned packages):

- go to the destination directory
- unpack the source tarball to the destination directory (tar -jxf path/package.tar.bz2)
- go into the sources directory
- read the README and INSTALL files, if there are any
- run configure (./configure)
- run make (make)
- switch to root user and install (make install)

Linux Archive

Last edited by soleilarw; 06-18-2009 at 05:12 AM.
 
  


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
Need help building x86_64 Cross compiler on x86 linux (Red Hat) torque_dwf Linux - Software 4 01-08-2009 04:37 AM
Installing RED HAT linux malachipunith Red Hat 2 07-24-2006 07:55 PM
Installing Red hat Linux 8.0 piggysmile Linux - Newbie 1 04-25-2004 09:49 AM
Help installing Red Hat Linux bryanthebold Red Hat 6 11-17-2003 11:54 AM
Red Hat 9.1 C Compiler mtbikerj Linux - Software 1 09-24-2003 12:53 PM


All times are GMT -5. The time now is 12:44 AM.

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