[Python-bugs-list] [ python-Bugs-483653 ] bsddb is not built on RedHat 7.2
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 21 Nov 2001 03:18:45 -0800
Bugs item #483653, was opened at 2001-11-19 18:41
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=483653&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Martin v. Löwis (loewis)
Summary: bsddb is not built on RedHat 7.2
Initial Comment:
Build of bsddb fails under RedHat 7.2 because the
appropriate library to link against is
libdb-3.2.so which is not checked for by
the setup.py script. The fix is trivial
and attached along with this message.
raj
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-11-20 09:33
Message:
Logged In: NO
Here is the patch to setup.py:
--- cut from here ----
*** setup.py Mon Nov 19 21:41:45 2001
--- setup.py.orig Mon Nov 19 21:41:06 2001
***************
*** 390,398 ****
# Berkeley DB 3.x.)
dblib = []
! if self.compiler.find_library_file(lib_dirs,
'db-3.2'):
! dblib = ['db-3.2']
! elif self.compiler.find_library_file(lib_dirs,
'db-3.1'):
dblib = ['db-3.1']
elif self.compiler.find_library_file(lib_dirs,
'db3'):
dblib = ['db3']
--- 390,396 ----
# Berkeley DB 3.x.)
dblib = []
! if self.compiler.find_library_file(lib_dirs,
'db-3.1'):
dblib = ['db-3.1']
elif self.compiler.find_library_file(lib_dirs,
'db3'):
dblib = ['db3']
--- cut to here ----
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2001-11-20 08:59
Message:
Logged In: YES
user_id=21627
There's no uploaded file! You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.
Please try again.
(This is a SourceForge annoyance that we can do
nothing about. :-( )
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=483653&group_id=5470