LinuxQuestions.org
Visit Jeremy's Blog.
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 01-20-2008, 09:06 AM   #1
rahat.azim
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
problem with C compiler!!!!!need help


when i write .....
rpm -q gcc
it shows...
gcc-3.4.3-9.EL4

but when i try to install PHP,it shows......

oading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

........plz need help.
 
Old 01-20-2008, 09:09 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
Hi, it would help if you told us what version of linux you are using. When posting here for help, you are much more likely to get some help if you include as much information as possible. A very good thing to start with is which version of linux you are using. Kubuntu 7.10 is mine, for example.
 
Old 01-20-2008, 09:15 AM   #3
rahat.azim
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
i m using REDhat Enterprize 4 WS
 
Old 01-20-2008, 09:54 AM   #4
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 208

Rep: Reputation: 35
install kernel-headers and also glibc-devel.
 
Old 01-21-2008, 11:04 AM   #5
rahat.azim
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thanzzz very much 0.o,it worked.
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
compiler problem??? hegdeshashi Linux - Newbie 6 03-07-2007 11:54 PM
Problem in C compiler tirtha Linux - Newbie 3 07-04-2006 11:57 AM
C++ compiler problem? New 2 The Game Linux - Software 2 09-06-2003 02:09 AM


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