I'm reconfiguring PHP so I can use calendar functions, ,e.g., JDToGregorian, etc. My configure command was
./configure -with-apache=../apache_1.3.20
-with-informix=$INFORMIXDIR
-with-pgsql=/usr/local/pgsql
-enable-calendar
I did a make and make install with no problems.
However when I try to reconfigure Apache I get an error.
The configure was
./configure --prefix=/usr3/apache
--activate-module=src/modules/php4/libphp4.a
Right after the line
"+ doing a sanity check on compiler and options"
I get
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 out for sanity check ===========
=============== End of error report ==============
Aborting!
If I configure Apache without the --activate-module, it runs fine. I am using gcc version 2.91.66. I looked at the libphp4.a file and it's the same one I created last August. However there is a libmodphp4.a with a date-time stamp of when I recompiled PHP today. Am I supposed to use that module instead?
Thanks,
Hank