免费注册 查看新帖 |

Chinaunix

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

[Mail] 大侠门救命!!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-04 14:11 |只看该作者 |倒序浏览
10可用积分
courier-authlib安装无法MAKE..环境LINUXAS4 + vpopmail-5.4.10+netqmail-1.05
以(我没装MYSQL验证)为什么courier-authlib安不上..折腾一夜了..大家帮帮忙..
[root@jcserver22 courier-imap-3.0.8]# rpm -q glibc
glibc-2.3.4-2.13
[root@jcserver22 courier-imap-3.0.8]# rpm -q gcc
gcc-3.4.4-2
[root@jcserver22 courier-imap-3.0.8]#
[root@jcserver22 courier-imap-3.0.8]# rpm -q cpp
cpp-3.4.4-2
在线等
tar -xjvf courier-authlib-0.58.tar.bz2

cd courier-authlib-0.55

./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authldap --without-authmysql --disable-root-check --with-ssl --with-authchange pwdir=/usr/local/libexec/authlib --with-redhat
[root@jcserver22 courier-authlib-0.58]# make
CONFIG_FILES=authlib.html CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating authlib.html
config.status: executing depfiles commands
echo "#define AUTHLDAPRC \"\"" >authldaprc.h
echo "#define AUTHMYSQLRC \"/usr/local/etc/authlib/authmysqlrc\"" >authmysqlrc.h
echo "#define AUTHPGSQLRC \"/usr/local/etc/authlib/authpgsqlrc\"" >authpgsqlrc.h
echo "#define PIPE_PROGRAM \"/usr/local/etc/authlib/authProg\"" >authpiperc.h
echo "#define AUTHDAEMONRC \"/usr/local/etc/authlib/authdaemonrc\"" >authdaemonrc.h
echo "#define AUTHDAEMONVAR \"/usr/local/var/spool/authdaemon\"" >>authdaemonrc.h
echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
echo '#include "/home/vpopmail/include/config.h"' >vpopmail_config.h
echo '#define PKGVERSION "0.58"' >packageversion.h
echo '#define AUTHCHANGEPWDIR "/usr/local/libexec/courier-authlib"' >authchangepwdir.h
echo '#define SBINDIR "/usr/local/sbin"' >sbindir.h
echo '#define PKGLIBDIR "/usr/local/lib/courier-authlib"' >pkglibdir.h
echo '#define PKGINCLUDEDIR "/usr/local/include"' >pkgincludedir.h
echo '#define MAILUSER "daemon"' >mailusergroup.h
echo '#define MAILGROUP "daemon"' >>mailusergroup.h
CONFIG_FILES=README_authlib.html CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating README_authlib.html
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/home/pkg/courier-authlib-0.58'
Making all in libltdl
make[2]: Entering directory `/home/pkg/courier-authlib-0.58/libltdl'
make  all-am
make[3]: Entering directory `/home/pkg/courier-authlib-0.58/libltdl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/pkg/courier-authlib-0.58/libltdl'
make[2]: Leaving directory `/home/pkg/courier-authlib-0.58/libltdl'
Making all in gdbmobj
make[2]: Entering directory `/home/pkg/courier-authlib-0.58/gdbmobj'
make  all-am
make[3]: Entering directory `/home/pkg/courier-authlib-0.58/gdbmobj'
Compiling gdbmobj.c
Compiling gdbmobj2.c
Compiling gdbmobj3.c
Linking libgdbmobj.la
Compiling testgdbm.C
testgdbm.C: In function `int kdcmp(const void*, const void*)':
testgdbm.C:23: error: `strcmp' undeclared (first use this function)
testgdbm.C:23: error: (Each undeclared identifier is reported only once for each function it appears in.)
testgdbm.C: In function `int main(int, char**)':
testgdbm.C:63: error: `memcpy' undeclared (first use this function)
testgdbm.C:92: error: `strlen' undeclared (first use this function)
make[3]: *** [testgdbm.o] Error 1
make[3]: Leaving directory `/home/pkg/courier-authlib-0.58/gdbmobj'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pkg/courier-authlib-0.58/gdbmobj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pkg/courier-authlib-0.58'
make: *** [all] Error 2
[root@jcserver22 courier-authlib-0.58]#

[ 本帖最后由 guaixm 于 2007-12-4 16:06 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-12-04 15:18 |只看该作者

没人帮忙啊!!大虾门

没人帮忙啊!!大虾门

论坛徽章:
0
3 [报告]
发表于 2007-12-04 15:43 |只看该作者

谁能帮帮忙啊!!绝望

谁能帮帮忙啊!!绝望

论坛徽章:
0
4 [报告]
发表于 2007-12-04 15:56 |只看该作者
testgdbm.C:23: error: `strcmp' undeclared (first use this function)
testgdbm.C:23: error: (Each undeclared identifier is reported only once for each function it appears in.)
testgdbm.C: In function `int main(int, char**)':
testgdbm.C:63: error: `memcpy' undeclared (first use this function)
testgdbm.C:92: error: `strlen' undeclared (first use this function)

上面的错误说明系统需要的基本的 c 库可能没有安装上

论坛徽章:
0
5 [报告]
发表于 2007-12-04 15:59 |只看该作者

大麻兄

我机器是完全安装的..应该都是有的.能不能提示下是哪个库问题

论坛徽章:
0
6 [报告]
发表于 2007-12-04 16:15 |只看该作者
比如 strcmp 这个函数,应该是在 string.h 中有定义,自己找找看

论坛徽章:
0
7 [报告]
发表于 2007-12-04 16:17 |只看该作者

好的

我去查下

论坛徽章:
0
8 [报告]
发表于 2007-12-04 17:08 |只看该作者

查不到

晕,

论坛徽章:
0
9 [报告]
发表于 2007-12-07 10:31 |只看该作者

救命啊..

谁知道原因!!帮忙啊

论坛徽章:
0
10 [报告]
发表于 2007-12-07 11:10 |只看该作者

加了--with-db=gdbm

加了--with-db=gdbm也不行啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP