Compile 2.2.12 in RHEL4

Marcelo Terres mhterres at gmail.com
Mon Sep 10 13:35:53 EDT 2007


Hi.

I need to compile Cyrus 2.2.12 in RHEL4, cause I need to use
autocreate and autosieve patches.

The platform is Opteron 64.

My configure line is:
./configure --prefix=/usr/local/cyrus --with-perl=/usr/bin/perl
--with-auth=unix --enable-murder --enable-listext
--enable-annotatemore --with-cyrus-user=cyrus --with-cyrus-group=mail
--with-syslogfacility=MAIL --with-pidfile=/var/run/cyrmaster.pid
--with-lock=fcntl --with-bdb=/usr/lib --with-bdb-libdir=/usr/lib
--with-bdb-incdir=/usr/include

Make depend works fine, but when I run make, I received the following errors:

In file included from mboxlist.c:75:
imap_err.h:65: warning: "struct et_list" declared inside parameter list
In file included from mupdate-client.h:47,
                 from mboxlist.c:79:
mupdate_err.h:20: warning: "struct et_list" declared inside parameter list
gcc -c -I.. -I./../lib  -I./../sieve -I/usr/include   -DHAVE_CONFIG_H   \
mupdate-client.c
In file included from mupdate-client.h:47,
                 from mupdate.h:56,
                 from mupdate-client.c:75:
mupdate_err.h:20: warning: "struct et_list" declared inside parameter list
mupdate_err.h:20: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from mupdate.h:57,
                 from mupdate-client.c:75:
mupdate_err.h:20: warning: "struct et_list" declared inside parameter list
mupdate_err.h:20: error: conflicting types for 'initialize_mupd_error_table_r'
mupdate_err.h:20: error: previous declaration of
'initialize_mupd_error_table_r' was here
mupdate_err.h:20: error: conflicting types for 'initialize_mupd_error_table_r'
mupdate_err.h:20: error: previous declaration of
'initialize_mupd_error_table_r' was here
In file included from mupdate-client.c:76:
mupdate_err.h:20: warning: "struct et_list" declared inside parameter list
mupdate_err.h:20: error: conflicting types for 'initialize_mupd_error_table_r'
mupdate_err.h:20: error: previous declaration of
'initialize_mupd_error_table_r' was here
mupdate_err.h:20: error: conflicting types for 'initialize_mupd_error_table_r'
mupdate_err.h:20: error: previous declaration of
'initialize_mupd_error_table_r' was here
make[1]: ** [mupdate-client.o] Erro 1
make[1]: Leaving directory `/home/mhterres/src/cyrus-imapd-2.2.12/imap'
make: ** [all] Erro 1


Any ideas ?

Thanks in advance,

-- 
Marcelo H. Terres
mhterres at gmail.com


More information about the Info-cyrus mailing list