LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-21-2007, 02:52 PM   #1
tomzo
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Rep: Reputation: 0
gcc, no acceptable c compiler found


Hi all,
I'm trying to install apache http server on my new Mandriva2007 installation. But at the stage where it checks for cc it fails. I found gcc on my filesystem at /usr/lib/gcc and added this to the path but get the same problem. I've googled but can't seem to get it to work. Here's the output of find / -name gcc:

/home/tom/gcc
/home/tom/gcc/gcc-4.1.1/gcc
/home/tom/gcc/gcc-4.1.1/gcc/testsuite/ada/acats/tests/gcc
/usr/lib/gcc
find: /proc/5668/task: No such file or directory
find: /proc/5668/fd: No such file or directory
find: /proc/5673/task: No such file or directory
find: /proc/5673/fd: No such file or directory
find: /proc/5676/task: No such file or directory
find: /proc/5676/fd: No such file or directory

ps: I downloaded gcc to /home/tom/gcc before I realised it already existed at /usr/lib/gcc however I couldn't do anything with it so I don't think it matters.

Can anyone tell me what to do??

Thanks
 
Old 01-21-2007, 02:58 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Check carefully: /usr/lib/gcc is a directory containing some gcc related libraries. Normally the gcc compiler resides in /usr/bin. You can verify this by simply issuing which gcc or check if you have the installed package by rpm -q gcc.
 
Old 01-21-2007, 04:25 PM   #3
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,138

Rep: Reputation: 49
There has to be a binary package. I have never used mandriva, but you shouldn't have to complie apache on any distribution. Install from whatever package manager mandriva has.
 
Old 01-22-2007, 04:56 AM   #4
tomzo
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks, I found the package manager (total newb) and installed it and other programs from there. I haven't yet had a chance to look at running any of the apps except for eclipse which won't start. I need to set up my java environment I guess, anyone got any good tuts for doing this on linux. Also I noticed that I now have many jdk folders but they are all empty, did something mess up during the unpackaging I got no error messages or warnings?
 
  


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
How to install GCC? error "no acceptable compiler found" rohan208 Red Hat 3 04-19-2006 06:53 AM
no acceptable C compiler found OsirisX Linux - Software 1 02-10-2005 09:06 PM
no acceptable C compiler found... altair401 Linux - Newbie 1 09-30-2004 12:54 AM
no acceptable C compiler found ioannisss Linux - Newbie 5 08-27-2004 12:59 PM


All times are GMT -5. The time now is 01:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration