mozart wrote:
Quote:
I am migrating this application to FC4 (linux). I have dbd version 4.3
here.
As I migrated, I earlier got comilation error on DB->open(). Looks like
an extra (transid)
argument has been added to DB-open() in newer bdb version. After
adding the extra arg (second), it fails now with EINVAL error. |
The additional transactional argument was added to the Db.open method
in the Berkeley DB 4.1 release. For details, please see:
http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
There are specific upgrade instructions for each Berkeley DB release,
and
I would suggest reviewing them for the releases between 4.0 and 4.3.
For
more information, please see Chapter 28 of the Berkeley DB Reference
Guide, included in your download package and also available at:
http://www.sleepycat.com/docs/ref/toc.html
Finally, the Berkeley DB library optionally outputs a verbose error
message whenever it is about to return a general-purpose error,
or throw a non-specific exception. Whenever it is not clear why
an application call into Berkeley DB is failing, the first step
is always to turn on verbose error messages, which will almost
always explain the problem. For more information on turning on
verbose error messages, please see the "Run-time error
information" section of the Berkeley DB Reference Guide,
included in your download package and also available at:
http://www.sleepycat.com/docs/ref/debug/runtime.html
Regards,
--keith
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic bostic (AT) sleepycat (DOT) com
Sleepycat Software Inc. keithbosticim (Yahoo IM)
118 Tower Rd. +1-781-259-3139
Lincoln, MA 01773 http://www.sleepycat.com