Created
October 12, 2011 11:22
-
-
Save danieldk/1280960 to your computer and use it in GitHub Desktop.
Build DBXML against Berkeley DB 5.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- dbxml-2.5.16/dbxml/configure.orig 2011-10-12 13:14:17.000000000 +0200 | |
+++ dbxml-2.5.16/dbxml/configure 2011-10-12 13:18:28.000000000 +0200 | |
@@ -2656,10 +2656,10 @@ | |
DB_UTIL_PATH="<replace_with:_path_to_db_build>/build_unix" | |
# Check for a DB install tree | |
-if test `ls "$with_berkeleydb"/lib/libdb-*.la 2>/dev/null | wc -l` -gt 0 ; then | |
+if test `ls "$with_berkeleydb"/lib/libdb-5.3*.a 2>/dev/null | wc -l` -gt 0 ; then | |
{ echo "$as_me:$LINENO: checking for Berkeley DB version from install tree" >&5 | |
echo $ECHO_N "checking for Berkeley DB version from install tree... $ECHO_C" >&6; } | |
- db_version=`ls "$with_berkeleydb"/lib/libdb-*.la | sed 's/.*db-\(.*\).la/\1/'` | |
+ db_version=`ls "$with_berkeleydb"/lib/libdb-5.3*.a | sed 's/.*db-\(.*\).a/\1/'` | |
{ echo "$as_me:$LINENO: result: $db_version" >&5 | |
echo "${ECHO_T}$db_version" >&6; } | |
@@ -2746,7 +2746,7 @@ | |
{ (exit 1); exit 1; }; } | |
fi | |
-if test "$db_version" != "4.3" && test "$db_version" != "4.4" && test "$db_version" != "4.5" && test "$db_version" != "4.6" && test "$db_version" != "4.7" && test "$db_version" != "4.8"; then | |
+if test "$db_version" != "4.3" && test "$db_version" != "4.4" && test "$db_version" != "4.5" && test "$db_version" != "4.6" && test "$db_version" != "4.7" && test "$db_version" != "4.8" && test "$db_version" != "5.3"; then | |
{ { echo "$as_me:$LINENO: error: $with_berkeleydb is version $db_version, which is not a supported version of Berkeley DB. The version must be at least 4.3" >&5 | |
echo "$as_me: error: $with_berkeleydb is version $db_version, which is not a supported version of Berkeley DB. The version must be at least 4.3" >&2;} | |
{ (exit 1); exit 1; }; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment