holochain / holochain-proto

Holographic storage for distributed applications -- a validating monotonic DHT "backed" by authoritative hashchains for data provenance (a Ceptr sub-project)
http://holochain.org
GNU General Public License v3.0
876 stars 143 forks source link

package repl not found in github.com/glycerine/zygomys #538

Open sufyanAbbasi opened 6 years ago

sufyanAbbasi commented 6 years ago

Hello Holoteam,

I noticed this error when running make on the Go installation instructions:

package github.com/glycerine/zygomys/repl: cannot find package "github.com/glycerine/zygomys/repl" in any of:
    /Users/<NAME>/.gvm/gos/go1.9.2/src/github.com/glycerine/zygomys/repl (from $GOROOT)
    /Users/<NAME>/.gvm/pkgsets/go1.9.2/global/src/github.com/glycerine/zygomys/repl (from $GOPATH)

I am running go1.9.2 on macOS Sierra 10.12.6, Macbook Air 13 inch 2013

Investigating further, it seems that the repl directory was renamed to zygos in the source folder, zygomys, here: github.com/glycerine/zygomys.

I noticed in line 12 of https://github.com/metacurrency/holochain/blob/master/zygosome.go that a dependency relies on the existence of the repl directory, so I symlinked repl to point tozygos, which resolved the above error, however introduced the following error:

./zygosome.go:30:14: undefined: zygo.Glisp

... though we can chalk that up to the hack. I'm not sure if this is a version specific issue or that the zygomys source changed recently, but I thought it would be useful for you to know.

aliblackwell commented 6 years ago

I am getting the same error building holochain on a Raspberry Pi running Ubuntu 10.04. I also updated line 12 of https://github.com/metacurrency/holochain/blob/master/zygosome.go and encountered the same error. So far I've manually installed https://github.com/zhemao/glisp and it still ain't working. Will update on here.

aliblackwell commented 6 years ago

This has been fixed in develop, I expect there'll be a new docker build once develop gets merged into master: https://github.com/metacurrency/holochain/commit/5c23ec9e532fc2b0f2f706f40555a8fcd3abc65c