fengfeng919
第一次搞postfix就遇到麻烦了,google不到,好心近来看看,谢谢!
我在安装pam_mysql这个认证工具的时候出现问题了,如下:
我配置的时候指定了这两条,网上说指定这两条足够了,
./configure --prefix=…… ----with-mysql=……
然后是编译make 出现如下错误,实在没折了,google上又找不到。好心人指点一回,我第一次搞postfix
[root@www pam_mysql-0.7RC1]# make
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -g -O2 -I/usr/local/src/mysql//include/mysql -c pam_mysql.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -g -O2 -g -O2 -I/usr/local/src/mysql//include/mysql -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o
In file included from pam_mysql.c:124:
/usr/include/md5.h:27: error: syntax error before "UINT4"
/usr/include/md5.h:30: error: syntax error before '}' token
/usr/include/md5.h:38: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:39: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:41: error: syntax error before "PROTO_LIST"
/usr/include/md5.h:43: error: syntax error before "PROTO_LIST"
make: *** [pam_mysql.lo] Error 1