Operating System - HP-UX
1848611 Members
6382 Online
104033 Solutions
New Discussion

Re: Apache Web Server Requires ANSI-C compiler

 
SOLVED
Go to solution
Bob Fohl
Contributor

Apache Web Server Requires ANSI-C compiler

Are there freeware options vs. buying it from HP?
I can't compile Apache without it?
5 REPLIES 5
Jason Morgan_1
Advisor

Re: Apache Web Server Requires ANSI-C compiler

you could possibly use gcc compiler from www.gnu.org. its an open source compilier that comes standard with most linux distributions these days. i have been told that it will compile on HPUX. i am going to try myself one of these days.

-jason
Never Underestimate the Power of Human Stupidity -RAH
Jitendra_1
Trusted Contributor
Solution

Re: Apache Web Server Requires ANSI-C compiler

You can use gcc compiler. You will find it here :

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-2.95.2/
Learning is the Key!
Bob Fohl
Contributor

Re: Apache Web Server Requires ANSI-C compiler

Thanks,
I installed the gss compiler. Having a problem compiling apache?? Not sure what to do now??
Jitendra_1
Trusted Contributor

Re: Apache Web Server Requires ANSI-C compiler

Once you get gcc installed , you need to make sure that the package is compiled using gcc and not the default cc compiler. One way is to edit the makefile of the package and replace cc = gcc instead of cc= cc line. Otherwise put gcc in you path first , e.g. export PATH=/usr/local/bin:$PATH ( assuming gcc got installed in /usr/local/bin) and then try compiling it again.

hope this helps
Learning is the Key!
Denver Osborn
Honored Contributor

Re: Apache Web Server Requires ANSI-C compiler

You could also download and swinstall a ported version of Apache Web Server. You wouldn't need to compile anything, just gunzip it and swinstall.

you can get the gzipped depot file for it here http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache-1.3.17/