- 论坛徽章:
- 0
|
./configure --enable-apop=/etc/pop.auth --with-popuid=pop
正常通过,但在MAKE时一直报错.
错误如下:
popauth.c:372: error: for each function it appears in.)
popauth.c:372: error: syntax error before ')' token
popauth.c: In function `main':
popauth.c:690: error: `DBM' undeclared (first use in this function)
popauth.c:690: error: `db' undeclared (first use in this function)
popauth.c:947: error: incompatible types in assignment
popauth.c:1082: error: incompatible types in assignment
popauth.c:1123: error: incompatible types in assignment
popauth.c:1123: error: incompatible types in assignment
popauth.c:1132: error: incompatible types in assignment
popauth.c:1209: error: incompatible types in assignment
popauth.c:1454: error: `DBM_REPLACE' undeclared (first use in this function)
*** Error code 1
Stop in /usr/opt/mailserver/qpopper4.0.19/popper.
*** Error code 1
Stop in /usr/opt/mailserver/qpopper4.0.19.
然后我在网上找了一些解决方法,
就是在.$HOME/.profilej里面设置环境变量,
ex2# more $home/.profile
# $FreeBSD: src/etc/root/dot.profile,v 1.20 1999/08/27 23:24:09 peter Exp $
#
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/lib
export LD_RUN_PATH
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
ex2#
我设置过后,依然没有解决:
这是ENV命令的结果:
ex2# env
USER=grbbs
MAIL=/var/mail/grbbs
LD_LIBRARY_PATH=/usr/local/lib
HOME=/root
PAGER=more
ENV=/home/grbbs/.shrc
LOGNAME=grbbs
BLOCKSIZE=K
TERM=xterm
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
SHELL=/bin/csh
LD_RUN_PATH=/usr/local/lib
请问高手们,怎么解决!!!等待中..... |
|