Rosetta 3.3 Compilation error

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Rosetta 3.3 Compilation error

Viewing 1 reply thread
  • Author
    Posts
    • #1195
      Anonymous

        Hello. I am quite new to Rosetta, Cygwin, Scons. I am currently running Windows 7 64-bit. I so far have installed MinGW, cygwin, python 2.7.2 and scons.

        Here is the message I get from cygwin:

        $ scons.bat bin mode=release
        scons: Reading SConscript files …
        Traceback (most recent call last):
        File “C:usersjaewondocumentssourcerosettarosetta_sourceSConstruct”, line 139, in main
        build = SConscript(“tools/build/setup.py”)
        File “C:Python27Scripts..Libsite-packagesscons-2.1.0SConsScriptSConscript.py”, line 614, in __call__
        return method(*args, **kw)
        File “C:Python27Scripts..Libsite-packagesscons-2.1.0SConsScriptSConscript.py”, line 551, in SConscript
        return _SConscript(self.fs, *files, **subst_kw)
        File “C:Python27Scripts..Libsite-packagesscons-2.1.0SConsScriptSConscript.py”, line 260, in _SConscript
        exec _file_ in call_stack[-1].globals
        File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup.py”, line 411, in
        build = setup()
        File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup.py”, line 402, in setup
        build.options_requested, build.options = setup_build_options()
        File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup.py”, line 108, in setup_build_options
        supported, actual.cxx, requested.cxx_ver
        File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup_platforms.py”, line 83, in select_compiler_version
        (actual, compiler)
        KeyError: “Unknown version number 8.0 for compiler ‘gcc'”
        scons: done reading SConscript files.
        scons: Building targets …
        scons: `bin’ is up to date.
        scons: done building targets.

        I had to add the Python27/scripts/ to the $PATH in order to get scons to work.

        Any inputs are appreciated.

      • #6781
        Anonymous

          A) Few of the developers, and none that frequent these boards, have ever used cygwin Rosetta. We aren’t good at helping with cygwin.

          B) The bleeding-edge version of GCC is 4.7. How did you get a version of GCC called 8.0? You can try fixing this by adding 8.0 to the list in tools/build/options.settings, but since 8.0 doesn’t actually exist, I have no idea what it’s trying to use as GCC.

        • #6784
          Anonymous

            This is the new error message I get from cygwin. Is there an alternative to cygwin that someone here knows well? As for GCC, I have no idea because all I did was install MinGW.

            $ scons.bat bin
            scons: Reading SConscript files …
            Traceback (most recent call last):
            File “C:usersjaewondocumentssourcerosettarosetta_sourceSConstruct”, line 139, in main
            build = SConscript(“tools/build/setup.py”)
            File “C:Python27Scripts..Libsite-packagesscons-2.1.0SConsScriptSConscript.py”, line 614, in __call__
            return method(*args, **kw)
            File “C:Python27Scripts..Libsite-packagesscons-2.1.0SConsScriptSConscript.py”, line 551, in SConscript
            return _SConscript(self.fs, *files, **subst_kw)
            File “C:Python27Scripts..Libsite-packagesscons-2.1.0SConsScriptSConscript.py”, line 260, in _SConscript
            exec _file_ in call_stack[-1].globals
            File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup.py”, line 411, in
            build = setup()
            File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup.py”, line 402, in setup
            build.options_requested, build.options = setup_build_options()
            File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup.py”, line 118, in setup_build_options
            supported, actual.os, requested.arch
            File “C:usersjaewondocumentssourcerosettarosetta_sourcetoolsbuildsetup_platforms.py”, line 195, in select_arch
            raise KeyError, “Processor architecture ‘%s’ is unsupported.” % (actual)
            KeyError: “Processor architecture ‘Intel64 Family 6 Model 30 Stepping 5, GenuineIntel’ is unsupported.”

          • #6786
            Anonymous

              Well, not to be flippant, but the simplest alternative is to install a Linux operating system. Ubuntu dual-boots just fine on a Windows machine in my experience, and the ubuntu forums are extremely helpful in getting such systems working.

              Generally, if this is a desktop computer, it isn’t going to have the power to run Rosetta effectively anyway for anything other than scoring and fixbb design tasks. That’s why we don’t prioritize the cygwin build; nobody knows of a large cluster of windows computers to run on anyway (excepting BOINC). (I may be pessimistic here…the code I run is flexible backbone plus design, so it’s about the slowest).

              I’ve contacted the one guy I know who knows something about cygwin to see if he can help. Also, you can search “cygwin” on these forums to see if someone else had the same problem…

            • #6790
              Anonymous

                I thank you for your timely response. I will most definitely consider installing Ubuntu, but my lack of experience with Linux may hinder my capabilities.

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