温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

mono-3.4.0 源码安装时出现的问题 [do-install] Error 2 [install-pcl-targets] Er

发布时间:2020-06-12 18:21:45 来源:网络 阅读:700 作者:张善友 栏目:编程语言

Mono 3.4修复了很多bug,继续加强稳定性和性能(其实Mono 3.2。8 已经很稳定,性能也很好了),但是从http://download.mono-project.com/sources/mono/ 下载官方提供的源码安装Mono3.4 出现如下错误:

/usr/bin/install: cannot stat `targets/Microsoft.Portable.Common.targets': No such file or directory
make[7]: *** [install-pcl-targets] Error 1
make[7]: Leaving directory `/usr/local/files/mono-3.4.0/mcs/tools/xbuild'
make[6]: *** [do-install] Error 2
make[6]: Leaving directory `/usr/local/files/mono-3.4.0/mcs/tools/xbuild'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/usr/local/files/mono-3.4.0/mcs/tools'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/usr/local/files/mono-3.4.0/mcs'
make[3]: *** [profile-do--net_2_0--install] Error 2
make[3]: Leaving directory `/usr/local/files/mono-3.4.0/mcs'
make[2]: *** [profiles-do--install] Error 2
make[2]: Leaving directory `/usr/local/files/mono-3.4.0/mcs'
make[1]: *** [install-exec] Error 2
make[1]: Leaving directory `/usr/local/files/mono-3.4.0/runtime'
make: *** [install-recursive] Error 1

mono-3.4.0 源码安装时出现的问题 [do-install] Error 2 [install-pcl-targets] Er

这是由于官方的mono源码包缺少个文件,所以会出错,可以下载我的云盘上共享的文件 http://pan.baidu.com/s/1eQ452Ie,参照这篇文章《CentOS 6.3下 安装 Mono 3.2 和Jexus 5.4》下载安装就没问题了。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI