From owner-freebsd-ports@FreeBSD.ORG Fri Aug 18 07:02:05 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61E7116A4DE for ; Fri, 18 Aug 2006 07:02:05 +0000 (UTC) (envelope-from novel@smtp.hispeed.ch) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD1CA43D45 for ; Fri, 18 Aug 2006 07:02:04 +0000 (GMT) (envelope-from novel@smtp.hispeed.ch) Received: from coredump.fannet.ru (R1-Vl6-82-116-56-21.fannet.ru [82.116.56.21]) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.6/taifun-1.0) with ESMTP id k7I721nb007016; Fri, 18 Aug 2006 09:02:02 +0200 Date: Fri, 18 Aug 2006 11:02:30 +0400 From: Roman Bogorodskiy To: alan bryan Message-ID: <20060818070230.GC78016@underworld.novel.ru> Mail-Followup-To: alan bryan , freebsd-ports@freebsd.org References: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com> X-PGP: http://people.freebsd.org/~novel/novel.key.asc X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on smtp-04.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-01.tornado.cablecom.ch-Metrics: smtp-04.tornado.cablecom.ch 1377; Body=2 Fuz1=2 Fuz2=2 Cc: freebsd-ports@freebsd.org Subject: Re: Apache 2.2 and Postgres X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 07:02:05 -0000 --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable alan bryan wrote: > I'm trying to get Apache 2.2 and Postgres to work together so that I > can use mod_authn_dbd. >=20 > I think the problem is that APR is not being passed the correct > arguments so that it configures with PGSQL support. >=20 > # ldd /usr/local/libexec/apache22/mod_authn_dbd.so > /usr/local/libexec/apache22/mod_authn_dbd.so: > # ldd /usr/local/libexec/apache22/mod_dbd.so > /usr/local/libexec/apache22/mod_dbd.so: >=20 > Shouldn't there be various pgsql things listed here? >=20 > I compiled ports/apache22 with WITH_PGSQL=3Dyes and also tried > WITH_PGSQL=3D/usr/local/pgsql with no changes in result. Am I doing > something wrong here? Hm... www/apache22 port has no WITH_PGSQL knob. I was figthing with apache22 + authentification via postgresql few days ago and now it works here with www/mod_auth_pgsql2. =20 > Apache error logs show: >=20 > [Thu Aug 17 13:59:12 2006] [crit] (70023)This function has not been > implemented on this platform: DBD: driver for [DBDriver unset] not > available > [Thu Aug 17 13:59:12 2006] [crit] (70023)This function has not been > implemented on this platform: DBD: failed to initialise >=20 > On another list someone says that the apr-util needs parameters passed > to it in order to compile in Postgres support. > http://marc.theaimsgroup.com/?l=3Dapache-httpd-users&m=3D113855247701995&= w=3D2 >=20 > So, my main question is: Is there a way for me to pass arguments to > the apr-util part of the port compilation so it compiles with > postgres support and I can thus use mod_authn_dbd and mod_dbd with > Postgres support? --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iQCVAwUBROVmBoB0WzgdqspGAQIWOwP/Rck1do+mEOWX7IBY9vqcNmnoPsGg/HYk vTq8vhV8GR9Jct6PMDvM7l3ama/ggThEEPt5QUi7r1yz2OlvsoE4rgvQComepwHE vFtx+uXt75b2vaYDsAHifCtFT1Syy4TpTHQqLUZcIrwP2DwpdTEEtVv4bhbpYfTA Ueqll06zZBk= =Om9i -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO--