Operating System - HP-UX
1846590 Members
2122 Online
110256 Solutions
New Discussion

Re: Problem when adding a module to apache server

 
mattupalli
Occasional Contributor

Problem when adding a module to apache server

Here are the errors listed below

(Bundled) cc: warning 480 The -A option is available only in the C/ANSI C product; ignored

(Bundled) cc: warning 480 The +Z option is available only in the C/ANSI C product; ignored

cpp: "helpers/dummy.c", line 9: error 4052 Unknown preprocessing directive.

These error getting while using the command below

./configure --prefix= --enable-module=so --enable-rule=SHARED_CORE
6 REPLIES 6
Rick Garland
Honored Contributor

Re: Problem when adding a module to apache server

Are you compiling with an Ansi C compiler?

I believe apache wants ANSI C.
Kofi ARTHIABAH
Honored Contributor

Re: Problem when adding a module to apache server

You may have to install gcc if you do not already have ANSI C installed... you can get gcc @
http://eigen.ee.ualberta.ca/hppd/hpux/Gnu/gcc-2.95.2/
or similar.
nothing wrong with me that a few lines of code cannot fix!
Anthony deRito
Respected Contributor

Re: Problem when adding a module to apache server

Apache does not like the standard HP ANSI C compiler. Aquire, install and use gcc.

Tony
Tim Malnati
Honored Contributor

Re: Problem when adding a module to apache server

Apache has already been ported to HPUX 10.20 and 11.0. You can get either at http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache-1.3.12 This version became available back in March, so we are not spaekeing of old stuff either.
Anthony deRito
Respected Contributor

Re: Problem when adding a module to apache server

Tim, yes you are absolutely correct. However, what he is trying to do here is configure one of the many optional modules with Apache. This one happens to be the "so" module as noted with his enable_module parameter. The "so" module provides for loading of executable code and modules into the server at start-up or restart time.

Tony
Tim Malnati
Honored Contributor

Re: Problem when adding a module to apache server

Sorry, didn't mean to confuse things... Guess I didn't rtq to the extent that I should have.