Date: Tue, 3 Sep 2002 17:23:57 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: flo <flo@nigsch.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: port: apache13-modssl fails on alloc.c Message-ID: <20020903162357.GA22465@happy-idiot-talk.infracaninophi> In-Reply-To: <20020903151755.GC62792@nigsch.com> References: <20020903130430.GB5683@nigsch.com> <20020903142905.GA21983@happy-idiot-talk.infracaninophi> <20020903143604.GB62792@nigsch.com> <20020903151014.GC21983@happy-idiot-talk.infracaninophi> <20020903151755.GC62792@nigsch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 03, 2002 at 05:17:55PM +0200, flo wrote: > It's the same as for you... > I also did some research in the internet (mailinglist archives on > various sites) but I didn't find any recent information on this > subject. The only thing I found often was that this problem had > apparently already been fixed (several) times. > Desesperating, Hmmm... The problem at line 146 of alloc.c is in this code: #if defined(EAPI) && defined(EAPI_MM) static AP_MM *mm = NULL; #endif where AP_MM is defined in ap_mm.h at line 75 typedef void AP_MM; and that file comes with the mod_ssl-1.3.26+2.8.10 sources... Try this: cd /usr/ports/www/apache13-modssl rm -rf work make patch The output from the 'make patch' command should look like this: claudette:...ports/www/apache13-modssl:# make patch [...some stuff deleted...] ===> Patching for apache+mod_ssl-1.3.26+2.8.10 ===> Applying mod_ssl-2.8.10 extension Configuring mod_ssl/2.8.10 for Apache/1.3.26 + Apache location: ../apache_1.3.26 (Version 1.3.26) + Auxiliary patch tool: ./etc/patch/patch (local) + Applying packages to Apache source tree: o Extended API (EAPI) o Distribution Documents o SSL Module Source o SSL Support o SSL Configuration Additions o SSL Module Documentation o Addons Done: source extension and patches successfully applied. ===> Applying FreeBSD patches for apache+mod_ssl-1.3.26+2.8.10 If that worked you should now have a file: claudette:...ports/www/apache13-modssl:# ls -l work/apache_1.3.26/src/include/ap_mm.h -rw-r--r-- 1 root wheel 5577 Dec 30 1999 work/apache_1.3.26/src/include/ap_mm.h You might also have /usr/local/include/apache/ap_mm.h installed by a previous version of apache+mod_ssl --- however, the build process should ignore it in favour of the one bundled with the sources. If it is there and different to the one under the work directory, try moving it to some other name. If you've got this far without errors, then you should be able to build the port now. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903162357.GA22465>