On Thu, Apr 08, 2010 at 12:20:13PM -0500, Randy McMurchy wrote:
> zzflop wrote these words on 04/08/10 11:50 CST:
>
> > Maybe this is a problem with BDB instead of Apache.
> snip
> It has nothing to do with BDB. I don't run the tests on that
> package either.
>
>
> > I guess why this hasn't been noticed is because both Apache
> > and Svn work fine without BDB and the only people who need
> > this functionality are those running Svn servers that rely
> > on BDB repositories.
>
> That is correct.
>
> All I know is that it works for me. You saw that when I sent the
> email with my installed libs.
>
> You *are* using the bundled version of APR that comes in the Apache
> tarball, right?
This question got me on the right track. After wrangling
with it all day I have it working correctly.
The problem was installing to an "unclean" target as the
debian installer would say when you had hosed something.
Because I had previously installed Apache with :
./configure --enable-layout=FHS \
--enable-mods-shared=all \
--enable-so &&
make
the apr apr-util libraries weren't linked to BDB as we
already discussed. When I tried to install again with:
./configure --enable-layout=FHS \
--enable-mods-shared=all \
--enable-so
--with-dbm=db4 --with-berkeley-db &&
make
Apache found these "non-linked" libraries and used them
instead of compiling the bundled versions.After I decided
that this was case I ran ./configure --help and found the
option --with-included-apr. This isn't needed for a clean
install but *is* if there is a previous install. So I went
round and round with these same libraries all day.
A make clean in Apache and adding --with-included-apr worked
and yielded this this previously missing dir in /usr/lib:
/usr/lib/apr-util-1:
total 108
-rwxr-xr-x 1 root root 45433 Apr 8 18:47 apr_dbm_db-1.so
-rw-r--r-- 1 root root 52618 Apr 8 18:47 apr_dbm_db.a
-rwxr-xr-x 1 root root 820 Apr 8 18:47 apr_dbm_db.la
lrwxrwxrwx 1 root root 15 Apr 8 18:47 apr_dbm_db.so ->
apr_dbm_db-1.so
Reinstalling sqlite and Apache again the above becomes:
/usr/lib/apr-util-1:
total 184
-rwxr-xr-x 1 root root 35209 Apr 8 20:57
apr_dbd_sqlite3-1.so
-rw-r--r-- 1 root root 36244 Apr 8 20:57 apr_dbd_sqlite3.a
-rwxr-xr-x 1 root root 888 Apr 8 20:57 apr_dbd_sqlite3.la
lrwxrwxrwx 1 root root 20 Apr 8 20:57 apr_dbd_sqlite3.so
-> apr_dbd_sqlite3-1.so
-rwxr-xr-x 1 root root 45433 Apr 8 20:57 apr_dbm_db-1.so
-rw-r--r-- 1 root root 52618 Apr 8 20:57 apr_dbm_db.a
-rwxr-xr-x 1 root root 820 Apr 8 20:57 apr_dbm_db.la
lrwxrwxrwx 1 root root 15 Apr 8 20:57 apr_dbm_db.so ->
apr_dbm_db-1.so
I think that line under Command Explanations should read;
--with-dbm=db4 --with-berkeley-db --with-included-apr
It would cover either case; clean or unclean.
Also ,maybe sqlite should be installed before Apache.
It would be needed for subverion anyway.
Sorry about the length of this ; I wanted to be clear
Thanks again for helping me resolve this.
Mike H.
_-_-_-_
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page