I figured it out.  Sometimes you have to beat your head against a wall
  for a while before you see the obvious, or slightly obvious. 

The BerkeleyDB installed most (if not everything) into 
/usr/local/BerkeleyDB.../
directories.  I linked a few files that Cyrus was looking for, and it 
configured
without problem.  But what I found that Cyrus was wanting a couple of files
in /usr/local/include.   I created the symlinks to the 
BerkeleyDB.../include files,
and it compiled without a  problem.

One thing I noticed.  Cyrus has many more dependencies than was listed.  You
may want to include the additional dependencies in future versions of the
documentation.  (I'd be glad to send a list of what I can remember if 
desired.)

I hope this is coherent, I'm off to sleep now.

Paul

Paul Boniol wrote:

> It appears I am getting messages similar to a message I found in the 
> archives
> from May 13, 2000.  I have not been able to resolve it.  (Could it be 
> some
> sort of problem with it finding PostgreSQL files instead of BerkeleyDB?
> I have Postgre installed, and only added BerkeleyDB yesterday when I
> saw it in the Cyrus IMAP requirements.  Some files have the same name
> in different dirs...)

<snip>

> Here is the full list of errors when trying to compile imapd:
> make[1]: Entering directory `/usr/src/cyrus-imapd-2.0.12/lib'
> gcc -c -I.. -I/usr/local/include   -DHAVE_CONFIG_H -I. -I. -g -O2 \
> cyrusdb_db3.c
> cyrusdb_db3.c: In function `init':
> cyrusdb_db3.c:105: structure has no member named `set_paniccall'
> cyrusdb_db3.c:107: structure has no member named `set_verbose'
> cyrusdb_db3.c:107: `DB_VERB_DEADLOCK' undeclared (first use in this 
> function)
> cyrusdb_db3.c:107: (Each undeclared identifier is reported only once
> cyrusdb_db3.c:107: for each function it appears in.)
> cyrusdb_db3.c:108: structure has no member named `set_verbose'
> cyrusdb_db3.c:108: `DB_VERB_WAITSFOR' undeclared (first use in this 
> function)
> cyrusdb_db3.c:111: structure has no member named `set_verbose'
> cyrusdb_db3.c:111: `DB_VERB_CHKPOINT' undeclared (first use in this 
> function)
> cyrusdb_db3.c:113: structure has no member named `set_lk_detect'

<snip>

Reply via email to