-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Building on Fedora 21
Felix Laurie von Massenbach edited this page Feb 16, 2015
·
6 revisions
Use go from the latest source: https://golang.org/doc/install
- mkdir limetext
- cd limetext
- wget https://storage.googleapis.com/golang/go1.4.1.src.tar.gz
- cd go/src
- bash build.bash
- cd -
- sh setup.sh # The shell written below
#!/bin/sh
sudo yum install oniguruma-devel
export GOROOT=<where you put go 1.4.1>
export PATH=$GOROOT/bin:$PATH
export SRCPATH=$PWD
export GOPATH=$SRCPATH
go get -u github.com/nsf/termbox-go
go get -u github.com/limetext/rubex
go get -u github.com/limetext/lime/backend
go get -u github.com/limetext/lime/frontend/termbox
cd $SRCPATH/src/github.com/limetext/lime
git submodule update --init
cd $SRCPATH/src/github.com/limetext/lime/frontend/termbox
go build
go install
termbox
#
# While things run here. There seems to be a problem due to relative path
# references in the source code. i.e. running termbox from anywhere else
# fails to find build dependencies. Knowing what the full path should be from
# natural go infrastructure would eliminate this problem.
#
# install actually installed in $GOPATH/bin/termbox but running it from there
# fails dismally, due to relative path imports which go is highly sensitive and brittle about.
#