V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
fire5

Debain 安装 revel 遇到问题: golang.org/x/sys/unix

  •  
  •   fire5 · Jun 11, 2016 · 1996 views
    This topic created in 3607 days ago, the information mentioned may be changed or developed.
    debain 上安装 revel ,

    先解决了 websocket 的问题,

    却出现了 : package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix"

    go get -v github.com/revel/revel
    Fetching https://golang.org/x/sys/unix?go-get=1
    https fetch failed.
    import "golang.org/x/sys/unix": https fetch: Get https://golang.org/x/sys/unix?go-get=1: dial tcp 216.58.203.17:443: i/o timeout
    package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix"

    uname-a
    inux iZ23towazphZ 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
    7 replies    2016-06-13 17:43:45 +08:00
    orFish
        1
    orFish  
       Jun 11, 2016
    墙内是 get 不下来的
    fire5
        2
    fire5  
    OP
       Jun 11, 2016
    @orFish 已经翻墙 解决了 websocket 的问题。
    fire5
        3
    fire5  
    OP
       Jun 12, 2016
    主要这个 https://golang.org/x/sys/unix?go-get=1 已经被移走了。
    fuxiaohei
        4
    fuxiaohei  
       Jun 12, 2016
    novaeye
        5
    novaeye  
       Jun 12, 2016
    其实就是墙的锅啦~~和移不移走关系不大~~
    fire5
        6
    fire5  
    OP
       Jun 13, 2016
    @fuxiaohei go get github.com/golang/sys
    can't load package: package github.com/golang/sys: no Go source files in /root/gowork/src/github.com/golang/sys
    fuxiaohei
        7
    fuxiaohei  
       Jun 13, 2016
    @fire5 确认代码下载好就行, go install 只编译当前目录的源码,不会主动编译子目录里的除非 import
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3360 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 00:34 · PVG 08:34 · LAX 17:34 · JFK 20:34
    ♥ Do have faith in what you're doing.