LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2010, 02:20 PM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Rep: Reputation: 68
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
 
Old 01-10-2010, 01:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
.....
 
Old 01-10-2010, 02:01 AM   #3
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Original Poster
Rep: Reputation: 68
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

Last edited by Jeff91; 01-10-2010 at 02:24 AM.
 
Old 01-10-2010, 03:52 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 " ..
.....

Last edited by knudfl; 01-10-2010 at 04:00 AM.
 
Old 01-10-2010, 02:51 PM   #5
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Original Poster
Rep: Reputation: 68
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compatibility mode in printer.c hazeposse Programming 1 12-09-2005 12:33 PM
GCC 4.x backwards compatibility mode antonypaul Programming 1 12-09-2005 12:32 PM
printer in compatibility mode hazeposse Linux - Hardware 0 12-07-2005 12:09 PM
compatibility mode in printer.c hazeposse Linux - Software 1 12-07-2005 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration