Compile Error on OS X El Capitan

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Compile Error on OS X El Capitan

Viewing 1 reply thread
  • Author
    Posts
    • #2402
      Anonymous

        I’m trying to install Rosetta 2015.05 on my Mac OS X El Capital but the build keeps terminating. I’ve also tried uninstalling and reinstalling xcode. Any help is appreciated, thanks!

        $ clang -v

        Apple LLVM version 7.3.0 (clang-703.0.29)

        Target: x86_64-apple-darwin15.4.0

        Thread model: posix

        InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

        campus-040-240:source gracie$ 

         

        These are the error’s I’ve been getting

        $ scons -j4 bin/score.macosclangrelease mode=release

        In file included from src/basic/Tracer.hh:34:

        src/utility/thread/backwards_thread_local.hh:19:9: error: keyword is hidden by macro definition

              [-Werror,-Wkeyword-macro]

        #define thread_local

                ^

        1 error generated.

        scons: *** [build/src/release/macos/15.4/64/x86/clang/7.3/default/protocols/match/output/MatchScoreWriter.os] Error 1

        In file included from src/apps/public/analysis/score.cc:36:

        In file included from src/core/scoring/electron_density/util.hh:28:

        In file included from src/basic/Tracer.hh:34:

        src/utility/thread/backwards_thread_local.hh:19:9: error: keyword is hidden by macro definition

              [-Werror,-Wkeyword-macro]

        #define thread_local

                ^

        In file included from src/protocols/match/output/MatchProcessor.cc:29:

        In file included from src/basic/Tracer.hh:34:

        src/utility/thread/backwards_thread_local.hh:19:9: error: keyword is hidden by macro definition

              [-Werror,-Wkeyword-macro]

        #define thread_local

                ^

        1 error generated.

        scons: *** [build/src/release/macos/15.4/64/x86/clang/7.3/default/protocols/match/output/MatchProcessor.os] Error 1

        In file included from src/protocols/match/output/PDBWriter.cc:34:

        In file included from src/basic/Tracer.hh:34:

        src/utility/thread/backwards_thread_local.hh:19:9: error: keyword is hidden by macro definition

              [-Werror,-Wkeyword-macro]

        #define thread_local

                ^

        1 error generated.

        scons: *** [build/src/release/macos/15.4/64/x86/clang/7.3/default/protocols/match/output/PDBWriter.os] Error 1

        1 error generated.

        scons: *** [build/src/release/macos/15.4/64/x86/clang/7.3/default/apps/public/analysis/score.o] Error 1

        scons: building terminated because of errors.

      • #11534
        Anonymous

          This is an error that’s  been fixed in more recent versions of Rosetta. I’d recommend downloading and compiling a more recent weekly release.

          If you absolutely need the 2015.05 version , then I’d recommend replacing the main/source/src/utility/thread/backwards_thread_local.hh file in the older version with the one from a more recent version — that probably will fix things, although it might also lead to different compilation issues.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.