You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:
GOPATH/GOROOT unset: cp: cannot stat ‘/tmp/fzf-gopath/bin/fzf’: No such file or directory
GOPATH/GOROOT set: cp: cannot stat ‘/usr/local/go//bin/fzf’: No such file or directory
cp /tmp/fzf-gopath/bin/fzf /home/user/.fzf/bin/
cp: cannot stat ‘/tmp/fzf-gopath/bin/fzf’: No such file or directory
`
Workaround found:
in .fzf/install, change go get to go install:
# if go get -ldflags "-s -w -X main.version=$version -X main.revision=go-get" github.com/junegunn/fzf; then
if go install -ldflags "-s -w -X main.version=$version -X main.revision=go-get" github.com/junegunn/fzf; then
The text was updated successfully, but these errors were encountered:
man fzf
)Info
Problem / Steps to reproduce
On 32-bit centos VM with Windows 10 host: ( 4.14.94-200.el7.i686+PAE #1 SMP Mon Feb 18 19:45:05 UTC 2019 i686 i686 i386 GNU/Linux )
download and install go 1.18 from source: ( go version go1.18 linux/386 )
having GOPATH/GOROOT set or unset:
~ $ echo $GOPATH
/usr/local/go/bin/
~ $ echo $GOROOT
/usr/local/go/
run:
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
error:
GOPATH/GOROOT unset: cp: cannot stat ‘/tmp/fzf-gopath/bin/fzf’: No such file or directory
GOPATH/GOROOT set: cp: cannot stat ‘/usr/local/go//bin/fzf’: No such file or directory
` ~ $ .fzf/install
++ dirname .fzf/install
++ pwd
++ printf %q /home/user/.fzf
++ uname -sm
No prebuilt binary for Linux i686 ...
Building binary (go get -u github.com/junegunn/fzf) ... + '[' -z '' ']'
go: downloading golang.org/x/sys v0.10.0
go: downloading github.com/mattn/go-runewidth v0.0.14
go: downloading github.com/mattn/go-shellwords v1.0.12
go: downloading github.com/rivo/uniseg v0.4.4
go: downloading github.com/saracen/walker v0.1.3
go: downloading github.com/gdamore/tcell/v2 v2.5.4
go: downloading golang.org/x/term v0.10.0
go: downloading github.com/mattn/go-isatty v0.0.17
go: downloading golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
go: downloading github.com/gdamore/encoding v1.0.0
go: downloading golang.org/x/text v0.5.0
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
OK
cp: cannot stat ‘/tmp/fzf-gopath/bin/fzf’: No such file or directory
`
Workaround found:
in .fzf/install, change go get to go install:
# if go get -ldflags "-s -w -X main.version=$version -X main.revision=go-get" github.com/junegunn/fzf; then
if go install -ldflags "-s -w -X main.version=$version -X main.revision=go-get" github.com/junegunn/fzf; then
The text was updated successfully, but these errors were encountered: