Re: sapi/servlet configuration error
| From: | Tony J. White | Date: | Thu, 05 Dec 2002 20:00:40 +0000 |
| Subject: | Re: sapi/servlet configuration error | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92141@lists.php.net to get a copy of this message | ||
On Thu, 5 Dec 2002, Ray Hunter wrote:
> This is the line in my Makefile:
>
> sapi/servlet/java.lo: sapi/servlet/java.c
> $(LIBTOOL) --mode=compile $(CC) -Isapi/servlet/
> -I/home/rhunter/src/php4/sapi/servlet/ $(COMMON_FLAGS) $(CFLAGS_CLEAN)
> $(EXTRA_CFLAGS) -prefer-pic -c sapi/servlet/java.c -o
> sapi/servlet/java.lo
>
> Is that correct?
That chunk is added by the macro PHP_ADD_SOURCES() in sapi/servlet/config.m4.
If there is no line that _starts_ with 'sapi/servlet/java.c :', then the
sapi/servlet/Makefile.frag is not being included properly.
If it's not, try changing the PHP_ADD_MAKEFILE_FRAGMENT like I indicated,
then run:
make clean
rm -r configure autom4te.cache
./buildconf
./configure --with...
make
You will need to have installed the required packages to do this though
(e.g. automake, autoconfig, etc. )
-Tony