-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Building
- Arch Linux
- Debian (Sid)
- Fedora 21
- Mac OS X
- Raspberry Pi 2
- Ubuntu (14.04)
- Ubuntu (13.10)
- Vagrant
- Windows
- Python 3.4
- Oniguruma
- Git
- Mercurial
- Go 1.4 installed and some familiarity with writing code in Go.
go get github.com/limetext/lime/frontend/...
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/...
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/... github.com/limetext/lime/frontend/...
/xxx/github.com/limetext/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
cd $GOPATH/src/github.com/limetext/lime/frontend/html
go run main.go
If you run into cannot find package "code.google.com/p/go.net/websocket" in any of:
, you are missing the websocket module and have to install it.
go get code.google.com/p/go.net/websocket