[Babel-users] BabelWeb 2

Martin Weinelt martin at darmstadt.freifunk.net
Fri Jul 28 17:39:27 UTC 2017


On 07/28/2017 06:49 PM, Juliusz Chroboczek wrote:
> The sources are at
> 
>   https://github.com/Vivena/babelweb2
> 

Cool, but how do I build this thing?

% go get -v github.com/Vivena/babelweb2
github.com/Vivena/babelweb2 (download)
package babelweb2/parser: unrecognized import path "babelweb2/parser"
(import path does not begin with hostname)
package babelweb2/ws: unrecognized import path "babelweb2/ws" (import
path does not begin with hostname)

So `go get` doesn't work because of import paths.

And building it from within the GOPATH doesn't seem to work either:

~/go/src/github.com/Vivena/babelweb2 (git)-[master] % make
go build
main.go:4:2: cannot find package "babelweb2/parser" in any of:
	/usr/lib/go/src/babelweb2/parser (from $GOROOT)
	/home/hexa/go/src/babelweb2/parser (from $GOPATH)
main.go:5:2: cannot find package "babelweb2/ws" in any of:
	/usr/lib/go/src/babelweb2/ws (from $GOROOT)
	/home/hexa/go/src/babelweb2/ws (from $GOPATH)
make: *** [Makefile:3: all] Error 1


Martin



More information about the Babel-users mailing list