alan bryan wrote: > I'm trying to get Apache 2.2 and Postgres to work together so that I > can use mod_authn_dbd. > > I think the problem is that APR is not being passed the correct > arguments so that it configures with PGSQL support. > > # 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: > > Shouldn't there be various pgsql things listed here? > > I compiled ports/apache22 with WITH_PGSQL=yes and also tried > WITH_PGSQL=/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. > Apache error logs show: > > [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 > > 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=apache-httpd-users&m=113855247701995&w=2 > > 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?
pgpGfbcHSqWGA.pgp
Description: PGP signature