Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-23-2004, 08:15 PM   #16
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30

You shouldn't need to download anything. FC2 comes with gcc, it'll be on your installation disc(s). Slap the disc in the drive, run the software installer from the main menu system, enter the root password if prompted, select gcc (it'll be in the development section) then install both gcc and any oother files it suggests are needed. Then, in a console, do
rpm -qa |grep -i gcc , which should return a familiar looking list of package names (i.e. those you just installed.) The $CC variable will be taken care of automagically.
Old 07-23-2004, 08:39 PM   #17
LQ Newbie
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Therefore, how come and the GCC when i installed still can't compile?? and go thru??
Old 07-23-2004, 11:14 PM   #18
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 66

Rep: Reputation: 15
well in order to find out if you have gcc installed ... go ahead and type gcc <enter> in the console and if it outputs gcc: No input files, then that means that it is installed on your system. If not then it's quite possible the link to your gcc got broken or deleted... and the original path of gcc is not in your PATH environment. On some systems the tool 'locate' is installed ... if that's the case then do a "locate gcc" and that will spit out different files and folder paths which have gcc.
Old 07-24-2004, 02:40 AM   #19
LQ Newbie
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0
okay.. i have locate the file.. but how to repair the missing link?? shld i type export GCC = "/usr/bin/gcc" or something else? and how to configure the GCC to compile C??
Old 07-24-2004, 06:14 AM   #20
LQ Newbie
Registered: Jul 2004
Posts: 10

Original Poster
Rep: Reputation: 0

I have find a error msg in my error.log.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:540: checking for gcc
configure:653: checking whether the C compiler (gcc ) works
configure:669: gcc -o conftest conftest.c 1>&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 664 "configure"
#include "confdefs.h"



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
Error message in ./configure during the installation of Rosegarden-4-1.0 King_Loz Linux - Software 5 10-11-2005 08:07 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 01:53 PM
GlibC_2.3 not found message when .configure shazam75 Linux - Software 0 10-15-2004 04:33 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM
Error message when ./configure 'ing quanta madd matt Linux - Software 2 06-18-2004 05:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 PM.

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