Bug 73477

Summary: Berkely DB <= 4.1 required? (Its hard to obtain Berkely DB <= 4.1 !)
Product: [Applications] kdevelop Reporter: Florian Schanda <ma1flfs>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: config.log.bz2

Description Florian Schanda 2004-01-25 19:17:19 UTC
Version:           CVS (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.4.0 20040125 (prerelease) 
OS:          Linux

The latest release of Berkely DB is 4.2

I have looked around on Sleepycat.com and couldn't find any downloads for that version. configure requires BDB >= 3 and <= 4.1 however...

(Btw, the configure error could be more helpful as well; it just says version >= 3 required!)
Comment 1 Harald Fernengel 2004-01-25 19:45:52 UTC
Either you have a mix of mismatching header files and libraries, or the configure check is too stupid. Please send your config.log to me so I can check that.
Comment 2 Amilcar do Carmo Lucas 2004-01-25 19:50:49 UTC
This is not a bug. Please report compile problems to the mailing list.
Comment 3 Florian Schanda 2004-01-26 11:03:15 UTC
Subject: Re:  Berkely DB <= 4.1 required? (Its hard to obtain Berkely DB <= 4.1 !)

On Sunday January 25 2004 18:45, Harald Fernengel wrote:
> the configure check is too stupid. Please send your config.log to me so I
> can check that.

Hi,

attached in my config.log.

Thanks for your time,

	Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAFOYNfCf8muQVS4cRAjQaAJ44jTXKfqJ3pmPurli109dcMhgwIQCaA2PZ
P8FGyBBbx2zudg7SviSNK6k=
=MwOE
-----END PGP SIGNATURE-----


Created an attachment (id=4351)
config.log.bz2
Comment 4 Harald Fernengel 2004-01-26 21:55:52 UTC
Just read the logfile:

conftest.cc: In function `int main()':conftest.cc:56: warning: 'db' might be used uninitialized in this function/usr/bin/../lib/libdb.so: undefined reference to `pthread_condattr_setpshared'/usr/bin/../lib/libdb.so: undefined reference to `pthread_mutexattr_destroy'/usr/bin/../lib/libdb.so: undefined reference to `pthread_mutexattr_setpshared'/usr/bin/../lib/libdb.so: undefined reference to `pthread_mutexattr_init'/usr/bin/../lib/libdb.so: undefined reference to `pthread_mutex_trylock'collect2: ld returned 1 exit status

your libdb.so contains unresolved references, it cannot be used by KDevelop. In future, please use the mailing-list to post build errors.

Harry