Link to home
Start Free TrialLog in
Avatar of Alta_
Alta_

asked on

apache configure error

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?

ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Alta_
Alta_

ASKER

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?


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.


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.
Avatar of Alta_

ASKER

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.
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!)