The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
awk Shell Script error : "Syntax Error : `Split' unexpected Herry UNIX for Dummies Questions & Answers 2 03-17-2008 11:16 AM
error during run: St9bad_alloc - Getting this error while using some conversion progr sathu_pec Shell Programming and Scripting 1 01-21-2008 02:38 AM
I got error like...syntax error on line 1, teletype koti_rama UNIX for Advanced & Expert Users 2 07-07-2007 08:35 PM
error reading sections error at install doelman SUN Solaris 2 02-05-2007 12:21 PM
Error: Internal system error: Unable to initialize standard output file firkus UNIX for Dummies Questions & Answers 2 10-25-2005 04:23 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-20-2002
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
Error in gcc

Hi:-
I am new for Unix and wants to install gcc compiler on my Linux system. I donwload the file and tried to install it but getting following messaged,
[root@unixweb gcc-3.0.1]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /home/gcc-3.0.1 using "mt-frag"
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler

What does this mean? Any help
  #2 (permalink)  
Old 03-20-2002
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
It looks like you are trying to compile a compiler without a compiler.

You should be able to install gcc from your Linux installation media or download a gcc binary RPM for your Linux distro. Install the rpm and then you should be able to compile the latest and greatest gcc on your Linux system.
  #3 (permalink)  
Old 03-20-2002
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
Thanks for your help.
I got RPM from this site.
http://www.linuxdoc.org/HOWTO/RPM-for-Unix-HOWTO-2.html
but they said that you need gcc compiler for it. How can I use rpm if gcc is not installed.
Any help
  #4 (permalink)  
Old 03-21-2002
auswipe's Avatar
auswipe auswipe is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 535
What distro of Linux are you using?
  #5 (permalink)  
Old 03-21-2002
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
Its a Turbo Linux preinstalled by IBM on its xseries 135 Web appliance.
  #6 (permalink)  
Old 03-21-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Pls post the uname -a output.
Also check gcc.gnu.org
  #7 (permalink)  
Old 03-22-2002
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
It is Linux 2.2.14-8 on IBM xSeries Web appliance. This is Intel based system.
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0