On Friday 08 June 2007 07:11:17 Nick Kew wrote:
> Building apr and apr-util will fix it. You can do that from
> your httpd tarball by building srclib/apr and srclib/apr-util
> before building httpd itself.
Thanks Nick. It seems my ArchLinux desktop apr-util package uses
--without-sqlite3 in it's PKGBUILD so I'll try enabling that next.
> Your trouble is (probably) that you have an existing apr
> installation without sqlite3 support. If you get rid of that,
> and if sqlite3 is installed somewhere Apache can find it,
> it'll build by default.
As it turns out, the Debian4 stable libaprutil1 package does indeed
include sqlite3 support...
# /usr/src/apr-util-1.2.7+dfsg grep sqlite3 debian/rules
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
--enable-layout=Debian --with-apr=/usr/bin/apr-1-config --with-ldap=yes
--with-dbm=db43 --with-sqlite3 --with-pgsql=/usr --without-gdbm
--without-sqlite2 --with-berkeley-db
# ldd /usr/sbin/apache2 | grep apr
libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7f86000)
libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7d8d000)
# strings /usr/lib/libaprutil-1.so.0 | grep sqlite3
apr_dbd_sqlite3_driver
sqlite3_mprintf
sqlite3_free
sqlite3_errmsg
sqlite3_prepare
sqlite3_column_count
sqlite3_step
sqlite3_column_bytes
sqlite3_column_type
sqlite3_column_text
sqlite3_finalize
sqlite3_column_name
sqlite3_changes
sqlite3_close
sqlite3_open
libsqlite3.so.0
sqlite3
However, after enabling mod_auth_basic and mod_authn_dbd in the
Debian stable apache 2.2.3 configuration I am still getting...
Invalid command 'DBDriver', perhaps misspelled or defined by
a module not included in the server configuration failed!
<Directory /var/www/secret/>
DBDriver sqlite3
DBDParams "/var/www/secret/.ht.sqlite"
DBDMin 1
DBDKeep 2
DBDMax 5
DBDExpTime 30
AuthType Basic
AuthName Test
AuthBasicProvider dbd
Require valid-user
AuthDBDUserPWQuery "select pw from passwd where uid=%s"
</Directory>
I'd be grateful for any more suggestions.
--markc
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]