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 12-12-2005, 04:13 PM   #1
puttyman
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
GCC installed but not working .


When i do:
# cat /proc/version

I get:
Linux version 2.4.20-021stab028.3.777-smp (st@current.eng.sw.ru) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 SMP Wed Feb 2 21:32:05 MSK 2005

I try to install apache 2.0 getting :
Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.7
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr
 
Old 12-12-2005, 04:22 PM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
The contents of /proc/version has nothing to do with whether GCC is installed. It just tells you what version was used to build the running kernel. Try "which gcc" or "locate gcc" instead.
 
Old 12-12-2005, 04:25 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
rpm -qi gcc

What do you get?


Cheers,
Tink
 
Old 12-12-2005, 11:15 PM   #4
puttyman
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
# rpm -qi gcc:

package gcc is not installed

#which gcc:

/usr/bin/which: no gcc in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/
usr/bin:/usr/X11R6/bin:/root/bin)

locate gcc:
/lib/libgcc_s-3.2.3-20040701.so.1
/lib/libgcc_s.so.1
/usr/sbin/libgcc_post_upgrade
/usr/lib/gcc-lib

I guess its not installed , any1 can help how to install gcc plz .
 
Old 12-13-2005, 01:59 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ummm ... use your RedHat package installation tool and install it?


Cheers,
Tink
 
  


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
can't get GCC installed Skaan Linux - Newbie 2 05-26-2005 10:21 AM
Installed GCC, but not working rangalo Linux - Software 2 02-02-2005 01:21 PM
gcc installed but not working properly cylaxzene Linux - General 4 01-30-2005 12:30 PM
What gcc do I have installed? Thaidog Linux - Newbie 2 09-27-2004 08:11 PM
cannot use gcc even though it's installed. levicc00123 Debian 2 09-07-2004 08:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 AM.

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