<p>Found the problem. Had these lines in my <code>.bashrc</code> and commenting them out fixed it:</p>



<pre><code>alias gcc="gcc-8"
alias g++="g++-8"
export CC="gcc"
export CXX="/usr/bin/gcc-8"
export PATH=/usr/local/clang_8.0.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/clang_8.0.0/lib:$LD_LIBRARY_PATH
</code></pre>

<p>Why this caused <code>./configure</code> to error out, I have no idea. But problem solved.  </p>

CC BY-SA 4.0
2019-10-09T20:00:13.047Z
2019-10-09T20:00:13.047Z
wednesdaymiko
<p>On Ubuntu 18.04 using the <code>/depends</code> for <code>./configure</code> but I keep getting this error:</p>

<pre><code>checking for boostlib &gt;= 1.47.0 (104700) includes in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../include"... yes
checking for boostlib &gt;= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib/x86_64-linux-gnu"... no
checking for boostlib &gt;= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib64"... no
checking for boostlib &gt;= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../libx32"... no
checking for boostlib &gt;= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib"... yes
checking for boostlib &gt;= 1.47.0 (104700)... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-mt-x64... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem-mt-x64... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-mt-x64... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono-mt-x64... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking for dynamic linked boost test... no
checking for mismatched boost c++11 scoped enums... ok
configure: error: No working boost sleep implementation found.
</code></pre>

<p>The command called is</p>

<pre><code>./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-wallet
</code></pre>

<p>. I've tried this without the depends and with. Tried to checkout to <code>0.18.1</code> and on master, but getting same error. Help very much appreciated.</p>

<hr>

<p>Extra info from <code>config.log</code></p>

<pre><code>uname -m = x86_64
uname -r = 4.15.0-65-generic
uname -s = Linux
uname -v = #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019
</code></pre>

<p>More from <code>config.log</code> here: <a href="https://paste.ubuntu.com/p/v6nhPvW68s/" rel="nofollow noreferrer">https://paste.ubuntu.com/p/v6nhPvW68s/</a></p>

CC BY-SA 4.0
2019-10-07T02:36:14.603Z
Seems like the depends build wasn't completed. Try rebuilding the dependencies and see if there are any errors there.
Ava Chow
CC BY-SA 4.0
2019-10-09T15:51:13.870Z
@AndrewChow Running `make` in `/depends` gives me
`copying packages: boost openssl libevent qrencode zlib qt expat libxcb xcb_proto libXau xproto freetype fontconfig bdb miniupnpc zeromq
to: /home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu`

Doesn't seem to give any errors when building depends.
wednesdaymiko
CC BY-SA 4.0
2019-10-09T17:05:48.093Z
Tried rebuilding twice by deleting /depends, doesn't seem to make a difference.
wednesdaymiko
<compiling>
configure: error: No working boost sleep implementation found
wednesdaymiko
# configure: error: No working boost sleep implementation found

(Asked by: username_0 on 2019-10-06)

On Ubuntu 18.04 using the `/depends` for `./configure` but I keep getting this error:

```
checking for boostlib >= 1.47.0 (104700) includes in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../include"... yes
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib/x86_64-linux-gnu"... no
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib64"... no
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../libx32"... no
checking for boostlib >= 1.47.0 (104700) lib path in "/home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu/share/../lib"... yes
checking for boostlib >= 1.47.0 (104700)... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-mt-x64... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem-mt-x64... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-mt-x64... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono-mt-x64... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking for dynamic linked boost test... no
checking for mismatched boost c++11 scoped enums... ok
configure: error: No working boost sleep implementation found.

```

The command called is

```
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-wallet

```

. I've tried this without the depends and with. Tried to checkout to `0.18.1` and on master, but getting same error. Help very much appreciated.

---

Extra info from `config.log`

```
uname -m = x86_64
uname -r = 4.15.0-65-generic
uname -s = Linux
uname -v = #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019

```

More from `config.log` here: <https://paste.ubuntu.com/p/v6nhPvW68s/>

**Tags:** compiling

> **Comments:**
> **username_1**: Seems like the depends build wasn't completed. Try rebuilding the dependencies and see if there are any errors there.  
> **username_0**: @AndrewChow Running `make` in `/depends` gives me `copying packages: boost openssl libevent qrencode zlib qt expat libxcb xcb_proto libXau xproto freetype fontconfig bdb miniupnpc zeromq to: /home/tony/crypto/bitcoin/depends/x86_64-pc-linux-gnu`  Doesn't seem to give any errors when building depends.  
> **username_0**: Tried rebuilding twice by deleting /depends, doesn't seem to make a difference.  

---

## 1 answers

### Answer by username_0 on 2019-10-09. Score: -1 | Accepted answer

Found the problem. Had these lines in my `.bashrc` and commenting them out fixed it:

```
alias gcc="gcc-8"
alias g++="g++-8"
export CC="gcc"
export CXX="/usr/bin/gcc-8"
export PATH=/usr/local/clang_8.0.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/clang_8.0.0/lib:$LD_LIBRARY_PATH

```

Why this caused `./configure` to error out, I have no idea. But problem solved.


---

