ethereum/clef-ui

Installation errors (debian 9)

holiman opened this issue · 3 comments

Tried to make a dev environment on debian-9, but ran into some errors:

user@debian-work:~/go/src/github.com/kyokan/clef-ui$ make deps
go get -u github.com/ethereum/go-ethereum
go get -u github.com/therecipe/qt
go get -u github.com/sirupsen/logrus
go get -u github.com/dchest/siphash
go get -u github.com/powerman/rpc-codec/jsonrpc2
go get -u golang.org/x/tools/imports
go install github.com/ethereum/go-ethereum/cmd/clef
go install github.com/therecipe/qt
go install github.com/therecipe/qt/cmd/qtdeploy
go install github.com/therecipe/qt/cmd/qtsetup
make: dep: Command not found
Makefile:6: recipe for target 'deps' failed
make: *** [deps] Error 127

Most of it seemed to work, so I continued anyway

user@debian-work:~/go/src/github.com/kyokan/clef-ui$ make run
go build -o ./build/clefui ./cmd/clefui/main.go
# github.com/therecipe/qt/quickcontrols2
quickcontrols2.cpp:9:22: fatal error: QByteArray: No such file or directory
 #include <QByteArray>
                      ^
compilation terminated.
# github.com/therecipe/qt/core
core.cpp:9:30: fatal error: QAbstractAnimation: No such file or directory
 #include <QAbstractAnimation>
                              ^
compilation terminated.
Makefile:26: recipe for target 'build' failed
make: ***
Error 2

I did install Qt 5.11.1 according to the instructions, using the official package. I did not install 'system package managers version' -- I thought that should not be needed, since it said:

Your applications won't run on a different distro than the one you used to deploy your application, but this is currently the only option to make your application look native on your distro.

And we want cross-platform, right?

@holiman We'll take a look and fix. Are you running Debian 9 in a VM? Will need to set up a Debian env myself to reproduce.

Yes, it's a VM

I got around it...