首页新闻找找看学习计划

Linux上编译DNX失败

1
悬赏园豆:30 [待解决问题]

DNX项目地址:https://github.com/aspnet/DNX

将build.sh中的 #!/bin/sh 改为 #!/usr/bin/env bash ,然后在Linux Ubuntu上运行 ./build.sh ,出现下面的错误:

Determining latest version
Latest version is 1.0.0-beta4-11268
dnx-mono.1.0.0-beta4-11268 already installed.
Cannot find dnx-mono.1.0.0-beta4-11268, do you need to run 'dnvm install 1.0.0-beta4-11268'?
info: Target default
info: Target pre-clean
info: Target target-dir-clean
info: Target build-clean
info: Target clean
info: Target post-clean
info: Target validate
info: Target restore-npm-modules
info: Target restore-bower-components
info: Target run-grunt
info: Target repo-initialize
info: Exec
info:   program: kpm
info:   commandline: restore
info:   workingdir: src/Microsoft.Framework.ApplicationHost
warn: ApplicationName='kpm', CommandLine='restore', CurrentDirectory='src/Microsoft.Framework.ApplicationHost', Native error= Cannot find the specified file
verbose: Stack trace: 
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in :0 
  at View5dd5fdc359be45c5a09589b332b45939+c__AnonStorey3.<>m__12 () [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].CallTarget (System.String name) [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].StartingTarget (System.String name) [0x00000] in :0 
  at View5dd5fdc359be45c5a09589b332b45939+c__AnonStorey3.<>m__5 () [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].CallTarget (System.String name) [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].StartingTarget (System.String name) [0x00000] in :0 
  at View5dd5fdc359be45c5a09589b332b45939+c__AnonStorey3.<>m__6 () [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].CallTarget (System.String name) [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].StartingTarget (System.String name) [0x00000] in :0 
  at View5dd5fdc359be45c5a09589b332b45939+c__AnonStorey3.<>m__7 () [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].CallTarget (System.String name) [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].StartingTarget (System.String name) [0x00000] in :0 
  at View5dd5fdc359be45c5a09589b332b45939+c__AnonStorey3.<>m__8 () [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].CallTarget (System.String name) [0x00000] in :0 
  at View5dd5fdc359be45c5a09589b332b45939+c__AnonStorey3.<>m__0 () [0x00000] in :0 
  at Sake.Engine.Builder.BuilderBase`1[System.Object].CallTarget (System.String name) [0x00000] in :0 
  at Sake.Engine.SakeEngine.Execute (Sake.Engine.Options options) [0x00000] in :0 
  at Sake.Engine.SakeEngine.Execute (System.String[] args) [0x00000] in :0 
  at Sake.Program.Main (System.String[] args) [0x00000] in :0 

请问如何解决这个问题?

DNX
dudu的主页 dudu | 高人七级 | 园豆:40877
提问于:2015-03-13 23:38
< >
分享
所有回答(1)
0

你是专门做编译器测试的吧?

上面不是让你运行'dnvm install 1.0.0-beta4-11268'吗?

XiaoFaye | 园豆:3082 (老鸟四级) | 2015-03-14 16:18

这个提示是dnvm的bug,实际已经安装好了,你看这个之前的提示信息:

Latest version is 1.0.0-beta4-11268
dnx-mono.1.0.0-beta4-11268 already installed.
支持(0) 反对(0) dudu | 园豆:40877 (高人七级) | 2015-03-14 17:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册