Open Jayce08 opened 7 years ago
I think you should post the error messages, otherwise one may not be able to help you... A blind guess would be that you have not set your go environment variables (e.g. you must at least specify GOPATH).
This is the log from terminal. I hope you guys can help me.
pi@Iecep:~ $ export GOPATH=$HOME/go
pi@Iecep:~ $ export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
pi@Iecep:~ $ apt-get install git liblzma-dev mercurial build-essential
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
pi@Iecep:~ $ sudo apt-get install git liblzma-dev mercurial build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
git is already the newest version (1:2.11.0-3).
liblzma-dev is already the newest version (5.2.2-1.2).
mercurial is already the newest version (4.0-1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
pi@Iecep:~ $ go get -u -v -tags all github.com/blevesearch/bleve/...
github.com/blevesearch/bleve (download)
Fetching https://golang.org/x/net/context?go-get=1
Parsing meta tags from https://golang.org/x/net/context?go-get=1 (status code 200)
get "golang.org/x/net/context": found meta tag main.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net/context?go-get=1
get "golang.org/x/net/context": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
github.com/boltdb/bolt (download)
github.com/steveyen/gtreap (download)
github.com/golang/protobuf (download)
github.com/blevesearch/go-porterstemmer (download)
github.com/blevesearch/segment (download)
Fetching https://golang.org/x/text/unicode/norm?go-get=1
Parsing meta tags from https://golang.org/x/text/unicode/norm?go-get=1 (status code 200)
get "golang.org/x/text/unicode/norm": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/unicode/norm?go-get=1
get "golang.org/x/text/unicode/norm": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
golang.org/x/text (download)
Fetching https://golang.org/x/text/transform?go-get=1
Parsing meta tags from https://golang.org/x/text/transform?go-get=1 (status code 200)
get "golang.org/x/text/transform": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/transform?go-get=1
get "golang.org/x/text/transform": verifying non-authoritative meta tag
github.com/willf/bitset (download)
github.com/syndtr/goleveldb (download)
github.com/golang/snappy (download)
github.com/couchbase/moss (download)
github.com/couchbase/ghistogram (download)
github.com/edsrzf/mmap-go (download)
github.com/rcrowley/go-metrics (download)
pi@Iecep:~ $ go get github.com/GeertJohan/go.rice
pi@Iecep:~ $ go get github.com/GeertJohan/go.rice/rice
pi@Iecep:~ $ go install github.com/GeertJohan/go.rice
pi@Iecep:~ $ go install github.com/GeertJohan/go.rice/rice
pi@Iecep:~ $ go get github.com/akhenakh/gozim/...
pi@Iecep:~ $ cd $GOPATH/src/github.com/akhenakh/gozim
pi@Iecep:~/go/src/github.com/akhenakh/gozim $ go build github.com/akhenakh/gozim/cmd/gozimhttpd
pi@Iecep:~/go/src/github.com/akhenakh/gozim $ go build github.com/akhenakh/gozim/cmd/gozimindex
pi@Iecep:~/go/src/github.com/akhenakh/gozim $ rice append --exec gozimhttpd
no calls to rice.FindBox() or rice.MustFindBox() found in import path github.com/akhenakh/gozim
pi@Iecep:~/go/src/github.com/akhenakh/gozim $
Hello. Sorry if this is the wrong section for this. I want to install Gozim on the Raspberry Pi for classroom purposes. However, I can't seem to install it and various error pops up when trying to install the package.
I'm trying to download the package through terminal. Here's what I am doing : 1.) sudo apt-get install golang 2.) Followed the instructions and copy paste the codes (per line) in the terminal. 3.) Errors show which tells about something regarding directory etc.
I'm a complete newbie to Linux but I really need this type of software. Can anyone put a step by step guide on how to install Gozim on Raspberry Pi? Thank you in advance.