Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

apache configure error

Posted on 2003-12-03
6
Medium Priority
?
314 Views
Last Modified: 2010-03-04
I want to install apache and I got this error during :
CC="cc" ./configure

----C preprocessor "lib/cpp" fails sanity check (srclib/apr)----

Any idea? I need to set some environment variables?

Or maybe its mandatory to install gcc before installing apache?

0
Comment
Question by:Alta_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
samri earned 200 total points
ID: 9875506
Alta_,

What is your platform? Apache version?

gcc is not mandatory to compile Apache? BUT C compiler is.  Check you system and see if you had a C compiler installed. The simplest thing to do would be try to run "cc" or "gcc"

If the C compiler is missing, you may need to install one.  GCC is free?  Depeding on your OS type/version, we can recommend a site to download the precompiled binary (I alway found it is fun to build the gcc compared to getting the precompiled version).

please check the availability of C compiler first. If it's missing, then state the OS (maybe "uname -a" command would display the info), then we may be able to help to get the compiler first.
0
 

Author Comment

by:Alta_
ID: 9880625
I use Apache 2.0.48 and Unix Tru64.
I already had cc but maybe some files were missing.
I have installed some extra files..I think header  and library files (OSFINCLUDE,OSFLIBA) ...
and I succeded to configure,make,install Apache.
But I've read it is recommended to have gcc before installing Apache. I dont want to use precompiled version. And gcc-3.2 installing fails
("make bootstrap")...with an error.. some file is missing . So..its needed gcc or not?


0
 
LVL 15

Expert Comment

by:samri
ID: 10001933
HI Alta_,

Apology.  I've been extra busy lately.

So, If you do not want to use the precomiled version of GCC, then you must build the compiler itself.  It's not going to be a fun job though.

I did some searches thru google, and found out that people actually recommending using the bundled C compiler that comes with Tru64 (http://dbforums.com/arch/184/2003/4/719286) -- since it produces faster binaries. (not sure).  Check your system and see if the C compiler is installed.  If not, try to get some help to get it installed.


0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 15

Expert Comment

by:samri
ID: 10001953
HI Alta_,

Apology.  I've been extra busy lately.

So, If you do not want to use the precomiled version of GCC, then you must build the compiler itself.  It's not going to be a fun job though.

I did some searches thru google, and found out that people actually recommending using the bundled C compiler that comes with Tru64 (http://dbforums.com/arch/184/2003/4/719286) -- since it produces faster binaries. (not sure).  Check your system and see if the C compiler is installed.  If not, try to get some help to get it installed.
0
 

Author Comment

by:Alta_
ID: 10050149
Okay, thanks.
I checked and the bundled C compiler exists and its working...after I installed some header files and libraries..apache is working good so far..so
maybe I do not need gcc for the moment.
0
 
LVL 15

Expert Comment

by:samri
ID: 10051701
that sounds great.

If you feels that you are doing fine now, you may close the Question.

feel free to ask should you require any assistance.

cheers.  (and Happy New Year!)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question