From owner-freebsd-questions Tue Sep 3 9:24:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31AC237B400 for ; Tue, 3 Sep 2002 09:24:06 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE3043E3B for ; Tue, 3 Sep 2002 09:24:04 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g83GO2Gk022513; Tue, 3 Sep 2002 17:24:02 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g83GNv9e022512; Tue, 3 Sep 2002 17:23:57 +0100 (BST) Date: Tue, 3 Sep 2002 17:23:57 +0100 From: Matthew Seaman To: flo Cc: freebsd-questions@FreeBSD.ORG Subject: Re: port: apache13-modssl fails on alloc.c Message-ID: <20020903162357.GA22465@happy-idiot-talk.infracaninophi> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020903151755.GC62792@nigsch.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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