linux coreclr编译,.NET跨平台:在Linux Ubuntu上编译coreclr/corefx/dnx(20150617)
编译时间:北京2015年6月17日上午
操作系统:Ubuntu 14.04.2 LTS
Mono版本:Mono JIT compiler version 4.3.0 (master/3445ac5 Tue Jun 16 20:43:48 CST 2015)
一、编译coreclr
成功!
Repo successfully built.
Product binaries are available at /data/git/coreclr/bin/Product/Linux.x64.Debug
二、编译corefx
失败!15231个错误,编译结果如下:
/data/git/corefx/bin/obj/Linux.AnyCPU.Debug/Microsoft.CSharp/_AssemblyInfo.cs(3,11):
error CS0246: The type or namespace name ‘AssemblyTitle‘ could not be found (are you missing a using directive or an assembly reference?)
[/data/git/corefx/src/Microsoft.CSharp/src/Microsoft.CSharp.csproj]
/data/git/corefx/bin/obj/Linux.AnyCPU.Debug/Microsoft.CSharp/_AssemblyInfo.cs(4,11):
error CS0246: The type or namespace name ‘AssemblyDescription‘ could not be found (are you missing a using directive or an assembly reference?)
[/data/git/corefx/src/Microsoft.CSharp/src/Microsoft.CSharp.csproj]
...
System/Numerics/Vector_Operations.cs(112,10):
error CS0246:
The type or namespace name ‘MethodImplAttribute‘ could not be found (are you missing a using directive or an assembly reference?)
[/data/git/corefx/src/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj]
System/Numerics/Vector_Operations.cs(112,30):
error CS0518: Predefined type ‘System.Object‘ is not defined or imported
[/data/git/corefx/src/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj]
System/Numerics/Vector_Operations.cs(112,30):
error CS0103: The name ‘MethodImplOptions‘ does not exist in the current context
[/data/git/corefx/src/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj]
16 Warning(s)
15231 Error(s)
Time Elapsed 00:04:12.30
Build Exit Code = 1
问题未找到解决方法,在GitHub上提交了Issue:#2073 。
三、编译dnx
失败!
第一次build的第1个错误:
Determining latest version
Latest version is 1.0.0-beta6-12082
Downloading dnx-mono.1.0.0-beta6-12082 from https://www.myget.org/F/aspnetvnext/api/v2
Installing to /root/.dnx/runtimes/dnx-mono.1.0.0-beta6-12082
dnvm needs unzip to proceed.
再次build的第1个错误:
dnx-mono.1.0.0-beta6-12082 already installed.
Cannot find dnx-mono.1.0.0-beta6-12082, do you need to run ‘dnvm install 1.0.0-beta6-12082‘?
这个错误是由于Ubuntu上没有安装unzip,通过下面的命令解决了问题:
apt-get unzipdnvm upgrade-u
接下来的编译错误未找到解决方法:
warn: Dynamic view compilation failed.
/tmp/6dc38ab7770645d48e9ae31c479dec2c-1.cs(10953,13): error CS0103: The name `IsBuildV2‘ does not exist in the current context
/tmp/6dc38ab7770645d48e9ae31c479dec2c-1.cs(10955,15): error CS0103: The name `DnuPack‘ does not exist in the current context
/tmp/6dc38ab7770645d48e9ae31c479dec2c-1.cs(10961,17): error CS0103: The name `DnuPack‘ does not exist in the current context
...
verbose: Stack trace:
at Spark.Compiler.BatchCompiler.Compile (Boolean debug, System.String languageOrExtension, System.String[] sourceCode) <0x41536f50 + 0x010ae> in :0
at Spark.Compiler.CSharp.CSharpViewCompiler.CompileView (IEnumerable`1 viewTemplates, IEnumerable`1 allResources) <0x4152fc40 + 0x0009b> in :0
at Spark.SparkViewEngine.CreateEntryInternal (Spark.SparkViewDescriptor descriptor, Boolean compile) <0x4150b670 + 0x002a0> in :0
at Spark.SparkViewEngine.CreateEntry (Spark.SparkViewDescriptor descriptor) <0x4150b370 + 0x0005a> in :0
at Spark.SparkViewEngine.CreateInstance (Spark.SparkViewDescriptor descriptor) <0x4150b330 + 0x00019> in :0
at Sake.Engine.Loader.DefaultLoader.Load (Sake.Engine.Options options) <0x414f3580 + 0x004b0> in :0
at Sake.Engine.SakeEngine.Execute (Sake.Engine.Options options) <0x414f2f10 + 0x002e1> in :0
at Sake.Engine.SakeEngine.Execute (System.String[] args) <0x414c5fd0 + 0x00047> in :0
at Sake.Program.Main (System.String[] args) <0x414a8d80 + 0x000f7> in :0
在GitHub上提交了Issue:#2080 。
原文:http://www.cnblogs.com/dudu/p/4582894.html
linux coreclr编译,.NET跨平台:在Linux Ubuntu上编译coreclr/corefx/dnx(20150617)相关推荐
- 在 ubuntu 上编译 qtopia-2.2.0问题
在ubuntu上编译 x86-qtopia,会出现很多错误. 如果想查看完成log信息,请使用该命令进行编译:./build -all 2>&1 | tee build.log 1.首 ...
- Ubuntu上编译安装迅雷XwareDesktop
Ubuntu上编译安装说明 本页介绍如何在Ubuntu 14.04及以上的系统上手动编译安装Xware Desktop. 由于迅雷官方没有发布64位版的xware,Xware Desktop的作者无法 ...
- linux内核编译如何选择cpu类型,Ubuntu内核编译和CPU Hot-Plug特性配置全过程及遇到问题记录...
最近编译Palacios需要linux的内核支持cpu Hot-Plug(内存热插拔)特性,无奈我机器上安装的Ubuntu10.04系统默认不支持内存热插拔特性,所以需要修改配置文件并重新编译linu ...
- yocto编译linux,好实用!用 Yocto 在 Ubuntu 上创建最小化 Linux 发行版
导读 本文主要聚焦在如何使用 Yocto 在 Ubuntu 上创建一个最小化的 Linux 发行版.Yocto 项目在嵌入式 Linux 的世界非常著名,这是因为它用起来非常灵活.方便.Yocto 的 ...
- Linux飞鸽传书源码,图解Ubuntu下编译安装飞鸽传书IPMsg步骤
因为IPMsg官方网站发布的Unix/Linux版本都是源代码包,需要在Ubuntu中编译,因此,需要在本机安装开发环境. 我下载的g2ipmsg-0.9.5.tar,下载地址见http://www. ...
- linux deb文件安装_如何在 Ubuntu 上安装 VirtualBox | Linux 中国
本新手教程解释了在 Ubuntu 和其他基于 Debian 的 Linux 发行版上安装 VirtualBox 的各种方法.-- Abhishek Prakash Oracle 公司的自由开源产品 V ...
- 在CentOS/Debian/Ubuntu上编译安装最新版 GCC 8 , cmake 3 和ninja
CentOS不像Debian/Ubuntu,不能直接从官方库中安装最新版的gcc/g++,只能源码编译安装. gcc下载地址:Index of /gnu/gcc 我选择了最新版本 gcc-8.3.0, ...
- 在Ubuntu上编译安装OpenCV3
目录 背景 安装依赖包 安装ffmpeg 编译安装opencv3 理想情况 错误处理 复制头文件 修改头文件 修改OpenCV文件 修改文件方法 更好的解决方法--换OpenCV版本 3.4.1版本的 ...
- 其他笔记 - Mono for Windows 跨平台 Runtime 在Win10上编译和安装
目录 在Windows上编译Mono 安装环境 下载Mono源码 预配置编译安装说明 详细的编译说明 启用BTLS作为Windows构建的加密后端 为Windows版本启用LLVM 使用monolit ...
- 64位Ubuntu上编译32位程序
1.确认主机为64位架构的内核,应该输出为adm64,执行: $ dpkg --print-architecture 2.确认打开了多支架功能,应该输出为i386,执行: $ dpkg --print ...
最新文章
- php excel类 ,phpExcel使用方法介绍
- Go借助PProf的一次性能优化
- Github-Hexo-theme-NexT
- 解决linux下无线网卡被物理禁用问题
- 【待补】Wireshark+BLE dongle: BLE数据包捕获以及分析
- jsp页面struts2标签展示clob类型的数据
- 硬核科普!携号转网的技术原理分析!
- 2020 年,哪些行业将会遭到 5G 洗礼?
- VC实现多格式图像的转换
- c# 对象json互相转换_能够将Excel 数据转换成Json格式的实用工具 excel2json
- [转] 基于 Apache Mahout 构建社会化推荐引擎
- Docker概述 官方文档 Google翻译
- 互联网平台黑产解密(上)
- Inno Setup 系列之自定义卸载文件名称的脚本
- 学生课堂随机点名系统小结
- 干眼能从事计算机工作吗,上班族长时间面对电脑须谨慎干眼症
- win7重装系统后计算机打不开,win7系统重装后进不了系统怎么办
- debian linux 7 安装,Debian 7安装设置教程
- 安装pytorch报错及解决
- [官方Flink入门笔记 ] 三、开发环境搭建和应用的配置、部署及运行
热门文章
- python词云图_Python制作词云图代码实例
- 40款用于简洁网页设计的光滑英文字体【上】
- 九枝兰专访-----深入解读程序化购买以及行业现状(初篇)
- rviz点云渲染卡顿问题
- 【Hexo搭建个人博客】:yilia主题配置(四) - 分类管理
- Transformer课程 业务对话机器人Rasa 3.x 生成自然语言理解NLU数据
- LOJ10064黑暗城堡
- 论文阅读“Automatic detection of hardhats worn by construction personnel”
- Unity制作RPG游戏——补充
- windows10 win10 此电脑 文件夹 隐藏