You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2012/08/09 15:21:00 UTC
[Bug 53684] New: Support Berkeley DB 5.2 and 5.3
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
Priority: P2
Bug ID: 53684
Assignee: bugs@apr.apache.org
Summary: Support Berkeley DB 5.2 and 5.3
Severity: normal
Classification: Unclassified
OS: Linux
Reporter: Arfrever.FTA@GMail.Com
Hardware: Other
Status: NEW
Version: HEAD
Component: APR-util
Product: APR
Created attachment 29196
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29196&action=edit
Support Berkeley DB 5.2 and 5.3
build/dbm.m4 (in APR trunk and APR-Util) should support Berkeley DB 5.2 and
5.3. I attach the patch.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
--- Comment #5 from Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> ---
[ ] is a quoting operator in Autoconf, so the following lines do not work:
while [ $version -ge 40 ]
while [ $version -ge 41 ]
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #4 from Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> ---
The fix does not work for me.
$ ./configure --with-dbm=db52 --with-berkeley-db=/usr/include/db5.2:/usr/lib64
...
./configure: line 29729: -ge: command not found
./configure: command substitution: line 33827: unexpected EOF while looking for
matching `''
./configure: command substitution: line 33828: syntax error: unexpected end of
file
./configure: command substitution: line 33828: unexpected EOF while looking for
matching `''
./configure: command substitution: line 33829: syntax error: unexpected end of
file
checking for Berkeley DB . in /usr/include/db5.2 and /usr/lib64...
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db/db.h usability... no
checking db/db.h presence... no
checking for db/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
configure: error: Berkeley db not found
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> ---
It seems to work now.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Rainer Jung <ra...@kippdata.de> ---
I committed my patch to apr trunk (r1371818) and apr-util 1.5 head (r1371820).
Since the first 1.5 release is expected soon, I'm not planning to port the
change back to 1.4.x.
Thanks for the heads up.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
Created attachment 29203
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29203&action=edit
Reduce copy and paste in Berkeley DB tests
Can you please check this alternative implementation. It is based on apr trunk.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rainer.jung@kippdata.de
--- Comment #3 from Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> ---
APU_CHECK_DB_ALL contains:
# Start version search at version 5.9
version=59
APU_CHECK_DBM contains:
db_max_version=53
For consistency, both numbers could be 59.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
--- Comment #7 from Arfrever Frehtes Taifersar Arahesis <Ar...@GMail.Com> ---
Comment #4 mentioned some syntax errors in lines 33827-33829. The following
should fix them:
--- build/dbm.m4
+++ build/dbm.m4
@@ -425,8 +425,8 @@
fi
;;
db[[45]] | db[[45]][[0-9]])
- db_major=`echo "$requested" | sed -e 's/db//' -e 's/.$//`
- db_minor=`echo "$requested" | sed -e 's/db//' -e 's/.//`
+ db_major=`echo "$requested" | sed -e 's/db//' -e 's/.$//'`
+ db_minor=`echo "$requested" | sed -e 's/db//' -e 's/.//'`
APU_CHECK_DBXY("$check_places", "$db_major", "$db_minor")
if test "$apu_db_version" != "$db_major"; then
AC_MSG_ERROR(Berkeley db$db_major not found)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
--- Comment #6 from Rainer Jung <ra...@kippdata.de> ---
Big Oups, I committed a preliminary version not the final one.
Should be fixed now, r1371919 in apr trunk and r1371920 in apr-util 1.5.x.
Sorry for the inconvenience.
Rainer
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 53684] Support Berkeley DB 5.2 and 5.3
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53684
--- Comment #8 from Rainer Jung <ra...@kippdata.de> ---
Fixed in r1371923 resp r1371924.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org