免费注册 查看新帖 |

Chinaunix

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

[Mail] 求助!Courier-authlib+courier-imap编译已经出错!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-11 12:56 |只看该作者 |倒序浏览
Courier-authlib+courier-imap编译已经出错!!
环境是 Solaris 10 .

按照文章 http://gceclub.sun.com.cn/NASApp ... =14&thread=9930   用

courier-authlib-0.58
#./configure \
--without-stdheaderdir \
--with-authmysql \
--with-mailuser=root --with-mailgroup=root \
--with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql/ \
--with-db=gdbm

或者

#./configure \
--prefix=/usr/local/courier-authlib \
--without-stdheaderdir \
--without-authuserdb \
--without-authpam \
--without-authldap \
--without-authpwd \
--without-authshadow \
--without-authvchkpw \
--without-authpgsql \
--without-authcustom \
--with-mailuser=root --with-mailgroup=root \
--with-authmysql --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql \
LDFLAGS=-L/opt/fsf/lib \
MAKE=gmake



# make


最后出现
gcc: language strconst not recognized
gcc: debug.c: linker input file unused because linking not done
mv: 不能存取 .deps/debug.Tpo
make[2]: *** [debug.lo] Error 2
make[2]: Leaving directory `/usr/local/src/courier-authlib-0.58'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/courier-authlib-0.58'
make: *** [all] Error 2




请问问题如何解决 ??

[ 本帖最后由 firemen 于 2006-8-11 12:59 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-08-11 13:53 |只看该作者
还有的出错就是 :

Linking libuserdb.la
make[3]: *** [libuserdb.la] Error 1
make[3]: Leaving directory `/usr/local/src/courier-authlib-0.58/userdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/courier-authlib-0.58/userdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/courier-authlib-0.58'
make: *** [all] Error 2

论坛徽章:
0
3 [报告]
发表于 2006-08-30 13:09 |只看该作者
在PATH 中添加 /usr/sfw/i386-sun-solaris2.10/bin 然后EXPORT PATH..  把/usr/ccs/bin 中的ld 临时的MOVE 掉.

论坛徽章:
0
4 [报告]
发表于 2006-11-24 05:09 |只看该作者
谢谢,楼上的解答,解决了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP