Skip to content

OSX Build failing = ./include/rocksdb/statistics.h:9:10: fatal error: 'atomic' file not found #12

Closed

Description

@wildthink

I think I'm following the INSTALL correctly but still getting an error.

./include/rocksdb/statistics.h:9:10: fatal error: 'atomic' file not found

Activity

  1. igorcanadi commented on Nov 20, 2013

    @igorcanadi
    Contributor

    Which g++ version are you using?

  2. liukai commented on Nov 20, 2013

    @liukai
    Contributor

    I think I'll revise the installation guide for mac users. Seems updating to the latest xcode is not enough.

  3. liukai commented on Nov 20, 2013

    @liukai
    Contributor

    @wildthink, can you try the updated instructions for mac again: https://github.com/facebook/rocksdb/blob/master/INSTALL.md

    Let me know if there is still any problem.

  4. wildthink commented on Nov 20, 2013

    @wildthink
    Author

    Not there yet :-(
    Running OSX 10.8.5 (Mountain Lion)

    rocksdb git:(master) ✗ gcc -v
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
    Target: x86_64-apple-darwin12.5.0

    Thread model: posix

    ➜ rocksdb git:(master) ✗ xcode-select --version
    xcode-select version 2311.
    ➜ rocksdb git:(master) ✗ xcode-select --install
    xcode-select: Error: unknown command option '--install'.

    xcode-select: Report or change the path to the active
    Xcode installation for this machine.

    Usage: xcode-select --print-path
    Prints the path of the active Xcode folder
    or: xcode-select --switch <xcode_path>
    Sets the path for the active Xcode folder
    or: xcode-select --version

    Prints the version of xcode-select

    brew tap homebrew/dupes; brew install gcc47 --use-llvm
    =>
    ➜ rocksdb git:(master) ✗ brew tap homebrew/dupes; brew install gcc47 --use-llvm
    Error: Already tapped!
    Error: No available formula for gcc47
    Searching taps...
    Error: 404 Not Found
    Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:277:in open_http' /usr/local/Library/Homebrew/cmd/search.rb:99:invalue'
    /usr/local/Library/Homebrew/cmd/search.rb:99:in search_taps' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:230:ininject'
    /usr/local/Library/Homebrew/cmd/search.rb:96:in each' /usr/local/Library/Homebrew/cmd/search.rb:96:ininject'
    /usr/local/Library/Homebrew/cmd/search.rb:96:in search_taps' /usr/local/Library/Homebrew/cmd/install.rb:41:ininstall'
    /usr/local/Library/brew.rb:91:in `send'
    /usr/local/Library/brew.rb:91

  5. juneng603 commented on Nov 21, 2013

    @juneng603

    @wildthink mayby you need to install a newer version of xcode.

    $  xcode-select --version
    xcode-select version 2333.
    

    and the option '--install' of a xcode-select command is working for me.

    if it is not the latest version of a xcode, 'xcode-select --install' should work normally. please, try to install a xcode again, It will be better to quick-fix for this problem

  6. added a commit that references this issue on Sep 11, 2018
  7. added a commit that references this issue on Jun 19, 2019
  8. 51 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions