View Single Post
  #4 (permalink)  
Old 02-28-2003
christoph christoph is offline
Registered User
 
Name: C
Organization: A
Project: none
 
Join Date: Feb 2003
Location: Stuttgart, Germany
Posts: 4
Hello,

I just fixed the problem mit db-4.1.25

dbEnv->open() in src/Freeze/DBI.cpp line 166 always returned 22 (EINVAL).

This was due to the configure option "--enable-posixmutexes".
After configuring Berkeley DB with
--enable-cxx --enable-java -enable-rpc --enable-tcl --with-tcl=/usr/lib/ --enable-test
everything works as expected.

An remark to the previous posting:
I compared the header files (db.h) from db 4.0.14 and 4.1.25 and found that ~25 error codes have changed.
To avoid similiar problems it might be a good idea to encourage everyone to compile Ice.jar for their platform.

Christoph
Reply With Quote