mono-3.4.0 源码安装时出现的问题 [do-install] Error 2 [install-pcl-targets] Error 1 解决方法
2014-04-09 23:23
537 查看
Mono 3.4修复了很多bug,继续加强稳定性和性能(其实Mono 3.2.8 已经很稳定,性能也很好了),但是从http://download.mono-project.com/sources/mono/ 下载官方提供的源码安装Mono3.4 出现如下错误:
这是由于官方的mono源码包缺少个文件,所以会出错,可以下载我的云盘上共享的文件 http://pan.baidu.com/s/1eQ452Ie,参照这篇文章《CentOS 6.3下 安装 Mono 3.2 和Jexus 5.4》下载安装就没问题了。
附安装步骤:
1.系统环境 操作系统: CentOS 6.4 最小化安装
2.安装Mono
2.1安装libgdiplus
(1)安装缺失的组件 yum -y install wget glib2-devel libtiff libtiff-devel libjpeg libjpeg-devel giflib giflib-devel libpng libpng-devel libX11 libX11-devel freetype freetype-devel fontconfig fontconfig-devel libexif libexif-devel gcc-c++ gettext unzip zip
(2)下载 libgdiplus cd /usr/software wget
http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2 (3)安装 libgdiplus tar jvxf libgdiplus-2.10.tar.bz2 cd libgdiplus-2.10 ./configure --prefix=/usr make && make install
2.2安装Mono3.4.0
(1)下载 从百度网盘上下载最新的Mono,
http://pan.baidu.com/s/1eQ452Ie 并上传到/usr/software目录 cd /usr/software
(2)安装 tar -xzf mono-3.4.0.tar.gz cd mono-3.4.0 ./configure --prefix=/usr make && make install 安装时间比较长,需要多等一会
3. 安装Jexus
(1)下载 cd /usr/software wget
http://www.linuxdot.net/down/jexus-5.5.1.tar.gz (2)安装 tar -zxvf jexus-5.5.1.tar.gz cd jexus-5.5.1 ./install
(3)测试是否安装成功 开启防火墙端口 启动Jexus服务器 /usr/jexus/jws start 在客户端浏览器中输入"服务器地址/info", 如"
http://192.168.1.15/info",显示正常即表示安装成功 (4)基本使用 启动:sudo /usr/jexus/jws start 停止:sudo /usr/jexus/jws stop 重启:sudo /usr/jexus/jws restart 更多使用方法可在
http://www.jexus.org/学习 欢迎各位热心Linux平台.NET应用程序开发,特别是希望基于Linux进行ASP.NET WEB网站建设的朋友,多多关注 http://www.linuxdot.net,或加入.NET LINUX QQ群:103810355。
/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源码包缺少个文件,所以会出错,可以下载我的云盘上共享的文件 http://pan.baidu.com/s/1eQ452Ie,参照这篇文章《CentOS 6.3下 安装 Mono 3.2 和Jexus 5.4》下载安装就没问题了。
附安装步骤:
1.系统环境 操作系统: CentOS 6.4 最小化安装
2.安装Mono
2.1安装libgdiplus
(1)安装缺失的组件 yum -y install wget glib2-devel libtiff libtiff-devel libjpeg libjpeg-devel giflib giflib-devel libpng libpng-devel libX11 libX11-devel freetype freetype-devel fontconfig fontconfig-devel libexif libexif-devel gcc-c++ gettext unzip zip
(2)下载 libgdiplus cd /usr/software wget
http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2 (3)安装 libgdiplus tar jvxf libgdiplus-2.10.tar.bz2 cd libgdiplus-2.10 ./configure --prefix=/usr make && make install
2.2安装Mono3.4.0
(1)下载 从百度网盘上下载最新的Mono,
http://pan.baidu.com/s/1eQ452Ie 并上传到/usr/software目录 cd /usr/software
(2)安装 tar -xzf mono-3.4.0.tar.gz cd mono-3.4.0 ./configure --prefix=/usr make && make install 安装时间比较长,需要多等一会
3. 安装Jexus
(1)下载 cd /usr/software wget
http://www.linuxdot.net/down/jexus-5.5.1.tar.gz (2)安装 tar -zxvf jexus-5.5.1.tar.gz cd jexus-5.5.1 ./install
(3)测试是否安装成功 开启防火墙端口 启动Jexus服务器 /usr/jexus/jws start 在客户端浏览器中输入"服务器地址/info", 如"
http://192.168.1.15/info",显示正常即表示安装成功 (4)基本使用 启动:sudo /usr/jexus/jws start 停止:sudo /usr/jexus/jws stop 重启:sudo /usr/jexus/jws restart 更多使用方法可在
http://www.jexus.org/学习 欢迎各位热心Linux平台.NET应用程序开发,特别是希望基于Linux进行ASP.NET WEB网站建设的朋友,多多关注 http://www.linuxdot.net,或加入.NET LINUX QQ群:103810355。
相关文章推荐
- mono-3.4.0 源码安装时出现的问题 [do-install] Error 2 [install-pcl-targets] Error 1 解决方法
- mono-3.4.0 源码安装时出现的问题 [do-install] Error 2 [install-pcl-targets] Er
- mono-3.4.0安装时出现的问题 [do-install] Error 2 [install-pcl-targets] Error 1
- mono 3.4.0 make install的时候出现"找不到 Microsoft.Portable.Common.targets 文件”的错误提示解决方法
- 安装apk时出现错误Failure [INSTALL_FAILED_DEXOPT]问题解决的方法
- 源码安装ruby时 ERROR: Loading command: install (LoadError) cannot load such file -- zlib 解决方法
- cloudemanager安装时出现8475 MainThread agent ERROR Heartbeating to 192.168.30.1:7182 failed问题解决方法(图文详解)
- Python安装模块出现问题UnicodeDecodeError的解决方法
- Android系统移植与调试之安装apk时MTK命令和出现Failure [INSTALL_FAILED_DEXOPT]问题解决方法
- Android系统移植与调试之安装apk时MTK命令和出现Failure [INSTALL_FAILED_DEXOPT]问题解决方法
- Android Studio安装过程中出现Failed to install Intel HAXM问题及解决方法
- CentOS7下安装NVIDIA独立显卡驱动出现X service error问题解决方法
- [Linux]ubuntu 下安装NVIDIA显卡驱动出现X service error问题解决方法
- Android系统移植与调试之------->安装apk时出现错误Failure [INSTALL_FAILED_DEXOPT]问题解决的方法
- pip install 安装出现问题:UnicodeEncodeError: 'ascii' codec can't encode characters in position XX的解决办法
- pip install 安装出现问题:UnicodeEncodeError: 'ascii' codec can't encode characters in position XX的解决办法
- 重装Ubuntu 14.04后使用apt-get安装build-essential(即sudo apt-get install build-essential)时出现包依赖项问题的解决方法
- Android安装软件时出现的错误提示:INSTALL_FAILED_CONTAINER_ERROR的解决方法
- ubuntu 下安装NVIDIA显卡驱动出现X service error问题解决方法
- ubuntu 下安装NVIDIA显卡驱动出现X service error问题解决方法