-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Building
- Python 3.4
- Oniguruma
- Git
- Mercurial
- Go 1.3.3 installed and some familiarity with writing code in Go.
go get github.com/limetext/lime/frontend/termbox
If you have various other go code on your machine, it's possible that your local code of those libraries are stale and need to be updated. In that instance you can run the following command that will update all dependencies:
go get -u github.com/limetext/lime/frontend/termbox
We also need to init and update all submodules which isn't done automatically by go get.
cd $GOPATH/src/github.com/limetext/lime
git submodule update --init
go test github.com/limetext/lime/backend/...
go test github.com/limetext/lime/frontend/termbox/...
/xxx/github.com/quarnster/util/text/settings.go:69: method s.onChange is not an expression, must be called
You are building using Go 1.0, please update to the newest Go release.
You are using a version of Go < 1.2. Please update to the newest Go release. If you have a proper gcc installed (not just an alias for clang), you can also try setting the environment variable CC
to gcc
.
On Ubuntu Saucy, add the oniguruma.pc file to your /usr/lib/pkgconfig directory. Or alternatively, export PKG_CONFIG_PATH
before running go get
:
export PKG_CONFIG_PATH=$GOPATH/src/github.com/limetext/rubex
On Ubuntu:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.4 python3.4-dev
Try updating to Go 1.3.3
cd $GOPATH/src/github.com/limetext/lime/frontend/termbox
go build
./termbox main.go
Press Ctrl+Q to exit.
Presuming qml is already installed:
On Ubuntu Saucy, you have to download QT 5.2, and export LIBRARY_PATH=/your/installation/location
.
cd $GOPATH/src/github.com/limetext/lime/frontend/qml
go build
./qml