Steps to reproduce this issue:
- Clear minimal installation of Ubuntu 18.04.1
- Install requirements
0sudo apt install build-essential libtool automake pkg-config cmake curl git
- Clone repository
0git clone https://github.com/bitcoin/bitcoin.git
1cd bitcoin
- Build dependencies
0pushd depends
1make
2popd
The final output of make
:
copying packages: native_protobuf boost openssl libevent zeromq qrencode protobuf zlib qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans bdb miniupnpc
to: /home/hebasto/bitcoin/depends/x86_64-pc-linux-gnu
- Build
0./autogen.sh
1./configure --prefix=$PWD/depends/x86_64-pc-linux-gnu
2make
Note the using of the --prefix
option. That is the only way to build successfully I’ve found.
./configure --help
gives description confusing to me:
0Installation directories:
1 --prefix=PREFIX install architecture-independent files in PREFIX
2 [/usr/local]
The question ONE:
Why can’t ./configure
without any options find out self-compiled dependencies in the depends/
directory?
Is it intentional?
The question TWO:
What does --prefix
do in ./configure --prefix=$PWD/depends/x86_64-pc-linux-gnu
exactly?