mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #104] go get 安装失败 #49
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lgmcode on GitHub (Aug 29, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/104
你好,
我想用下面的命令下载程序编译
go get github.com/fatedier/frp但是提示错误
can't load package: package github.com/fatedier/frp: no buildable Go source files in /home/webadmin/golang_work/src/github.com/fatedier/frp之前用这种方式安装的,挺方便的,现在是不支持这种安装方式了吗?
@fatedier commented on GitHub (Aug 29, 2016):
go get只能下载,这个项目不支持自动编译安装到$GOPATH/bin下,需要你手动进入/home/webadmin/golang_work/src/github.com/fatedier/frp目录,执行make命令编译,编译好的程序在bin目录下。@lgmcode commented on GitHub (Aug 29, 2016):
这个过程明白,上一次就是先
go get下载之后进到目录里make的,这次的问题是下载失败了,代码没有更新,所以想问一下是不是不支持这种方式下载代码了,还是说不能覆盖旧的代码@fatedier commented on GitHub (Aug 29, 2016):
试试
go get -u github.com/fatedier/frp@lgmcode commented on GitHub (Aug 29, 2016):
查了一下,说是因为我修改了目录下的某些文件(只修改了配置文件)导致无法merge,我把整个目录删了重新
go getmake就可以了。算了,下次还是用你编译好的二进制文件吧。thanks!