README's install instructions fail on Ubuntu 14.04 server
mikegogulski opened this issue · 1 comments
mikegogulski commented
I've now tried this using Go 1.3.3 and Go 1.2.2 and get the same result:
root@zenoss:~# mkdir $GOPATH/{bin,pkg,src} -p
root@zenoss:~# mkdir $GOPATH/src/github.com/zenoss -p
root@zenoss:~# cd $GOPATH/src/github.com/zenoss
root@zenoss:~/mygo/src/github.com/zenoss# git clone https://github.com/control-center/serviced.git
Cloning into 'serviced'...
remote: Counting objects: 32659, done.
remote: Compressing objects: 100% (98/98), done.
remote: Total 32659 (delta 41), reused 0 (delta 0)
Receiving objects: 100% (32659/32659), 22.25 MiB | 586.00 KiB/s, done.
Resolving deltas: 100% (21352/21352), done.
Checking connectivity... done.
root@zenoss:~/mygo/src/github.com/zenoss# cd serviced
root@zenoss:~/mygo/src/github.com/zenoss/serviced# make
go get github.com/tools/godep
go install github.com/tools/godep
/root/mygo/bin/godep restore
touch .Godeps_restored
cd isvcs && make
make[1]: Entering directory `/root/mygo/src/github.com/zenoss/serviced/isvcs'
cp resources/logstash/logstash.conf.in resources/logstash/logstash.conf
make[1]: Leaving directory `/root/mygo/src/github.com/zenoss/serviced/isvcs'
cd web && make build_js
make[1]: Entering directory `/root/mygo/src/github.com/zenoss/serviced/web'
cat static/js/main.js static/js/controllers/BackupRestoreControl.js static/js/controllers/CeleryLogicControl.js static/js/controllers/DeployedAppsControl.js static/js/controllers/DeployWizard.js static/js/controllers/DevControl.js static/js/controllers/HostDetailsControl.js static/js/controllers/HostsControl.js static/js/controllers/HostsMapControl.js static/js/controllers/IsvcsControl.js static/js/controllers/LanguageControl.js static/js/controllers/LogControl.js static/js/controllers/LoginControl.js static/js/controllers/NavbarControl.js static/js/controllers/PoolsControl.js static/js/controllers/PoolsDetailsControl.js static/js/controllers/ServicesMapControl.js static/js/controllers/SubServiceControl.js > static/js/controlplane.js || rm -rf static/js/controlplane.js
makefile:46: WARNING: This is a scurrilous lie. We are not minifying anything.
cp static/js/controlplane.js static/js/controlplane.min.js
make[1]: Leaving directory `/root/mygo/src/github.com/zenoss/serviced/web'
go build -ldflags "-X main.Version 0.8.0 -X main.Giturl '' -X main.Gitcommit b5e106f -X main.Gitbranch develop -X main.Date 'Sat Oct 4 14:02:31 UTC 2014' -X main.Buildtag 0"
main.go:19:2: cannot find package "github.com/control-center/serviced/cli/api" in any of:
/usr/local/go/src/pkg/github.com/control-center/serviced/cli/api (from $GOROOT)
/root/mygo/src/github.com/control-center/serviced/cli/api (from $GOPATH)
main.go:20:2: cannot find package "github.com/control-center/serviced/cli/cmd" in any of:
/usr/local/go/src/pkg/github.com/control-center/serviced/cli/cmd (from $GOROOT)
/root/mygo/src/github.com/control-center/serviced/cli/cmd (from $GOPATH)
main.go:21:2: cannot find package "github.com/control-center/serviced/servicedversion" in any of:
/usr/local/go/src/pkg/github.com/control-center/serviced/servicedversion (from $GOROOT)
/root/mygo/src/github.com/control-center/serviced/servicedversion (from $GOPATH)
make: *** [serviced] Error 1
root@zenoss:~/mygo/src/github.com/zenoss/serviced#
wplu commented
have not heard anything in a while