免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1361 | 回复: 0
打印 上一主题 下一主题

[Mail] cyrus-imap 安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-08 10:01 |只看该作者 |倒序浏览
cp et/com_err.h /usr/include/
cp:是否覆盖“/usr/include/com_err.h”? y
[root@localhost cyrus-imapd-2.3.8]# make depend
### Making depend in /servers/cyrus-imapd-2.3.8/man
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/man'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/man'
### Making depend in /servers/cyrus-imapd-2.3.8/lib
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/lib'
makedepend -I..     -DHAVE_CONFIG_H  -I. -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/lib'
### Making depend in /servers/cyrus-imapd-2.3.8/sieve
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/sieve'
makedepend -I.. -I./../lib     -DHAVE_CONFIG_H  -I. -g -O2 *.c *.y ./*.y ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/sieve'
### Making depend in /servers/cyrus-imapd-2.3.8/master
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/master'
makedepend -I.. -I./../lib -I./../imap    -DHAVE_CONFIG_H  -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/master'
### Making depend in /servers/cyrus-imapd-2.3.8/imap
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/imap'
makedepend -I.. -I./../lib  -I./../sieve    -DHAVE_CONFIG_H  -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/imap'
### Making depend in /servers/cyrus-imapd-2.3.8/imtest
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/imtest'
makedepend -I.. -I./../lib      -DHAVE_CONFIG_H  -g -O2 *.c ./*.c 1> makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/imtest'
### Making depend in /servers/cyrus-imapd-2.3.8/perl
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/perl'
### Making depend in /servers/cyrus-imapd-2.3.8/perl/sieve
make[2]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve'
### Making depend in /servers/cyrus-imapd-2.3.8/perl/sieve/lib
make[3]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve/lib'
makedepend -I. -I../../.. -I. -I./../../../lib     -DHAVE_CONFIG_H  -Dbool=char -DHAS_BOOL -g -O2 *.c ./*.c 1> makedepend.log 2>&1
make[3]: Leaving directory `/servers/cyrus-imapd-2.3.8/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 `/servers/cyrus-imapd-2.3.8/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 `/servers/cyrus-imapd-2.3.8/perl'
### Making depend in /servers/cyrus-imapd-2.3.8/timsieved
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/timsieved'
makedepend -I.. -I./../sieve -I./../imap -I./../lib     -DHAVE_CONFIG_H  -I. -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/timsieved'
### Making depend in /servers/cyrus-imapd-2.3.8/notifyd
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/notifyd'
makedepend -I.. -I./../sieve -I./../imap -I./../lib     -DHAVE_CONFIG_H  -I. -g -O2 *.c ./*.c 1>makedepend.log 2>&1
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/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
[root@localhost cyrus-imapd-2.3.8]# make all CFLAGS=-O
### Making all in /servers/cyrus-imapd-2.3.8/man
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/man'
### Making all in /servers/cyrus-imapd-2.3.8/lib
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/lib'
### Making all in /servers/cyrus-imapd-2.3.8/sieve
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/sieve'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/sieve'
### Making all in /servers/cyrus-imapd-2.3.8/master
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/master'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/master'
### Making all in /servers/cyrus-imapd-2.3.8/imap
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/imap'
rm -f version.o
AWK=gawk ./xversion.sh
gcc -c -I.. -I./../lib  -I./../sieve    -DHAVE_CONFIG_H  -O \
        version.c
In file included from ./../sieve/sieve_interface.h:37,
                 from version.c:68:
./../sieve/sieve_err.h:19: 警告:‘struct et_list’ 在形参表内部声明
gcc  -o imapd \
         ../master/service.o pushstats.o imapd.o proxy.o imap_proxy.o index.o version.o mutex_fake.o \
        libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a  -lsasl2  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lresolv -lssl -lcrypto   -lresolv -lfl  -lresolv   -ldb-4.3  -lcom_err -lwrap -lnsl
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/imap'
### Making all in /servers/cyrus-imapd-2.3.8/imtest
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/imtest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/imtest'
### Making all in /servers/cyrus-imapd-2.3.8/perl
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/perl'
### Making all in /servers/cyrus-imapd-2.3.8/perl/imap
Writing Makefile for Cyrus::IMAP
make[2]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/imap'
gcc -c  -I../../lib -I../.. -I../../et   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE IMAP.c
IMAP.xs: 在函数 ‘imclient_xs_cb’ 中:
IMAP.xs:141: 警告:格式 ‘%d’ 需要类型 ‘int’,但实参 5 的类型为 ‘long int’
IMAP.xs:118: 警告:未使用的变量 ‘targ’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP_new’ 中:
IMAP.c:324: 警告:未使用的变量 ‘RETVAL’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP_flags’ 中:
IMAP.c:500: 警告:未使用的变量 ‘targ’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP__authenticate’ 中:
IMAP.c:591: 警告:未使用的变量 ‘RETVAL’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP__starttls’ 中:
IMAP.c:674: 警告:未使用的变量 ‘RETVAL’
IMAP.xs:443: 警告:未使用的变量 ‘tls_layer’
Running Mkbootstrap for Cyrus::IMAP ()
chmod 644 IMAP.bs
rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib IMAP.o  -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a ../../lib/libcyrus_min.a       \
           -ldb-4.3 -lsasl2 -lssl -lcrypto      \
         
chmod 755 blib/arch/auto/Cyrus/IMAP/IMAP.so
cp IMAP.bs blib/arch/auto/Cyrus/IMAP/IMAP.bs
chmod 644 blib/arch/auto/Cyrus/IMAP/IMAP.bs
cp cyradm blib/script/cyradm
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cyradm
Manifying blib/man1/cyradm.1
Manifying blib/man3/Cyrus::IMAP::Admin.3pm
Manifying blib/man3/Cyrus::IMAP::Shell.3pm
Manifying blib/man3/Cyrus::IMAP.3pm
Manifying blib/man3/Cyrus::IMAP::IMSP.3pm
make[2]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/imap'
### Making all in /servers/cyrus-imapd-2.3.8/perl/sieve
make[2]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve'
### Making all in /servers/cyrus-imapd-2.3.8/perl/sieve/lib
make[3]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/sieve/lib'
### Making all in /servers/cyrus-imapd-2.3.8/perl/sieve/managesieve
Writing Makefile for Cyrus::SIEVE::managesieve
make[3]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve/managesieve'
gcc -c  -I../lib/ -I../../../lib/   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE managesieve.c
managesieve.xs: 在函数 ‘constant’ 中:
managesieve.xs:89: 警告:标号 ‘not_there’ 定义后未使用
managesieve.c: 在函数 ‘XS_Cyrus__SIEVE__managesieve_sieve_get_handle’ 中:
managesieve.c:244: 警告:未使用的变量 ‘RETVAL’
managesieve.xs:225: 警告:未使用的变量 ‘saslconn’
managesieve.xs:224: 警告:未使用的变量 ‘sock’
managesieve.c: 在函数 ‘XS_Cyrus__SIEVE__managesieve_sieve_logout’ 中:
managesieve.c:405: 警告:未使用的变量 ‘targ’
managesieve.c:404: 警告:未使用的变量 ‘RETVAL’
managesieve.c: 在顶层:
managesieve.xs:73: 警告:‘not_here’ 定义后未使用
managesieve.xs:82: 警告:‘constant’ 定义后未使用
Running Mkbootstrap for Cyrus::SIEVE::managesieve ()
chmod 644 managesieve.bs
rm -f blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib managesieve.o  -o blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.so ../lib/isieve.o ../lib/lex.o ../lib/mystring.o ../lib/request.o ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a      \
           -ldb-4.3 -lsasl2 -lssl -lcrypto      \
         
chmod 755 blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.so
cp managesieve.bs blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.bs
chmod 644 blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.bs
Manifying blib/man3/Cyrus::SIEVE::managesieve.3pm
make[3]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/sieve/managesieve'
make[2]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/sieve'
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl'
### Making all in /servers/cyrus-imapd-2.3.8/timsieved
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/timsieved'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/timsieved'
### Making all in /servers/cyrus-imapd-2.3.8/notifyd
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/notifyd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/notifyd'
[root@localhost cyrus-imapd-2.3.8]# make install
./
Writing /usr/local/cyrus/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Cyrus/IMAP/.packlist
Appending installation info to /usr/local/cyrus/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
make[2]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/imap'
### Making install in /servers/cyrus-imapd-2.3.8/perl/sieve
make[2]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve'
for s in installsieve sieveshell; \
        do \
                /usr/bin/install -c -m 755 scripts/$s.pl /usr/local/cyrus/bin/$s ; \
        done
### Making install in /servers/cyrus-imapd-2.3.8/perl/sieve/lib
make[3]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve/lib'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/sieve/lib'
### Making install in /servers/cyrus-imapd-2.3.8/perl/sieve/managesieve
make[3]: Entering directory `/servers/cyrus-imapd-2.3.8/perl/sieve/managesieve'
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/local/cyrus/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Cyrus/SIEVE/managesieve/.packlist
Appending installation info to /usr/local/cyrus/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
make[3]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/sieve/managesieve'
make[2]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl/sieve'
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/perl'
### Making install in /servers/cyrus-imapd-2.3.8/timsieved
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/timsieved'
/usr/bin/install -c -m 755 timsieved /usr/cyrus/bin
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/timsieved'
### Making install in /servers/cyrus-imapd-2.3.8/notifyd
make[1]: Entering directory `/servers/cyrus-imapd-2.3.8/notifyd'
/usr/bin/install -c -m 755 notifyd /usr/cyrus/bin
make[1]: Leaving directory `/servers/cyrus-imapd-2.3.8/notifyd'
[root@localhost cyrus-imapd-2.3.8]# cd perl/
[root@localhost perl]# cd imap
[root@localhost imap]# ls
blib     cyradm     Cyrus     IMAP.bs  IMAP.pm   Makefile.PL  README   xsutil.c
Changes  cyradm.sh  examples  IMAP.c   IMAP.xs   MANIFEST     t
CVS      cyrperl.h  IMAP      IMAP.o   Makefile  pm_to_blib   typemap
[root@localhost imap]# perl Makefile.PL
Writing Makefile for Cyrus::IMAP
[root@localhost imap]# make install
gcc -c  -I../../lib -I../.. -I../../et   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DPERL_POLLUTE IMAP.c
IMAP.xs: 在函数 ‘imclient_xs_cb’ 中:
IMAP.xs:141: 警告:格式 ‘%d’ 需要类型 ‘int’,但实参 5 的类型为 ‘long int’
IMAP.xs:118: 警告:未使用的变量 ‘targ’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP_new’ 中:
IMAP.c:324: 警告:未使用的变量 ‘RETVAL’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP_flags’ 中:
IMAP.c:500: 警告:未使用的变量 ‘targ’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP__authenticate’ 中:
IMAP.c:591: 警告:未使用的变量 ‘RETVAL’
IMAP.c: 在函数 ‘XS_Cyrus__IMAP__starttls’ 中:
IMAP.c:674: 警告:未使用的变量 ‘RETVAL’
IMAP.xs:443: 警告:未使用的变量 ‘tls_layer’
Running Mkbootstrap for Cyrus::IMAP ()
chmod 644 IMAP.bs
rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib IMAP.o  -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a ../../lib/libcyrus_min.a       \
           -lsasl2 -lssl -lcrypto       \
         
chmod 755 blib/arch/auto/Cyrus/IMAP/IMAP.so
cp IMAP.bs blib/arch/auto/Cyrus/IMAP/IMAP.bs
chmod 644 blib/arch/auto/Cyrus/IMAP/IMAP.bs
cp cyradm blib/script/cyradm
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cyradm
Manifying blib/man1/cyradm.1
Manifying blib/man3/Cyrus::IMAP::Admin.3pm
Manifying blib/man3/Cyrus::IMAP::Shell.3pm
Manifying blib/man3/Cyrus::IMAP.3pm
Manifying blib/man3/Cyrus::IMAP::IMSP.3pm
Installing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Cyrus/IMAP/IMAP.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Cyrus/IMAP/.packlist
Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
[root@localhost imap]#


这么多敬告是什么意思啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP