# Rosetta 3.3 Compilation error

5 posts / 0 new
Rosetta 3.3 Compilation error
#1

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:\users\jaewon\documents\source\rosetta\rosetta_source\SConstruct", line 139, in main build = SConscript("tools/build/setup.py") File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\SConscript.py", line 614, in __call__ return method(*args, **kw) File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\SConscript.py", line 551, in SConscript return _SConscript(self.fs, *files, **subst_kw) File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\SConscript.py", line 260, in _SConscript exec _file_ in call_stack[-1].globals File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup.py", line 411, in build = setup() File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup.py", line 402, in setup build.options_requested, build.options = setup_build_options() File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup.py", line 108, in setup_build_options supported, actual.cxx, requested.cxx_ver File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup_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.

Post Situation:
Thu, 2012-03-08 01:22
twopint23oz

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.

Thu, 2012-03-08 06:42
smlewis

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
Traceback (most recent call last):
File "C:\users\jaewon\documents\source\rosetta\rosetta_source\SConstruct", line 139, in main
build = SConscript("tools/build/setup.py")
File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\SConscript.py", line 614, in __call__
return method(*args, **kw)
File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\SConscript.py", line 551, in SConscript
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Python27\Scripts\..\Lib\site-packages\scons-2.1.0\SCons\Script\SConscript.py", line 260, in _SConscript
exec _file_ in call_stack[-1].globals
File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup.py", line 411, in
build = setup()
File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup.py", line 402, in setup
build.options_requested, build.options = setup_build_options()
File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup.py", line 118, in setup_build_options
supported, actual.os, requested.arch
File "C:\users\jaewon\documents\source\rosetta\rosetta_source\tools\build\setup_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."

Thu, 2012-03-08 09:37
twopint23oz

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...

Thu, 2012-03-08 11:01
smlewis

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.

Thu, 2012-03-08 16:56
twopint23oz