On Mon, Jun 14, 1999, [EMAIL PROTECTED] wrote:

> Full_Name: Daniel Ryde
> Version: 2.3.3-1.3.6
> OS: Linux/Debian 1.3
> Submission from: hobbe.tripnet.se (195.100.20.163)
> 
> When configuring using:
> ./configure --with-apache=../apache_1.3.6 --with-ssl=SYSTEM --with-mm=SYSTEM
> --prefix=/usr/local/apache --enable-shared=ssl --disable-rule=SSL_COMPAT
> 
> This makes apache for some reason start using -I/usr/include. And
> apache fnmatch.h conflicts with linux libc5 /usr/include/fnmatch.h:
> 
> cd ../apache_1.3.6
> make
> ...
> ===> src/ap
> gcc -c -I/usr/include -I../os/unix -I../include   -DLINUX=2 -DMOD_SSL=203103
> -DUSE_HSREGEX -DEAPI -DEAPI_MM `../apaci` ap_fnmatch.c
> ap_fnmatch.c: In function `ap_fnmatch':
> ap_fnmatch.c:143: `FNM_CASE_BLIND' undeclared (first use this function)
> ap_fnmatch.c:143: (Each undeclared identifier is reported only once
> ap_fnmatch.c:143: for each function it appears in.)
> ap_fnmatch.c: In function `rangematch':
> ap_fnmatch.c:190: `FNM_CASE_BLIND' undeclared (first use this function)
> make[3]: *** [ap_fnmatch.o] Error 1
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/usr/local/trip/apache.dev/apache_1.3.6/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/trip/apache.dev/apache_1.3.6'
> make: *** [build] Error 2
> 
> Configuring without the --with-mm directve makes it work, but ofcourse
> without mm support.

Hmmm... seems like you've MM installed under /usr/include, I.e. there is a
/usr/include/mm.h, right? Then try to build Apache with an un-installed MM,
i.e. instead of SYSTEM specify the path to a MM source tree where you've built
MM with "configure --disable-shared; make" before. I cannot solve this,
because it seems like a general Apache configuration problem.  The only thing
I can change is that EAPI_MM never includes /usr/include explicitly. But the
order is highly dependent of other Apache config stuff.  What doesn "mm-config
--cflags" say? "-I/usr/include", right?

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to