Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
195 stars 32 forks source link

Linux Build Instructions Fail #22

Closed chrisengel closed 4 years ago

chrisengel commented 4 years ago

Description

I try to follow the build.md instructions for Linux and one of the commands fails.

It would be helpful if there was a list of all dependencies as well as even a pre-built .appImage one can use to run Green.

Version

Steps to reproduce

Go to https://github.com/Blockstream/green_qt/blob/master/BUILD.md

follow instructions: clone repo

then do next step:

sudo ./tools/bionic_deps.sh

And on this step it fails.

Expected behaviour

I expect the step to succeed so I can finish build instructions.

Actual behaviour

on this I get the error:

./tools/bionic_deps.sh: line 4: /qtversion.env: No such file or directory

I can then no longer proceed

Screenshots

image

Device or machine

Ubuntu 20.04 LTS, Gnome 3.36.1, X11, Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8 , 16gb ram

Additional info

It is a fresh Ubuntu installation and I have a lot of essential build tools already installed, as well as qt.

domegabri commented 4 years ago

Hi, thanks for reporting. we are going to improve docs because they are lacking some new developments on the build process.

greenaddress commented 4 years ago

@chrisengel it may be easier to build with docker.

You can either build the docker image yourself:

docker build . -t selfbuilt

docker run -v $PWD:/ga selfbuilt /bin/sh -c "cd /ga && ./tools/buildgreen.sh linux && cp /docker_bld_root/build-linux-gcc/Green /ga/Green"

or you can use our pre-built:

docker run -v $PWD:/ga greenaddress/ci@sha256:d0484f3fe4d0acdc83ba17f8799b957502be90996dbd386900db5851f964e92b /bin/sh -c "cd /ga && ./tools/buildgreen.sh linux && cp /docker_bld_root/build-linux-gcc/Green /ga/Green"

greenaddress commented 4 years ago

instructions have been updated, closing, feel free to reopen if you have any issue or feedback!