On Sun, Feb 27, 2000, Dag Wieers wrote:
> # make
> make[1]: Entering directory `/usr/src/redhat/BUILD/mod_ssl-2.6.0-1.3.12/pkg.sslmod'
> make[1]: *** No rule to make target `/usr/include/apache/ap_mm.h', needed by
>`mod_ssl.lo'. Stop.
> make[1]: Leaving directory `/usr/src/redhat/BUILD/mod_ssl-2.6.0-1.3.12/pkg.sslmod'
> make: [all] Error 2 (ignored)
> ...
Hmmm... this means that "apxs -q INCLUDEDIR" returns /usr/include on
your system. This is a little bit strange, but ok as long as the Apache
headers really stay there. But at least EAPI's headers are _NOT_ there.
So, are sure you've Apache+EAPI correctly installed? There
have no be more ap_*.h headers in /usr/include/, right?
> # cd sxnet
> # apxs -I/usr/include/openssl/ -L/usr/lib -l ssl -l crypto -c mod_sxnet.c
> gcc -DEAPI -O2 -m486 -fno-strength-reduce -DLINUX=2 -DUSE_EXPAT
> -I../lib/expat-lite -fpic -DSHARED_CORE -DSHARED_MODULE
> -I/usr/include/apache -I/usr/include/openssl/ -c mod_sxnet.c
> mod_sxnet.c: In function `authenticate_sxnet_user':
> mod_sxnet.c:234: structure has no member named `ctx'
> mod_sxnet.c:234: warning: assignment makes pointer from integer without a cast
> apxs:Break: Command failed with rc=65536
> ---
>
> [...]
> Is mod_sxnet broken ? Or where did I fail ? ;)
I've compiled mod_sxnet for a long time. But beside the openssl header
file transition to a subdirectory (I've updated sxnet.h for this
now), it compiled fine. The above error actually means that EAPI is
not correctly installed in your Apache. You seem to have messed up
something.
| :> /sw/pkg/websrv/bin/apxs -I/e/openssl/pkg/openssl-0.9.4/include -c
| mod_sxnet.c
| cc -funsigned-char -DTARGET="apache" -DMOD_SSL=206100 -DMOD_PERL -DEAPI
| -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE -pipe -O2 -g
| -ggdb3 -DSHARED_MODULE -I/sw/pkg/websrv/include/apache
| -I/e/openssl/pkg/openssl-0.9.4/include -c mod_sxnet.c
| gcc -shared -o mod_sxnet.so mod_sxnet.o -L/sw/pkg/websrv/lib/mm/lib -lmm
| -lcrypt
| rse@en1:/e/modssl/src/mod_ssl/pkg.mod_ssl/pkg.contrib/sxnet
| :>
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]