LinuxQuestions.org
Review your favorite Linux distribution.
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 10-02-2007, 04:35 AM   #1
ajaytiwary
LQ Newbie
 
Registered: Sep 2007
Posts: 28

Rep: Reputation: 15
Unhappy not succeeding to install .tar.gz file


Hi everyone !!!
this may be a very stupid question for you but as i am pretty new to linux it's creating problem...
I tried to install .tar.gz file but didn't succeed.i am using redhat 5..

i want to install gcc-2.95.2.tar.gz so i put this in my home dir. and extracted there then i entered the command ./configure
the result was:
Config.guess failed to determine the host type. You need to specify one.
Usage: configure [OPTIONS] [HOST]

Options: [defaults in brackets]
--prefix=MYDIR install into MYDIR [/usr/local]
--exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local]
--help print this message [normal config]
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [determined via config.guess]
--norecursion configure this directory only [recurse]
--program-prefix=FOO prepend FOO to installed program names [""]
--program-suffix=FOO append FOO to installed program names [""]
--program-transform-name=P transform installed names by sed pattern P [""]
--site=SITE configure with site-specific makefile for SITE
--srcdir=DIR find the sources in DIR [. or ..]
--target=TARGET configure for TARGET [TARGET=HOST]
--tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]
--nfp configure for software floating point [hard float]
--with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)
--without-FOO package FOO is NOT available
--enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)
--disable-FOO do not include feature FOO

Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.

so could anyone tell me what does it mean and how can i overcome this situation .
Moreover, i am unable to install source rpm also so i need your help in this regard too.
 
Old 10-02-2007, 08:40 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi ajaytiwary, Did you cd into the directory that was created after extracting the file and before executing ./configure and if so, where did you get the source? Is there some particular reason you're installing source instead of an .rpm?
Good luck. ;-)
 
Old 10-02-2007, 09:33 AM   #3
vidurmittal
LQ Newbie
 
Registered: Jun 2006
Posts: 13

Rep: Reputation: 0
hi ajay,


gcc comes precompiled with the RHEL5 just search in ur dvd or cd pack u will find over there.....and then use rpm command to install the gcc
if u have licensed for the RHEL5 then use this command
yum install gcc it will automatically install it






bye
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
tar.gz file did not include install file |Spec-ops Linux - Newbie 12 11-17-2005 09:25 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
How to install a .tar file OldSarge Linux - Software 5 04-29-2004 07:21 PM


All times are GMT -5. The time now is 07:37 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