Trying to compile cyrus-imapd v2.2.3 on a RH8 system. It is not currently installed (i.e. no upgrade). I am running Postfix and Cyrus-SASL for authentication. I can do a configure and a make depend (see output below). However, when I do a make all I get the following:

ERROR:
----------------------------------------------
[EMAIL PROTECTED] cyrus-imapd-2.2.3]# make all CFLAGS=-O
### Making all in /tmp/cyrus-imapd-2.2.3/man
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/man'
./../tools/config2man ./../lib/imapoptions > imapd.conf.5
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/man'
### Making all in /tmp/cyrus-imapd-2.2.3/lib
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/lib'
gcc -c -I..     -DHAVE_CONFIG_H  -I. -I. -O \
libconfig.c
libconfig.c:52:21: com_err.h: No such file or directory
make[1]: *** [libconfig.o] Error 1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/lib'
make: *** [all] Error 1
[EMAIL PROTECTED] cyrus-imapd-2.2.3]#
----------------------------------------------


Any ideas? Please see below for the PREREQUISITES I have installed and the output from the configure and make depend.



---------------------------------------------- PREREQUISITES FOR CYRUS-IMAPD: ---------------------------------------------- libsasl: (Note: sasl2 is being used) cyrus-sasl-gssapi-2.1.10-2foo cyrus-sasl-md5-2.1.10-2foo cyrus-sasl-2.1.10-2foo cyrus-sasl-plain-2.1.10-2foo cyrus-sasl-devel-2.1.10-2foo

Berkeley DB:
db4-4.0.14-14

GNU Make:
make-3.79.1-14

makedepend:
default RH8 version

Perl:
perl-5.8.0-88.3

Postfix:
postfix-2.0.18


OUTPUT FROM COMPILATION ATTEMPT: ---------------------------------------------- [EMAIL PROTECTED] cyrus-imapd-2.2.3]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 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... gawk 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... -Wl,-rpath, 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... no checking for strlcpy... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for connect... yes checking for res_search... no checking for res_search in -lresolv... 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... no 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... no checking for db_create in -ldb4.1... no checking for db_create in -ldb41... no checking for db_create in -ldb-4.0... 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... no checking for SCO... no checking for setproctitle usability... yes checking nonblocking method... fcntl checking timezone GMT offset method... tm checking for shared mmap... yes checking for fcntl... yes checking for fdatasync... yes 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... /usr/bin/compile_et 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 for crypt... no checking for crypt in -lcrypt... yes checking gssapi.h usability... no checking gssapi.h presence... no checking for gssapi.h... no checking gssapi/gssapi.h usability... no checking gssapi/gssapi.h presence... no checking for gssapi/gssapi.h... no configure: WARNING: Disabling GSSAPI - no include files found checking GSSAPI... disabled 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... yes 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 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 [EMAIL PROTECTED] cyrus-imapd-2.2.3]#

[EMAIL PROTECTED] cyrus-imapd-2.2.3]# make depend
### Making depend in /tmp/cyrus-imapd-2.2.3/man
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/man'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/man'
### Making depend in /tmp/cyrus-imapd-2.2.3/lib
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/lib'
makedepend -I.. -DHAVE_CONFIG_H -I. -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/lib'
### Making depend in /tmp/cyrus-imapd-2.2.3/sieve
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/sieve'
makedepend -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -I. -g -O2 *.c *.y ./*.y ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/sieve'
### Making depend in /tmp/cyrus-imapd-2.2.3/master
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/master'
makedepend -I. -I.. -I. -I./../lib -DHAVE_CONFIG_H -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/master'
### Making depend in /tmp/cyrus-imapd-2.2.3/imap
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/imap'
makedepend -I. -I.. -I. -I./../lib -I./../sieve -I./../sieve -DHAVE_CONFIG_H -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/imap'
### Making depend in /tmp/cyrus-imapd-2.2.3/imtest
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/imtest'
makedepend -I. -I.. -I. -I./../lib -I./../et -DHAVE_CONFIG_H -g *.c ./*.c 1> makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/imtest'
### Making depend in /tmp/cyrus-imapd-2.2.3/perl
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/perl'
### Making depend in /tmp/cyrus-imapd-2.2.3/perl/sieve
make[2]: Entering directory `/tmp/cyrus-imapd-2.2.3/perl/sieve'
### Making depend in /tmp/cyrus-imapd-2.2.3/perl/sieve/lib
make[3]: Entering directory `/tmp/cyrus-imapd-2.2.3/perl/sieve/lib'
makedepend -I. -I../../.. -I. -I./../../../lib -DHAVE_CONFIG_H -Dbool=char -DHAS_BOOL -g *.c ./*.c 1> makedepend.log 2>&1
make[3]: Leaving directory `/tmp/cyrus-imapd-2.2.3/perl/sieve/lib'
echo '/^# DO NOT DELETE THIS LINE/+2,$d' >eddep
echo 'w' >>eddep
cp Makefile Makefile.bak
ed -s Makefile < eddep
rm eddep
echo '' >> Makefile
echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
echo '# see make depend above' >> Makefile
make[2]: Leaving directory `/tmp/cyrus-imapd-2.2.3/perl/sieve'
echo '/^# DO NOT DELETE THIS LINE/+2,$d' >eddep
echo 'w' >>eddep
cp Makefile Makefile.bak
ed -s Makefile < eddep
rm eddep
echo '' >> Makefile
echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
echo '# see make depend above' >> Makefile
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/perl'
### Making depend in /tmp/cyrus-imapd-2.2.3/timsieved
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/timsieved'
makedepend -I. -I.. -I../sieve/ -I. -I./../sieve -I./../imap -I./../lib -DHAVE_CONFIG_H -I. -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/timsieved'
### Making depend in /tmp/cyrus-imapd-2.2.3/notifyd
make[1]: Entering directory `/tmp/cyrus-imapd-2.2.3/notifyd'
makedepend -I. -I.. -I../sieve/ -I. -I./../sieve -I./../imap -I./../lib -DHAVE_CONFIG_H -I. -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/tmp/cyrus-imapd-2.2.3/notifyd'
echo '/^# DO NOT DELETE THIS LINE/+2,$d' >eddep
echo 'w' >>eddep
cp Makefile Makefile.bak
ed -s Makefile < eddep
rm eddep
echo '' >> Makefile
echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
echo '# see make depend above' >> Makefile
[EMAIL PROTECTED] cyrus-imapd-2.2.3]#
----------------------------------------------
End output.



If anyone can help or has ideas of what is wrong I would greatly appreciate some guidance!


Thanks,

trichard

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to