Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
21645fc0
Commit
21645fc0
authored
Nov 19, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't try to use unsupported DB versions.
parent
ef546b34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
Modules/Setup.dist
Modules/Setup.dist
+6
-1
setup.py
setup.py
+3
-9
No files found.
Modules/Setup.dist
View file @
21645fc0
...
...
@@ -396,7 +396,12 @@ GLHACK=-Dclear=__GLclear
# Sleepycat Berkeley DB interface.
#
# This requires the Sleepycat DB code, see http://www.sleepycat.com/
# The minimum supported version of that library is 3.0.
# The earliest supported version of that library is 3.0, the latest
# supported version is 4.0 (4.1 is specifically not supported, as that
# changes the semantics of transactional databases). A list of available
# releases can be found at
#
# http://www.sleepycat.com/update/index.html
#
# Edit the variables DB and DBLIBVERto point to the db top directory
# and the subdirectory of PORT where you built it.
...
...
setup.py
View file @
21645fc0
...
...
@@ -439,21 +439,15 @@ class PyBuildExt(build_ext):
# when sorted in reverse order, keys for this dict must appear in the
# order you wish to search - e.g., search for db4 before db3
db_try_this
=
{
'db4'
:
{
'libs'
:
(
'db-4.3'
,
'db-4.2'
,
'db-4.1'
,
'db-4.0'
),
'libdirs'
:
(
'/usr/local/BerkeleyDB.4.3/lib'
,
'/usr/local/BerkeleyDB.4.2/lib'
,
'/usr/local/BerkeleyDB.4.1/lib'
,
'/usr/local/BerkeleyDB.4.0/lib'
,
'db4'
:
{
'libs'
:
(
'db-4.0'
,),
'libdirs'
:
(
'/usr/local/BerkeleyDB.4.0/lib'
,
'/usr/local/lib'
,
'/usr/lib'
,
'/opt/sfw'
,
'/sw/lib'
,
'/lib'
,
),
'incdirs'
:
(
'/usr/local/BerkeleyDB.4.3/include'
,
'/usr/local/BerkeleyDB.4.2/include'
,
'/usr/local/BerkeleyDB.4.1/include'
,
'/usr/local/BerkeleyDB.4.0/include'
,
'incdirs'
:
(
'/usr/local/BerkeleyDB.4.0/include'
,
'/usr/local/include/db4'
,
'/opt/sfw/include/db4'
,
'/sw/include/db4'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment