From owner-freebsd-apache@FreeBSD.ORG Thu Feb 23 11:11:02 2006 Return-Path: X-Original-To: apache@FreeBSD.org Delivered-To: freebsd-apache@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEFA216A420 for ; Thu, 23 Feb 2006 11:11:01 +0000 (GMT) (envelope-from ler@lerctr.org) Received: from lerami.lerctr.org (lerami.lerctr.org [192.147.25.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D265A43D53 for ; Thu, 23 Feb 2006 11:11:00 +0000 (GMT) (envelope-from ler@lerctr.org) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; b=2mpofI7f5LSNgFeW9coWwR0hztdoJ0QToCbCea2QaAVWrIO8PNX79VHEEWORLoCLc6v7pfmJcI+Ly/bAdVyO3AefslQfEquPaJDaQFVNQTE9Ly2HfrLeFO/3Ip4lgPOkCGzZYyGMnv8RzKRv8hr8REyQ3flH7LuaKTvUK8WXerg=; Received: from adsl-69-150-57-244.dsl.austtx.swbell.net ([69.150.57.244]:2310 helo=lerlaptop) by lerami.lerctr.org with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.60) (envelope-from ) id 1FCEMy-0004LT-Rr; Thu, 23 Feb 2006 05:10:59 -0600 From: "Larry Rosenman" To: "'Clement Laforet'" Date: Thu, 23 Feb 2006 05:10:35 -0600 Message-ID: <001e01c63869$cb335ba0$66c8a8c0@lerctr.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcY4Um6PouwDyIpjQQCnw293voZg0wAF0Z6w In-Reply-To: <20060223082310.GB55090@goofy.cultdeadsheep.org> X-Spam-Score: -4.3 (----) X-LERCTR-Spam-Score: -4.3 (----) X-Spam-Report: (-4.3 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 TW_PG=0.077 X-LERCTR-Spam-Report: (-4.3 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 TW_PG=0.077 DomainKey-Status: no signature Cc: apache@FreeBSD.org, 'Sean Chittenden' Subject: RE: mod_auth_pgsql for Apache22? X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 11:11:02 -0000 Clement Laforet wrote: > On Wed, Feb 22, 2006 at 03:23:15PM -0600, Larry Rosenman wrote: >> USE_APACHE= 22 >> >> LATEST_LINK= mod_auth_pgsql2 >> >> AP_INC?= ${LOCALBASE}/include >> Makefile: 33 lines, 826 characters >> # make >> ===> mod_auth_pgsql-2.0.2b1_2 : Error from bsd.apache.mk. Illegal >> use of USE_APACHE. *** Error code 1 >> >> Stop in /usr/ports/www/mod_auth_pgsql2. >> # >> >> nope. :( > > Congrats! you find a bug in bsd.apache.mk :) I'll fix it ASAP. > > To make the port work with apache 2.[012].x., USE_APACHE should be > set to "20+". I don't have a tinderbox up so I can't test if it > builds properly. Please ping me if you get it built, so I can update > the port. > > clem Well, I got a little further: # vi Makefile # New ports collection makefile for: mod_auth_pgsql2 # Date created: Mon Oct 6 # Whom: Clement Laforet # # $FreeBSD: ports/www/mod_auth_pgsql2/Makefile,v 1.9 2005/12/04 21:08:46 clement Exp $ PORTNAME= mod_auth_pgsql PORTVERSION= 2.0.2b1 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/ MAINTAINER= apache@FreeBSD.org COMMENT= Allows users to use PostgreSQL databases for user authentication USE_PGSQL= yes USE_APACHE= 20+ LATEST_LINK= mod_auth_pgsql2 AP_INC?= ${LOCALBASE}/include Makefile: 33 lines, 827 characters # make => mod_auth_pgsql-2.0.2b1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/. mod_auth_pgsql-2.0.2b1.tar.gz 100% of 15 kB 34 kBps ===> Extracting for mod_auth_pgsql-2.0.2b1_2 => MD5 Checksum OK for mod_auth_pgsql-2.0.2b1.tar.gz. => SHA256 Checksum OK for mod_auth_pgsql-2.0.2b1.tar.gz. ===> Patching for mod_auth_pgsql-2.0.2b1_2 ===> mod_auth_pgsql-2.0.2b1_2 depends on file: /usr/local/sbin/apxs - found ===> mod_auth_pgsql-2.0.2b1_2 depends on file: /usr/local/sbin/apxs - found ===> mod_auth_pgsql-2.0.2b1_2 depends on shared library: pq.4 - found ===> Configuring for mod_auth_pgsql-2.0.2b1_2 ===> Building for mod_auth_pgsql-2.0.2b1_2 ===> Generating apache plist /usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -fno-strict-aliasing -pipe -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include -I/usr/local/include -c -o mod_auth_pgsql.lo mod_auth_pgsql.c && touch mod_auth_pgsql.slo mod_auth_pgsql.c:91:24: apr_compat.h: No such file or directory mod_auth_pgsql.c: In function `auth_pg_md5': mod_auth_pgsql.c:452: error: `MD5_DIGESTSIZE' undeclared (first use in this function) mod_auth_pgsql.c:452: error: (Each undeclared identifier is reported only once mod_auth_pgsql.c:452: error: for each function it appears in.) mod_auth_pgsql.c: In function `do_pg_query': mod_auth_pgsql.c:634: warning: cast to pointer from integer of different size mod_auth_pgsql.c: In function `auth_pg_md5': mod_auth_pgsql.c:453: error: storage size of `md5hash' isn't known apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/ports/www/mod_auth_pgsql2. # I can give you an account on this box, if that would help.... -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3683 US