免费注册 查看新帖 |

Chinaunix

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

[Mail] configure vpopmail时候的一个错误,弄了好久了,抓狂啊 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-09-21 09:00 |只看该作者 |倒序浏览
系统是solaris 9 for sparc 当编译vpopmail的时候
./configure --enable-roaming-users=y --enable-default-domain=stlib.gd.cn --enable-passwd=n

总是出现那样的错误,换了gcc的版本也不行,真郁闷打击

checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking build system type... ./config.guess: line 113:  7290 Killed                  ( $c $dummy.c -c -o $dummy.o ) >;/dev/null 2>;&1
./config.guess: line 113:  7291 Killed                  ( $c $dummy.c -c -o $dummy.o ) >;/dev/null 2>;&1
sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking for g++... g++
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables

大家帮忙提提意见啊,

论坛徽章:
0
2 [报告]
发表于 2004-09-21 09:39 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

少加几个参数
./configure \
--enable-auth-module=mysql \
--enable-incdir=/usr/local/mysql/include \
--enable-libdir=/usr/local/mysql/lib \
--enable-mysql-logging \
--enable-mysql-limits \
--enable-valias \
--enable-logging=v

另外cc路径是什么,偶能力水,没玩过soliars,只敢用rh

http://bbs.chinaunix.net/forum/viewtopic.php?t=94879&show_type=new  这里也有soliars的问题。
好象是什么ccs

论坛徽章:
0
3 [报告]
发表于 2004-09-21 09:50 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

推荐FreeBSD+ports,是我见过比较好的平台

论坛徽章:
0
4 [报告]
发表于 2004-09-21 10:09 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

[quote]原帖由 "xiaohua"]推荐FreeBSD+ports,是我见过比较好的平台[/quote 发表:

问题是老兄,我的机器是 sun Fire 系列的小型服务器,只能安装solaris,晕菜

论坛徽章:
0
5 [报告]
发表于 2004-09-21 11:24 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

我感觉还是gcc毛病
你换的是哪版?

论坛徽章:
0
6 [报告]
发表于 2004-09-21 11:28 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

原帖由 "tgif" 发表:

问题是老兄,我的机器是 sun Fire 系列的小型服务器,只能安装solaris,晕菜


论坛徽章:
0
7 [报告]
发表于 2004-09-21 13:22 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

已经换了好几个版本的gcc,还是不行,郁闷啊

论坛徽章:
0
8 [报告]
发表于 2004-09-21 15:24 |只看该作者

configure vpopmail时候的一个错误,弄了好久了,抓狂啊

ok ,
then configure is not finding the libstdc++.so version corresponding to the

version of gcc it is using. This can happen, for example, if gcc in

/usr/local/bin is being used and your system doesn't use /usr/local/lib in its

shared library paths. The fix is to add or set the environment variable

LD_LIBRARY_PATH, to the path of the lib directory corresponding to the bin

directory of gcc. So for example, if in your environment gcc is found in

/usr/local/bin, then you need to set LD_LIBRRAY_PATH to /usr/local/lib.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP