Trouble with Cyrus2.2
Christopher Riordan
cpr+cyrus at hal-9000.net
Fri Jan 17 06:53:19 EST 2003
./configure --with-cyrus-prefix=/usr/local --with-cyrus-group=cyrus --with-
sasl=/usr/local --with-auth=unix --with-com_err --with-dbdir=/usr/local/Berk
eleyDB.4.0 --enable-fulldirhash --enable-listext --enable-annotatemore --en
able-netscapehack --with-cyrus-user=cyrus --with-cyrus-group=cyrus --with-op
enssl --with-idle=poll
--with-dbdir=/usr/local/BerkeleyDB.4.1
Running FreeBSD 4.7
Below is what I'm getting when trying to compile.
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 imapurl.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 nonblock_fcntl.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 lock_fcntl.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 gmtoff_tm.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 map_shared.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 acl_afs.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 auth_unix.c
gcc -c -I.. -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -I.
-I. -Wall -g -O2 cyrusdb_berkeley.c
cyrusdb_berkeley.c:86: syntax error before `*'
cyrusdb_berkeley.c:86: warning: type defaults to `int' in declaration of
`dbenv'
cyrusdb_berkeley.c:86: warning: data definition has no type or storage class
cyrusdb_berkeley.c:92: syntax error before `*'
cyrusdb_berkeley.c:97: syntax error before `75'
cyrusdb_berkeley.c:97: warning: type defaults to `int' in declaration of
`exit'
cyrusdb_berkeley.c:97: conflicting types for `exit'
/usr/include/stdlib.h:96: previous declaration of `exit'
cyrusdb_berkeley.c:97: warning: data definition has no type or storage class
cyrusdb_berkeley.c:85: warning: `dbinit' defined but not used
cyrusdb_berkeley.c:89: warning: `commit_txn' declared `static' but never
defined
cyrusdb_berkeley.c:90: warning: `abort_txn' declared `static' but never
defined
*** Error code 1
Stop in /usr/local/src/cyrus/cyrus-imapd-2_2/lib.
*** Error code 1
here is the output from Configure line above
checking build system type... i386-unknown-freebsdelf4.7
checking host system type... i386-unknown-freebsdelf4.7
checking for makedepend... makedepend
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 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 AIX... no
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for __attribute__... yes
checking for runpath switch... -R
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... no
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 for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 for connect... yes
checking for res_search... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_create in -ldb-4.1... no
checking for db_create in -ldb4.1... no
checking for db_create in -ldb-4.0... no
checking for db_create in -ldb4.0... no
checking for db_create in -ldb-4... no
checking for db_create in -ldb4... yes
checking "duplicate db" database backend... berkeley_nosync
checking "mboxlist" database backend... skiplist
checking "seen state" database backend... skiplist
checking "pts" database backend... berkeley
checking "subscription" database backend... flat
checking "TLS cache" database backend... berkeley_nosync
checking "netnews db" database backend... berkeley
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 setproctitle... 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 authorization method... unix
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 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... yes
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 perl5... perl5
checking for MD5Init... no
checking for MD5Init in -lmd... yes
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 imap/feedcyrus
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
Any help will be grateful
Christopher Riordan
http://www.hal-9000.net
More information about the Info-cyrus
mailing list