hi ,
my friends,i have a headace,when i configure apache on hp_ux 11.11 ,it occurs following error :
./configure --prefix=/usr/apache
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for HP-UX 11 platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
A test compilation with your Makefile configuration
failed. The below error output from the compilation
test will give you an idea what is failing. Note that
Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT -I.
/lib/expat-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy helpers/dummy.c
-lm -lpthread
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: "helpers/dummy.c", line 3: warning 5: "const" will become a keywor
d.
(Bundled) cc: "helpers/dummy.c", line 3: error 1000: Unexpected symbol: "char".
(Bundled) cc: "helpers/dummy.c", line 4: warning 5: "const" will become a keywor
d.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
============= End of Error Report =============
Aborting!
i follow the manual that php.net provide www.php.net/manual/en/install.hpux.php ,i have install the patches as the manual said,but i didn't know how to use the patches in the right path
anyone can help me?
which patch is needed?
thanks a lot!