Solved

apache configure error

Posted on 2003-12-03
6
307 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_
  • 4
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
samri earned 50 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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 …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now