Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2006 11:02:30 +0400
From:      Roman Bogorodskiy <novel@freebsd.org>
To:        alan bryan <alan.bryan@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Apache 2.2 and Postgres
Message-ID:  <20060818070230.GC78016@underworld.novel.ru>
In-Reply-To: <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com>
References:  <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060818070230.GC78016>