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. |
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. ;-) |
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 |
All times are GMT -5. The time now is 11:57 PM. |