Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2003, 10:55 AM   #1
LQ Newbie
Registered: Jan 2003
Location: B'lore, India
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
installing gcc on linux

Hi guys,

i need some help on installing gcc 3.2.1 on mandrake linux.

Well, i downloaded the whole source tarball. when run the ./configure
script i get a message like this :


: command not found ./config.guess:
: command not found ./config.guess:
: command not found ./config.guess:
: command not found ./config.guess:
: command not found ./config.guess:
: command not found ./config.guess:
: command not found ./config.guess:
: command not found ./config.guess:
: command not found
./config.guess: line 68: syntax error near unexpected token `in
./config.guess: line 68: ` case $1 in
Config.guess failed to determine the host type. You need to specify
Usage: configure [OPTIONS] [HOST]

Options: [defaults in brackets]
--prefix=MYDIR install into MYDIR [/usr/local]
--exec-prefix=MYDIR install host-dependent files into MYDIR
--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.

i tried moving to another directory and doing things like
/mnt/win_d/gcc/configure and then set the path to contain this
directory and all that, but it didn't work

pl. help.

thanx in advance.
Old 01-12-2003, 01:03 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well if you're doing what it seems you'er doing (i.e. trying to compile things on a fat32 or ntfs partition) then that will not work as programs can not be executed there. is there any particular reason you don't want to jsut use the rpm file?


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
Installing the Gcc 3.4.3 on Linux ashwinipahuja Linux - Software 5 01-13-2005 09:58 AM
No CC | GCC after installing LINUX 7.3 with Gnome deepak1283 Linux - Newbie 8 01-07-2005 09:34 AM
Installing the Gcc 3.4.3 on Linux ashwinipahuja Programming 2 12-19-2004 10:37 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration