Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 1998 22:50:51 +0100
From:      Palle Girgensohn <girgen@partitur.se>
To:        info-cyrus@andrew.cmu.edu, ports@FreeBSD.ORG
Subject:   Cyrus mail server compile mystery on freebsd 
Message-ID:  <350D9EBB.4497A3DF@partitur.se>

next in thread | raw e-mail | index | archive | help
Hello,

I am trying to install the cyrus mail server from the FreeBSD ports
collection.

It compiled fine at my FreeBSD Stable-2.2.5 box at home. I tried at our
three months older FreeBSD Stable-2.2.5 at office. It halted halfway
through compilation, complaining about dbopen and db...->get calls. Odd,
I though. I upgraded the office machine to a fresh Stable (thursday,
March 12th), two weeks younger than the home machine this time. This
shouldn't matter, and it didn't... I *think* I have very similar setups
regarding software, but apparently not similar enough. Can someone help
me out with this. Here's what happens:

cc -c -I. -I. -I./../lib -I./../et  -I/usr/local/include
-DSTATEDIR=\"/var\" -DHAVE_LONG_FILE_NAMES=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_SELECT_H=1 -DHAVE_MEMMOVE=1 -DHAVE_STRCASECMP=1
-DHAVE_FTRUNCATE=1 -DHAVE_STRERROR=1 -DHAVE_DIRENT_H=1 -DHAVE_VPRINTF=1
-DHAS_STRERROR=1 -DSPT_TYPE=SPT_BUILTIN -DHAVE_LIBCRYPT=1
-DHAVE_GETDTABLESIZE=1 -DHAVE_LIBDB=1 
-DCONFIG_FILENAME=\"/usr/local/etc/imapd.conf\" -O2 -m486 -pipe
deliver.c
deliver.c: In function `checkdelivered':
deliver.c:938: warning: assignment makes pointer from integer without a
cast
deliver.c:951: warning: passing arg 2 from incompatible pointer type
deliver.c:951: too few arguments to function
deliver.c: In function `markdelivered':
deliver.c:1019: warning: passing arg 2 from incompatible pointer type
deliver.c:1019: too few arguments to function
deliver.c: In function `prunedelivered':
deliver.c:1086: `R_FIRST' undeclared (first use this function)
deliver.c:1086: (Each undeclared identifier is reported only once
deliver.c:1086: for each function it appears in.)
deliver.c:1088: structure has no member named `seq'
deliver.c:1089: `R_NEXT' undeclared (first use this function)
deliver.c:1105: warning: passing arg 2 from incompatible pointer type
deliver.c:1105: too few arguments to function
deliver.c:1107: too few arguments to function
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


The cc line is identical to the working one at home, apart from the -O
and 486 stuff, but I've tried without that as well. I have tried
installing gdbm (from ports collection) but to no avail. A diff on the
two deliver.c:s reveales nothing.

I can send you more information if you want. Here's the succeeding lines
from home:

cc  -o updateimsp updateimsp.o libimap.a  ../et/libcom_err.a
../lib/libcyrus.a -lcrypt  -lutil
cc -c -I. -I. -I./../lib -I./../et  -I/usr/local/include
-DSTATEDIR=\"/var\" -DHAVE_LONG_FILE_NAMES=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_SELECT_H=1 -DHAVE_MEMMOVE=1 -DHAVE_STRCASECMP=1
-DHAVE_FTRUNCATE=1 -DHAVE_STRERROR=1 -DHAVE_DIRENT_H=1 -DHAVE_VPRINTF=1
-DHAS_STRERROR=1 -DSPT_TYPE=SPT_BUILTIN -DHAVE_LIBCRYPT=1
-DHAVE_GETDTABLESIZE=1 -DHAVE_LIBDB=1 
-DCONFIG_FILENAME=\"/usr/local/etc/imapd.conf\" -O deliver.c
cc  -o deliver deliver.o libimap.a  ../et/libcom_err.a ../lib/libcyrus.a
-lcrypt  -lutil


TIA
/Palle

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?350D9EBB.4497A3DF>