Hello,
I am trying to install the Cyrus IMAP Server onto my mac, and am having some issues when i try to 'make' the software. Here is the info...
version of imapd: 2.2.3
version of libsasl: 2.1.18
system type: Dawrin socalbluebox.local. 6.0 Darwin Kernel Version 6.0: Sat Jul 27 13:18:52PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power Macintosh powerpc
the options i passed to ./configure: ./configure --build=powerpc-apple --withdbdir=/usr/local/BerkeleyDB.4.1 --with-sasl=/usr/local/lib/sasl2
the errors from make(This is what i dont understand and cant figure out...)(I have included all that make gave me, but the error i believe is in the last few lines):
[socalbluebox:/IMAP Stuff/cyrus-imapd-2.2.3] root# ./configure --build=powerpc-apple --with-dbdir=/usr/local/BerkeleyDB.4.1 --with-sasl=/usr/local/lib/sasl2
checking build system type... powerpc-apple-macos
checking host system type... powerpc-apple-macos
checking for makedepend... /IMAP Stuff/cyrus-imapd-2.2.3/tools/not-mkdep
configure: WARNING: Makedepend is not installed on this system. You should compile and install the version from the makedepend subdirectory.
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for __attribute__... yes
checking if compiler supports -fPIC... yes
checking for runpath switch... none
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for connect... yes
checking for res_search... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for vprintf... yes
checking for _doprnt... no
checking authorization method... unix
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-4.2... no
checking for db_create in -ldb4.2... no
checking for db_create in -ldb42... no
checking for db_create in -ldb-4.1... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for main in -lfl... yes
checking for library containing regcomp... none required
checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
checking for strerror... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for daemon... yes
checking for setsid... yes
checking for shutdown... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysnews.h usability... no
checking sys/sysnews.h presence... no
checking for sys/sysnews.h... no
checking for PS_STRINGS... yes
checking nonblocking method... fcntl
checking timezone GMT offset method... tm
checking for shared mmap... yes
checking for fcntl... yes
checking for fdatasync... no
checking for fdatasync in -lrt... no
checking for sigvec... yes
checking for RSAPublicEncrypt in -lrsaref... no
checking for BIO_accept in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for openssl... yes
checking for ZInitialize in -lzephyr... no
checking for com_err in -lcom_err... yes
checking for compile_et... no compile et
configure: WARNING: Parts of com_err distribuion were found, but not compile_et.
configure: WARNING: Will build com_err from included sources.
checking for modern syslog... yes
checking which syslog facility to use... LOG_LOCAL6
checking for getdtablesize... yes
checking to use old sieve service name... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for crypt... yes
configure: WARNING: The system type is not recognized. If you believe that CyberSafe GSSAPI works on this platform, please update the configure script
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking for res_search in -lresolv... no
checking for gss_unwrap in -lgssapi... no
checking for gss_unwrap in -lgssapi_krb5... yes
checking GSSAPI... with implementation mit
checking for res_search in -lresolv... (cached) no
checking for gsskrb5_register_acceptor_identity... no
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sasl/saslutil.h usability... yes
checking sasl/saslutil.h presence... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... yes
checking for perl... perl
checking for MD5Init... no
checking for MD5Init in -lmd... no
checking for request_init in -lwrap... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking libwrap support... yes
checking for yp_get_default_domain in -lnsl... no
checking for sprint_objid in -lsnmp... no
checking UCD SNMP libraries... no
configure: creating ./config.status
config.status: creating man/Makefile
config.status: creating master/Makefile
config.status: creating lib/Makefile
config.status: creating imap/Makefile
config.status: creating imtest/Makefile
config.status: creating netnews/Makefile
config.status: creating perl/Makefile
config.status: creating sieve/Makefile
config.status: creating et/Makefile
config.status: creating timsieved/Makefile
config.status: creating notifyd/Makefile
config.status: creating perl/sieve/Makefile
config.status: creating perl/sieve/lib/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
[socalbluebox:/IMAP Stuff/cyrus-imapd-2.2.3] root# make
### Making all in /IMAP Stuff/cyrus-imapd-2.2.3/man
make[1]: Nothing to be done for `all'.
### Making all in /IMAP Stuff/cyrus-imapd-2.2.3/et
make[1]: Nothing to be done for `all'.
### Making all in /IMAP Stuff/cyrus-imapd-2.2.3/lib
gcc -c -I.. -I./../et -I/usr/local/lib/sasl2/include -DHAVE_CONFIG_H -I. -I. -g -O2 \
cyrusdb_berkeley.c
cyrusdb_berkeley.c:90: undefined type, found `DB_ENV'
cyrusdb_berkeley.c:96: undefined type, found `DB_ENV'
cyrusdb_berkeley.c:137: undefined type, found `DB_ENV'
cyrusdb_berkeley.c:399: syntax error, found `0x80000000'
cyrusdb_berkeley.c:399: illegal function definition, found `)'
cyrusdb_berkeley.c:403: illegal external declaration, found `if'
cyrusdb_berkeley.c:405: illegal external declaration, missing `;' after `void'
cyrusdb_berkeley.c:409: illegal external declaration, missing `;' after `long'
cyrusdb_berkeley.c:419: illegal external declaration, missing `;' after `long'
cyrusdb_berkeley.c:421: illegal external declaration, missing `;' after `*'
cyrusdb_berkeley.c:524: undefined type, found `DBC'
cyrusdb_berkeley.c:874: illegal expression, found `)'
cyrusdb_berkeley.c:913: illegal expression, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
cyrusdb_berkeley.c:90: parse error before '*' token
cyrusdb_berkeley.c:90: warning: data definition has no type or storage class
cyrusdb_berkeley.c:96: parse error before '*' token
cyrusdb_berkeley.c:101: parse error before numeric constant
cyrusdb_berkeley.c:101: conflicting types for `exit'
/usr/include/stdlib.h:119: previous declaration of `exit'
cyrusdb_berkeley.c:101: warning: data definition has no type or storage class
cyrusdb_berkeley.c: In function `init':
cyrusdb_berkeley.c:119: warning: assignment makes pointer from integer without a cast
cyrusdb_berkeley.c:120: `DB_VERSION_MAJOR' undeclared (first use in this function)
cyrusdb_berkeley.c:120: (Each undeclared identifier is reported only once
cyrusdb_berkeley.c:120: for each function it appears in.)
cyrusdb_berkeley.c:120: `DB_VERSION_MINOR' undeclared (first use in this function)
cyrusdb_berkeley.c:121: `DB_VERSION_PATCH' undeclared (first use in this function)
cyrusdb_berkeley.c:130: `DB_RECOVER' undeclared (first use in this function)
cyrusdb_berkeley.c:130: `DB_CREATE' undeclared (first use in this function)
cyrusdb_berkeley.c:137: request for member `set_paniccall' in something not a structure or union
cyrusdb_berkeley.c:137: parse error before "DB_ENV"
cyrusdb_berkeley.c:137: `db_panic' undeclared (first use in this function)
cyrusdb_berkeley.c:139: request for member `set_verbose' in something not a structure or union
cyrusdb_berkeley.c:139: `DB_VERB_DEADLOCK' undeclared (first use in this function)
cyrusdb_berkeley.c:140: request for member `set_verbose' in something not a structure or union
cyrusdb_berkeley.c:140: `DB_VERB_WAITSFOR' undeclared (first use in this function)
cyrusdb_berkeley.c:143: request for member `set_verbose' in something not a structure or union
cyrusdb_berkeley.c:143: `DB_VERB_CHKPOINT' undeclared (first use in this function)
cyrusdb_berkeley.c:145: request for member `set_lk_detect' in something not a structure or union
cyrusdb_berkeley.c:145: `DB_LOCK_YOUNGEST' undeclared (first use in this function)
cyrusdb_berkeley.c:148: request for member `set_lk_max' in something not a structure or union
cyrusdb_berkeley.c:155: request for member `set_tx_max' in something not a structure or union
cyrusdb_berkeley.c:161: request for member `set_errcall' in something not a structure or union
cyrusdb_berkeley.c:163: request for member `set_errpfx' in something not a structure or union
cyrusdb_berkeley.c:177: `DB_INIT_LOCK' undeclared (first use in this function)
cyrusdb_berkeley.c:177: `DB_INIT_MPOOL' undeclared (first use in this function)
cyrusdb_berkeley.c:178: `DB_INIT_LOG' undeclared (first use in this function)
cyrusdb_berkeley.c:178: `DB_INIT_TXN' undeclared (first use in this function)
cyrusdb_berkeley.c:182: request for member `open' in something not a structure or union
cyrusdb_berkeley.c: In function `done':
cyrusdb_berkeley.c:221: request for member `close' in something not a structure or union
cyrusdb_berkeley.c: In function `mysync':
cyrusdb_berkeley.c:247: `DB_INCOMPLETE' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `myarchive':
cyrusdb_berkeley.c:272: `DB_ARCH_ABS' undeclared (first use in this function)
cyrusdb_berkeley.c:293: `DB_ARCH_DATA' undeclared (first use in this function)
cyrusdb_berkeley.c:321: `DB_ARCH_LOG' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `myopen':
cyrusdb_berkeley.c:348: `DB_CREATE' undeclared (first use in this function)
cyrusdb_berkeley.c:364: structure has no member named `open'
cyrusdb_berkeley.c:370: `DB_NOSYNC' undeclared (first use in this function)
cyrusdb_berkeley.c:370: too many arguments to function
cyrusdb_berkeley.c: In function `myclose':
cyrusdb_berkeley.c:390: `DB_NOSYNC' undeclared (first use in this function)
cyrusdb_berkeley.c:390: too many arguments to function
cyrusdb_berkeley.c: At top level:
cyrusdb_berkeley.c:399: parse error before numeric constant
cyrusdb_berkeley.c: In function `gettid':
cyrusdb_berkeley.c:403: `mytid' undeclared (first use in this function)
cyrusdb_berkeley.c:405: parse error before ')' token
cyrusdb_berkeley.c:406: `tid' undeclared (first use in this function)
cyrusdb_berkeley.c:406: parse error before ')' token
cyrusdb_berkeley.c:408: `where' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `myfetch':
cyrusdb_berkeley.c:435: `tid' undeclared (first use in this function)
cyrusdb_berkeley.c:451: warning: passing arg 4 of pointer to function makes integer from pointer without a cast
cyrusdb_berkeley.c:451: too many arguments to function
cyrusdb_berkeley.c:457: `DB_NOTFOUND' undeclared (first use in this function)
cyrusdb_berkeley.c:460: `DB_LOCK_DEADLOCK' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `fetchlock':
cyrusdb_berkeley.c:490: `DB_RMW' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `foreach':
cyrusdb_berkeley.c:524: `DBC' undeclared (first use in this function)
cyrusdb_berkeley.c:524: `cursor' undeclared (first use in this function)
cyrusdb_berkeley.c:526: `tid' undeclared (first use in this function)
cyrusdb_berkeley.c:546: structure has no member named `cursor'
cyrusdb_berkeley.c:554: `DB_SET_RANGE' undeclared (first use in this function)
cyrusdb_berkeley.c:556: `DB_FIRST' undeclared (first use in this function)
cyrusdb_berkeley.c:558: `DB_LOCK_DEADLOCK' undeclared (first use in this function)
cyrusdb_berkeley.c:584: structure has no member named `cursor'
cyrusdb_berkeley.c:586: `DB_SET' undeclared (first use in this function)
cyrusdb_berkeley.c:589: `DB_NEXT' undeclared (first use in this function)
cyrusdb_berkeley.c:592: `DB_NOTFOUND' undeclared (first use in this function)
cyrusdb_berkeley.c:614: structure has no member named `cursor'
cyrusdb_berkeley.c: In function `mystore':
cyrusdb_berkeley.c:671: `tid' undeclared (first use in this function)
cyrusdb_berkeley.c:701: warning: passing arg 4 of pointer to function makes integer from pointer without a cast
cyrusdb_berkeley.c:701: too many arguments to function
cyrusdb_berkeley.c:717: `DB_LOCK_DEADLOCK' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `create':
cyrusdb_berkeley.c:750: `DB_NOOVERWRITE' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `create_nosync':
cyrusdb_berkeley.c:766: `DB_NOOVERWRITE' undeclared (first use in this function)
cyrusdb_berkeley.c:767: `DB_TXN_NOSYNC' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `store_nosync':
cyrusdb_berkeley.c:775: `DB_TXN_NOSYNC' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `mydelete':
cyrusdb_berkeley.c:784: `tid' undeclared (first use in this function)
cyrusdb_berkeley.c:811: warning: passing arg 3 of pointer to function makes integer from pointer without a cast
cyrusdb_berkeley.c:811: too many arguments to function
cyrusdb_berkeley.c:826: `DB_LOCK_DEADLOCK' undeclared (first use in this function)
cyrusdb_berkeley.c:844: `DB_NOTFOUND' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `delete_nosync':
cyrusdb_berkeley.c:867: `DB_TXN_NOSYNC' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `mycommit':
cyrusdb_berkeley.c:874: `t' undeclared (first use in this function)
cyrusdb_berkeley.c:874: parse error before ')' token
cyrusdb_berkeley.c: In function `commit_nosync':
cyrusdb_berkeley.c:906: `DB_TXN_NOSYNC' undeclared (first use in this function)
cyrusdb_berkeley.c: In function `abort_txn':
cyrusdb_berkeley.c:913: `t' undeclared (first use in this function)
cyrusdb_berkeley.c:913: parse error before ')' token
make[1]: *** [cyrusdb_berkeley.o] Error 1
make: *** [all] Error 1
God Bless,
Scott Lacey
- Re: Cyrus Build Question... Scott Lacey
- Re: Cyrus Build Question... Sebastian Hagedorn