You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mason Thomas <ml...@sbcglobal.net> on 2003/12/22 07:29:52 UTC
difficulty compiling with DB4.2.52
Hi,
I recently decided to use Berkeley DB4.2.52 as the recommended DB
(rather than 4.0.14, which has worked well for me so far) along with a
fresh download of subversion-0.35.1. I have a Debian Linux system on
x86.
I compiled BDB according to their build instructions (./configure, make,
make install as root) and now have a /usr/local/BerkeleyDB4.2 directory.
I then tried to compile subversion, starting with:
./configure --enable-maintainer-mode
--with-berkeley-db=/usr/local/BerkeleyDB4.2
Unfortunately, this fails the configure step with:
.
.
.
checking checking for Berkeley DB 1 in /usr/local/BerkeleyDB.4.2/lib...
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
configure: error: Berkeley DB not found.
configure failed for apr-util
(Note that there were other db checks before the above snippet. I can
post those if necessary.)
Is there something obvious I am missing?
Thanks,
-Mason
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: difficulty compiling with DB4.2.52
Posted by Timothee Besset <tt...@idsoftware.com>.
If that can be of any help, I've had the same bug since svn 0.34. I'm
still using DB 4.0 because of that .. next release of apr-util is supposed
to fix it (it would be great if it could come 'soon' so I can upgrade to
0.35.1 and DB 4.2 at the same time).
TTimo
On Sun, 21 Dec 2003 23:29:52 -0800
Mason Thomas <ml...@sbcglobal.net> wrote:
> Hi,
>
> I recently decided to use Berkeley DB4.2.52 as the recommended DB
> (rather than 4.0.14, which has worked well for me so far) along with a
> fresh download of subversion-0.35.1. I have a Debian Linux system on
> x86.
>
> I compiled BDB according to their build instructions (./configure, make,
> make install as root) and now have a /usr/local/BerkeleyDB4.2 directory.
> I then tried to compile subversion, starting with:
> ./configure --enable-maintainer-mode
> --with-berkeley-db=/usr/local/BerkeleyDB4.2
>
> Unfortunately, this fails the configure step with:
> .
> .
> .
> checking checking for Berkeley DB 1 in /usr/local/BerkeleyDB.4.2/lib...
> checking db_185.h usability... no
> checking db_185.h presence... no
> checking for db_185.h... no
> checking for Berkeley DB... not found
> configure: error: Berkeley DB not found.
> configure failed for apr-util
>
> (Note that there were other db checks before the above snippet. I can
> post those if necessary.)
>
> Is there something obvious I am missing?
>
> Thanks,
>
> -Mason
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: difficulty compiling with DB4.2.52
Posted by Mason Thomas <ml...@sbcglobal.net>.
On Tue, Dec 23, 2003 at 07:35:35PM +0100, Jostein Chr. Andersen wrote:
> On Tuesday 23 December 2003 07.40, Mason Thomas wrote:
> > Not originally. However, I have now included /usr/local/BerkeleyDB.4.2
> > in /etc/ld.so.conf and ran ldconfig (as root). Unfortunately, I still
> > get the exact same error.
> >
> > I am not compiling Apache, I'm using Subversion only for the ra_local
> > access.
>
> I might be wrong, but you must compile at least a version of apr-utils
> against /usr/local/BerkeleyDB.4.2. to compile Subversion against. You
> can try to compile apr, apr-utils (both included in the tarball ) and
> subversion.
I thought that was what configure does in the tarball? At least it used
to. It looks like it is failing exactly when it is looking for a version
of db against which to compile apr-utils! At any rate, I will look into
this further.
>
> I do also see in another posting in this group that 'Mason Thomas'
> <ml...@sbcglobal.net> says:
>
> > I had the same problem, but after running autogen.sh after editing
> > /etc/ld.so.conf and then running ./configure \
> > --with-berkeley-db=/usr/local/BerkeleyDB4.2
> > again solved the problem. So in my case running autogen.sh solved
> > the problem. Don't know why.
Actually, that was Marc Haesen, not myself. But I tried re-running
autogen.sh and that didn't change the error I am getting.
I will try all this again after the holidays. Thanks for the
suggestions.
-Mason
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: difficulty compiling with DB4.2.52
Posted by "Jostein Chr. Andersen" <jo...@josander.net>.
On Tuesday 23 December 2003 07.40, Mason Thomas wrote:
> Not originally. However, I have now included /usr/local/BerkeleyDB.4.2
> in /etc/ld.so.conf and ran ldconfig (as root). Unfortunately, I still
> get the exact same error.
>
> I am not compiling Apache, I'm using Subversion only for the ra_local
> access.
I might be wrong, but you must compile at least a version of apr-utils
against /usr/local/BerkeleyDB.4.2. to compile Subversion against. You
can try to compile apr, apr-utils (both included in the tarball ) and
subversion.
I do also see in another posting in this group that 'Mason Thomas'
<ml...@sbcglobal.net> says:
> I had the same problem, but after running autogen.sh after editing
> /etc/ld.so.conf and then running ./configure \
> --with-berkeley-db=/usr/local/BerkeleyDB4.2
> again solved the problem. So in my case running autogen.sh solved
> the problem. Don't know why.
Good luck
--
http://www.josander.net/kontakt/ ||
http://www.josander.net/en/contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: difficulty compiling with DB4.2.52
Posted by Mason Thomas <ml...@sbcglobal.net>.
On Mon, Dec 22, 2003 at 10:51:26AM +0100, Jostein Chr. Andersen wrote:
> Mason Thomas wrote:
>
> > Hi,
> >
> > I recently decided to use Berkeley DB4.2.52 as the recommended DB
> > (rather than 4.0.14, which has worked well for me so far) along with a
> > fresh download of subversion-0.35.1. I have a Debian Linux system on
> > x86.
> >
> > I compiled BDB according to their build instructions (./configure, make,
> > make install as root) and now have a /usr/local/BerkeleyDB4.2 directory.
> > I then tried to compile subversion, starting with:
> > ./configure --enable-maintainer-mode
> > --with-berkeley-db=/usr/local/BerkeleyDB4.2
>
> Have you included /usr/local/BerkeleyDB4.2 in your /etc/ld.so.conf and done
> a ldconfig?
>
> Also, remember to compile Apache against BerkeleyDB4.2 before subversion
> too.
Not originally. However, I have now included /usr/local/BerkeleyDB.4.2
in /etc/ld.so.conf and ran ldconfig (as root). Unfortunately, I still
get the exact same error.
I am not compiling Apache, I'm using Subversion only for the ra_local
access.
-Mason
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: difficulty compiling with DB4.2.52
Posted by "Jostein Chr. Andersen" <jo...@webconnect.no>.
Mason Thomas wrote:
> Hi,
>
> I recently decided to use Berkeley DB4.2.52 as the recommended DB
> (rather than 4.0.14, which has worked well for me so far) along with a
> fresh download of subversion-0.35.1. I have a Debian Linux system on
> x86.
>
> I compiled BDB according to their build instructions (./configure, make,
> make install as root) and now have a /usr/local/BerkeleyDB4.2 directory.
> I then tried to compile subversion, starting with:
> ./configure --enable-maintainer-mode
> --with-berkeley-db=/usr/local/BerkeleyDB4.2
Have you included /usr/local/BerkeleyDB4.2 in your /etc/ld.so.conf and done
a ldconfig?
Also, remember to compile Apache against BerkeleyDB4.2 before subversion
too.
Jostein
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org