Sorry about this blatant attempt to attract attention to my query. It is just about to drop out of view. I posted this question earlier but have received no reply yet.
(Perhaps I should try the main page.?)
- Compiling PHP 3.0.16 as a DSO
I am having problems compiling PHP as shared module for Apache.
It seems to me that in the first instance I did not put in any
settings for the compiler flags in the Configuration file, which
caused the generate apxs.pl script to fail.
Can anyone tell me the right values for the settings below if they
are necessary.
=====================================================
The EXTRA_DEPS can be used to add extra Makefile dependencies to external
files (for instance third-party libraries) for the httpd target. The effect
is that httpd is relinked when those files are changed.
EXTRA_CFLAGS=
EXTRA_LDFLAGS=
EXTRA_LIBS=
EXTRA_INCLUDES=
EXTRA_DEPS=
#CC=
#CPP=
#OPTIM=
#RANLIB=
################################################################
Name of the installed Apache HTTP webserver.
TARGET=httpd
#CFLAGS_SHLIB=
#LD_SHLIB=
#LDFLAGS_SHLIB=
#LDFLAGS_SHLIB_EXPORT=
My system is Linux Mandrake 7.1 distribution
- After putting in a few settings which allowed compilation to start,
the compile stopped with this error.
=====================================================
make
gcc -g -O2 @CFLAGS@ -O2 -fpic -DSHARED_MODULE -I. -I. -I/www/apache/include
-I/usr/local/include/mysql -c language-parser.tab.c -o langua
ge-parser.tab.o
gcc.colorgcc: cannot specify -o with -c or -S and multiple compilations
make: *** [language-parser.tab.o] Error 1