Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 14:24:31 -0700
From:      "alan bryan" <alan.bryan@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Apache 2.2 and Postgres
Message-ID:  <892916310608171424x2d278a6ak7588509567cdb633@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

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?

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?

Thanks,
Alan



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