安裝Postfix過程中make cyrus-sasl包出錯
./configure --disable-anon -enable-plain --enable-login --enable-sql --with-mysql=/usr/local/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-mysql-libs=/usr/local/mysql/lib/mysql --with-authdaemond
上面是./configure的配置
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../plugins -I../include -I../sasldb -I/usr/local/mysql/include/mysql -Wall -W -g -O2 -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c -fPIC -DPIC -o client.lo
client.c:64: error: static declaration of 'global_callbacks' follows non-static declaration
saslint.h:112: error: previous declaration of 'global_callbacks' was here
client.c: In function '_sasl_print_mechanism':
client.c:863: warning: unused parameter 'rock'
make: *** Error 1
make: Leaving directory `/root/PostFix/cyrus-sasl-2.1.21/lib'
make: *** Error 1
make: Leaving directory `/root/PostFix/cyrus-sasl-2.1.21'
make: *** Error 2
上面是make的錯誤
# ls /root/PostFix/cyrus-sasl-2.1.21/lib
auxprop.c checkpw.c config.c getnameinfo.c Makefile.in saslutil.c staticopen.h
auxprop.lo checkpw.lo dlopen.c getsubopt.c md5.c server.c windlopen.c
canonusr.c client.c external.c Makefile NTMakefile seterror.c
canonusr.lo common.c getaddrinfo.c Makefile.am saslint.h snprintf.c
# ls /root/PostFix/cyrus-sasl-2.1.21
aclocal.m4 config.cache configure include mac NEWS sample win32
AUTHORS config.h configure.in INSTALL Makefile NTMakefile saslauthd
ChangeLog config.h.in COPYING java Makefile.am plugins sasldb
cmulocal config.log dlcompat-20010505 lib Makefile.in pwcheck stamp-h1
config config.status doc libtool man README utils
#
上面是文件夾里的文件
請教大俠們這錯誤該如何解決?
《解決方案》
:em29::em29::em29::em29::em29:
沒有人回答 版主能幫忙看下這個問題嗎 急
《解決方案》
回復 1# derekchi
你的系統是那個發行版?Redhat 系列的還是 debain系列的?
一般發行版都自帶 cyrus-sasl 軟體,並且默認已經安裝了。