[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modssl
Subject:    Re: compile problems
From:       "Michael J. McGillick" <mike () universe ! ne ! mediaone ! net>
Date:       2000-06-22 12:38:24
[Download RAW message or body]

Dave:

I'm building a new RPM now that has worked flawlessly in the testing
stages so far.  Only thing I'm trying to work on getting integrated is the
php4 module.  If you'd like to work together on this, I'd be happy to get
you a copy of what I've come up with so far.

- Mike

On Wed, 21 Jun 2000, David 'bernz' Bernick wrote:

> i'm using RedHat Linux 6.2 (kernel 2.2.14-5.0.14).
> when i ./configure modssl, i get this error:
> Configuring mod_ssl/2.6.4 for Apache/1.3.12
>  + Apache location: ../apache_1.3.12 (Version 1.3.12)
>  + Auxiliary patch tool: ./etc/patch/patch (local)
>  + Applying packages to Apache source tree:
>    o Extended API (EAPI)
> Usage:     -a <slave-device-name> <host>
>            -d <slave-device-name>
> Error: Application of patch failed:
> -------------------------------------------------
> -------------------------------------------------
>      creating: [FILE] src/README.EAPI
>      creating: [FILE] src/ap/ap_hook.c
>      creating: [FILE] src/ap/ap_ctx.c
>      creating: [FILE] src/ap/ap_mm.c
>      creating: [FILE] src/include/ap_hook.h
>      creating: [FILE] src/include/ap_ctx.h
>      creating: [FILE] src/include/ap_mm.h
> 
> THE rest seems to work fine at that point and no other errors are thrown.
> 
> i'm using the local patch which i compiled by just doing a
> ./configure/make (with no options on the ./configure).
> 
> when i run make on apache it works fine until:
> 
> ===> src/modules/ssl
> gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DMOD_SSL=206104
> -I/home/bernz/sources/php-4.0.0 -I/home/bernz/sources/php-4.0.0/Zend
> -I/home/bernz/sources/php-4.0.0/Zend -I/home/bernz/sources/php-4.0.0
> -DEAPI -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic
> -DSHARED_MODULE -DSSL_COMPAT -DSSL_USE_SDBM
> -I/home/bernz/sources/openssl-0.9.5a/include -DMOD_SSL_VERSION=\"2.6.4\"
> mod_ssl.c && mv mod_ssl.o mod_ssl.lo
> In file included from mod_ssl.c:65:
> mod_ssl.h:550: parse error before `AP_MM'
> mod_ssl.h:550: warning: no semicolon at end of struct or union
> mod_ssl.h:567: parse error before `}'
> mod_ssl.h:567: warning: data definition has no type or storage class
> mod_ssl.c:237: warning: excess elements in struct initializer after
> `ssl_module'mod_ssl.c:238: warning: excess elements in struct initializer
> after `ssl_module'mod_ssl.c:239: warning: excess elements in struct
> initializer after `ssl_module'mod_ssl.c:240: warning: excess elements in
> struct initializer after `ssl_module'mod_ssl.c:242: warning: excess
> elements in struct initializer after `ssl_module'make[4]: *** [mod_ssl.lo]
> Error 1
> make[3]: *** [all] Error 1
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/home/bernz/sources/apache_1.3.12/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/home/bernz/sources/apache_1.3.12'
> make: *** [build] Error 2
> 
> 
> here is my apache configuration line:
> SSL_BASE=../openssl-0.9.5a \
>                             RSA_BASE=../rsaref-2.0/local \
>                             ./configure \
>                             --enable-module=ssl \
>                             --activate-module=src/modules/php4/libphp4.a \
>                             --enable-module=php4 \
>                             --prefix=/usr/local/apache \
>                             --enable-shared=ssl \
> 
> if anyone knows what could be wrong, please tell me! thanks! i'm not using
> MM, by the way.
> 
> dave
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      modssl-users@modssl.org
> Automated List Manager                            majordomo@modssl.org
> 

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            majordomo@modssl.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic