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

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

when i write .....
rpm -q gcc
it shows...

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, 08:09 AM   #2
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, 08:15 AM   #3
LQ Newbie
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
i m using REDhat Enterprize 4 WS
Old 01-20-2008, 08:54 AM   #4
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, 10:04 AM   #5
LQ Newbie
Registered: Jan 2008
Posts: 3

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


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 12:35 PM
compiler problem??? hegdeshashi Linux - Newbie 6 03-07-2007 10:54 PM
Problem in C compiler tirtha Linux - Newbie 3 07-04-2006 10:57 AM
C++ compiler problem? New 2 The Game Linux - Software 2 09-06-2003 01:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 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
Open Source Consulting | Domain Registration