linux下配置dnx地址,Linux上编译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

请问如何解决这个问题?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值