Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

gotk3 for Debian GNU/Linux unstable(aka sid) version #88

Open
omac777 opened this issue Nov 9, 2014 · 0 comments
Open

gotk3 for Debian GNU/Linux unstable(aka sid) version #88

omac777 opened this issue Nov 9, 2014 · 0 comments

Comments

@omac777
Copy link

omac777 commented Nov 9, 2014

AS SUPERUSER(root):
1)Install Debian GNU/Linux "testing" version(aka jessie) from a netinst iso.
2)Then upgrade your clean jessie install to "unstable" version(aka sid).

2.1)First ensure your /etc/apt/sources.list contains the following:
deb http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb http://mirrors.kernel.org/debian unstable main contrib non-free
deb-src http://mirrors.kernel.org/debian unstable main contrib non-free
2.2)Do these apt commands to update and upgrade to sid:
apt-get update
apt-get -u dist-upgrade
You will have to reboot a couple of times through this. Bear with it.

3)Once in sid version install the following:

3.1)To build the golang distribution from sources, you will need to install these:
apt-get install mercurial
apt-get install gcc

3.2)To build conformal systems gotk3, you will need these:
apt-get install pkg-config
apt-get install libgtk-3-dev
apt-get install libcairo2-dev
apt-get install libglib2.0-dev

3.3)I highly recommend you learn emacs. Install emacs and the emacs golang-mode.
apt-get install emacs
apt-get install golang-mode

4)AS A REGULAR USER(not root) do the following:
4.1)fetch golang sources and build
hg clone -u release https://code.google.com/p/go
cd go/src/
./all.bash
4.2)setup your environment variables for golang
export GOROOT=/home/loongson/go
export GOPATH=/home/loongson/Code/go
export PATH=$PATH:$GOPATH/bin:$GOROOT/bin
4.3)fetch and build gotk3 sources
go get code.google.com/p/go.tools/cmd/...
go get github.com/conformal/gotk3/gtk
4.4)now compile a gotk3 sample
cd Code/go/src/github.com/conformal/gotk3/gtk/examples/grid/
go build

andre-hub added a commit to andre-hub/gotk3 that referenced this issue Feb 13, 2016
add go version 1.6 to travis config
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant