LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do I get Berkeley DB with 1.85 compatibility mode? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-get-berkeley-db-with-1-85-compatibility-mode-781102/)

Jeff91 01-09-2010 02:20 PM

How do I get Berkeley DB with 1.85 compatibility mode?
 
I am trying to install gnome-bin 1.4.2 from source but it is telling be I need my Berkeley DB to have 1.85 compatibility mode - how do I do this? I've tried both the libdb4.2-dev package (which give the error below) and the libdb1-dev package (which tells me I am missing DB support all together).

Code:

checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
checking for __db185_open in -ldb-3... no
checking for __db185_open in -ldb-4... no
configure: error: Your db library is missing db 1.85 compatibility mode

How do I get Berkeley 1.85 compatibility mode on my system?

Thanks,
~Jeff

knudfl 01-10-2010 01:02 AM

Well, in fact you already know this .. we discussed it before ..

You can either do : apt-get build-dep gnome-bin
on your Debian system .. or follow your own link
from your above post # 1 ( to look at the source page )
http://packages.debian.org/lenny/gnome-bin
> > [ Source: gnome-libs ] → →
http://packages.debian.org/source/lenny/gnome-libs
.. to see a full dependency list ..
.. and the "db" dependency clearly says
"" libdb-dev (>= 4.6.19-1) ""

On debian Lenny the package name is : libdb4.6-dev ,
providing version 4.6.21-11

Then no more "db 1.85 compatibility mode" issue.
.....

Jeff91 01-10-2010 02:01 AM

Haha, solid suggestion. I really need to learn to RTM more often, got it going now. Also for any who can I ended up installing it from source and I followed the instructions here for installing this non-standard source.

EDIT: After installing the source from the package you (and I) linked to above, I am still getting the same DB error when running ./configure

Other suggestions?

~Jeff

knudfl 01-10-2010 03:52 AM

Quote:

I followed the instructions here for installing this non-standard source.
.. which seems to be version 4.3 ? ?

Please have a look into the db4.6_4.6.21 source :
http://packages.debian.org/lenny/libdb4.6
> [db4.6_4.6.21-11.diff.gz]
http://ftp.de.debian.org/debian/pool....21-11.diff.gz

cat -n db4.6_4.6.21-11.diff | grep -A10 CONFIGURE
.. shows ..
Code:

  230  +                      --enable-cxx \
  231  +                      --enable-compat185 \
  232  +                      --enable-rpc \
  233  +                      --enable-tcl \
 
  235  +                      --enable-test

May be use '4.6.21' and at least use the option " --enable-compat185 " ..
.....

Jeff91 01-10-2010 02:51 PM

Truly Odd. For some off reason installing 4.6 from source doesn't fix the issue however installing from the .deb packages resolves the issue. I wonder why that is.

At any rate it is working now :)

~Jeff


All times are GMT -5. The time now is 02:05 PM.