{"action":"closed","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13595","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13595/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13595/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/13595/events","html_url":"https://github.com/bitcoin/bitcoin/issues/13595","id":338240633,"node_id":"MDU6SXNzdWUzMzgyNDA2MzM=","number":13595,"title":"Yet another build issue - Mac OS X - error: unknown type name 'atomic_flag' atomic_flag_clear","user":{"login":"stefek99","id":249703,"node_id":"MDQ6VXNlcjI0OTcwMw==","avatar_url":"https://avatars3.githubusercontent.com/u/249703?v=4","gravatar_id":"","url":"https://api.github.com/users/stefek99","html_url":"https://github.com/stefek99","followers_url":"https://api.github.com/users/stefek99/followers","following_url":"https://api.github.com/users/stefek99/following{/other_user}","gists_url":"https://api.github.com/users/stefek99/gists{/gist_id}","starred_url":"https://api.github.com/users/stefek99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefek99/subscriptions","organizations_url":"https://api.github.com/users/stefek99/orgs","repos_url":"https://api.github.com/users/stefek99/repos","events_url":"https://api.github.com/users/stefek99/events{/privacy}","received_events_url":"https://api.github.com/users/stefek99/received_events","type":"User","site_admin":false},"labels":[{"id":234879,"node_id":"MDU6TGFiZWwyMzQ4Nzk=","url":"https://api.github.com/repos/bitcoin/bitcoin/labels/macOS","name":"macOS","color":"660000","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-04T11:35:06Z","updated_at":"2018-07-21T07:03:32Z","closed_at":"2018-07-21T07:03:32Z","author_association":"NONE","body":"Goal: getting command line utility, analyse blockchain, learn more about transactions, analysis, everything...\r\n\r\nI'm following instructions from here: https://bitcoin.stackexchange.com/questions/43148/bitcoin-cli-not-found-on-osx\r\n\r\n---\r\n\r\nWhen I run `./configure` I ran into errors.\r\n\r\n`configure: error: libdb_cxx headers missing, Bitcoin Core requires this library for wallet functionality (--disable-wallet to disable wallet functionality)`\r\n\r\nSome Google searches:\r\n\r\n```brew install berkeley-db4```\r\n\r\n```\r\n==> ../dist/configure --disable-debug --prefix=/usr/local/Cellar/berkeley-db4/4.8.30 --mandir=/usr/local/Cellar/berkeley-db4/4.8.30/share/man --enable-cxx\r\n==> make install\r\nLast 15 lines from /Users/ms/Library/Logs/Homebrew/berkeley-db4/02.make:\r\n                                  ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic:1789:28: error: unknown type name 'atomic_flag'\r\natomic_flag_clear(volatile atomic_flag* __o) _NOEXCEPT\r\n                           ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic:1796:19: error: unknown type name 'atomic_flag'\r\natomic_flag_clear(atomic_flag* __o) _NOEXCEPT\r\n                  ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic:1803:37: error: unknown type name 'atomic_flag'\r\natomic_flag_clear_explicit(volatile atomic_flag* __o, memory_order __m) _NOEXCEPT\r\n                                    ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/atomic:1810:28: error: unknown type name 'atomic_flag'\r\natomic_flag_clear_explicit(atomic_flag* __o, memory_order __m) _NOEXCEPT\r\n                           ^\r\n11 errors generated.\r\nmake: *** [cxx_db.lo] Error 1\r\n\r\nREAD THIS: https://git.io/brew-troubleshooting\r\n\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:359:in `open_http': 422 Unprocessable Entity (GitHub::Error)\r\nValidation Failed\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open'\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop'\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:210:in `catch'\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop'\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri'\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:717:in `open'\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:31:in `open'\r\n\tfrom /usr/local/Library/Homebrew/utils.rb:523:in `open'\r\n\tfrom /usr/local/Library/Homebrew/utils.rb:554:in `issues_matching'\r\n\tfrom /usr/local/Library/Homebrew/utils.rb:586:in `issues_for_formula'\r\n\tfrom /usr/local/Library/Homebrew/exceptions.rb:222:in `fetch_issues'\r\n\tfrom /usr/local/Library/Homebrew/exceptions.rb:218:in `issues'\r\n\tfrom /usr/local/Library/Homebrew/exceptions.rb:263:in `dump'\r\n\tfrom /usr/local/Library/brew.rb:132:in `rescue in <main>'\r\n\tfrom /usr/local/Library/brew.rb:28:in `<main>'\r\n```\r\n\r\nI have `Bitcoin Core` aka `Bitcoin-QT` running, so actually I don't need to install wallet, tried: `./configure --disable-wallet;`\r\n\r\nNow run into:\r\n`configure: error: No working boost sleep implementation found.`\r\n\r\n---\r\n\r\nSomewhere found that I can run a commands like that:\r\n\r\n![image](https://user-images.githubusercontent.com/249703/42274788-dca69e08-7f85-11e8-91f8-b555a312fba6.png)\r\n\r\n`/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -version`\r\n\r\nBut it seems like a starting parameters, not if I want to get a block or transaction by hash...\r\n\r\n"}}
{"actor":{"display_login":"fanquake"}}