Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no support centos? #2

Open
awakeljw opened this issue Apr 5, 2022 · 3 comments
Open

no support centos? #2

awakeljw opened this issue Apr 5, 2022 · 3 comments

Comments

@awakeljw
Copy link

awakeljw commented Apr 5, 2022

github.com/junegunn/fzf/src/tui

src/tui/tcell.go:18:6: HasFullscreenRenderer redeclared in this block
previous declaration at src/tui/dummy.go:7:30
src/tui/tcell.go:27:6: Attr redeclared in this block
previous declaration at src/tui/dummy.go:5:6
src/tui/tcell.go:75:2: Bold redeclared in this block
previous declaration at src/tui/dummy.go:20:19
src/tui/tcell.go:76:2: Dim redeclared in this block
previous declaration at src/tui/dummy.go:21:24
src/tui/tcell.go:77:2: Blink redeclared in this block
previous declaration at src/tui/dummy.go:24:24
src/tui/tcell.go:78:2: Reverse redeclared in this block
previous declaration at src/tui/dummy.go:26:24
src/tui/tcell.go:79:2: Underline redeclared in this block
previous declaration at src/tui/dummy.go:23:24
src/tui/tcell.go:80:2: Italic redeclared in this block
previous declaration at src/tui/dummy.go:22:24
src/tui/tcell.go:84:2: AttrUndefined redeclared in this block
previous declaration at src/tui/dummy.go:16:23
src/tui/tcell.go:85:2: AttrRegular redeclared in this block
previous declaration at src/tui/dummy.go:17:28
src/tui/tcell.go:85:2: too many errors
make: *** [Makefile:130: target/fzf-linux_amd64] Error 2

@archibate
Copy link
Owner

Yes, we only support Arch, Ubuntu, MacOS for now. For other distro the script will build from source. In this case fzf failed to build due to a very low go version. Maybe need install a new go from source too?
If you figured out how to fix the go version on CentOS, you may open a pull request to fix, like @RakerZh did in #1 for fixing MacOS.

@RakerZh
Copy link

RakerZh commented Apr 6, 2022

try to download go from source.

I think maybe something like this implemented in install.sh
wget https://go.dev/dl/go1.18.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
and add it to path

@xxy-im
Copy link

xxy-im commented Apr 7, 2022

#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants