Apache 2.2 and Postgres

Roman Bogorodskiy novel at freebsd.org
Fri Aug 18 07:02:05 UTC 2006


  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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060818/e128142f/attachment.pgp


More information about the freebsd-ports mailing list