前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >腾讯云 安装mono

腾讯云 安装mono

作者头像
张善友
发布2018-01-26 17:59:29
3.7K0
发布2018-01-26 17:59:29
举报
文章被收录于专栏:张善友的专栏张善友的专栏

一、yum -y update

运行出现以下错误:

http://centos.tencentyun.com/contrib/x86_64/repodata/filelists.xml.gz: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404″ Trying other mirror. Error: failure: repodata/filelists.xml.gz from contrib: [Errno 256] No more mirrors to try. You could try using –skip-broken to work around the problem ** Found 6 pre-existing rpmdb problem(s), ‘yum check’ output follows: lanmp_wdcp-2-5.el6.x86_64 has missing requires of perl(lib::mtr_gcov.pl) lanmp_wdcp-2-5.el6.x86_64 has missing requires of perl(lib::mtr_gprof.pl) lanmp_wdcp-2-5.el6.x86_64 has missing requires of perl(lib::mtr_io.pl) lanmp_wdcp-2-5.el6.x86_64 has missing requires of perl(lib::mtr_misc.pl) lanmp_wdcp-2-5.el6.x86_64 has missing requires of perl(lib::mtr_process.pl) lanmp_wdcp-2-5.el6.x86_64 has missing requires of perl(mtr_misc.pl)

联系官方客服,解决如下

wget -q http://mirrors.tencentyun.com/install/softinst.sh && chmod +x softinst.sh && ./softinst.sh

二、yum -y install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel  cairo-devel

三、wget http://download.mono-project.com/sources/mono/mono-3.2.1.tar.bz2

四、tar -jxvf  mono-3.2.1.tar.bz2

五、cd mono-3.2.1

六、./configure –prefix=/usr

七、make    此时出现以下错误

../src/.libs/libeglib.a(libeglib_la-gunicode.o): In function `monoeg_g_get_charset’: /root/mono-3.2.1/eglib/src/gunicode.c:223: undefined reference to `locale_charset’ collect2: ld returned 1 exit status make[4]: *** [test-eglib] Error 1 make[4]: Leaving directory `/root/mono-3.2.1/eglib/test’ make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/mono-3.2.1/eglib’ make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/mono-3.2.1/eglib’ make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/mono-3.2.1′ make: *** [all] Error 2

修改 eglib/config.h

vi eglib/config.h 将#define HAVE_LOCALCHARSET_H 1 替换为 #define HAVE_LOCALCHARSET_H 0

八、make

九、make install

十、mono –V

原文地址:http://www.chxy.cn/webtech/649/

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2013-09-15 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档