Member Site › Forums › Rosetta 3 › Rosetta 3 – General › Building Rosetta Problem: Processor architecture unsupported?
- This topic has 1 reply, 2 voices, and was last updated 12 years, 5 months ago by
Anonymous.
-
AuthorPosts
-
-
March 23, 2010 at 12:48 pm #599
Anonymous
Hey, when I try to build Rosetta on my computer it has the following compiling error.
Is there way I can get around this?
Javjvlf@diwi ~/.local/share/Trash/files/rosetta3.1_source/rosetta_source $ scons bin
scons: Reading SConscript files …scons: warning: The Options class is deprecated; use the Variables class instead.
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup.py”, line 45, in setup_build_optionsscons: warning: The EnumOption() function is deprecated; use the EnumVariable() function instead.
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup.py”, line 53, in setup_build_optionsscons: warning: The ListOption() function is deprecated; use the ListVariable() function instead.
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup.py”, line 61, in setup_build_options
Traceback (most recent call last):
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/SConstruct”, line 137, in main
build = SConscript(“tools/build/setup.py”)
File “/usr/lib/scons-1.2.0/SCons/Script/SConscript.py”, line 612, in __call__
return apply(method, args, kw)
File “/usr/lib/scons-1.2.0/SCons/Script/SConscript.py”, line 549, in SConscript
return apply(_SConscript, [self.fs,] + files, subst_kw)
File “/usr/lib/scons-1.2.0/SCons/Script/SConscript.py”, line 259, in _SConscript
exec _file_ in call_stack[-1].globals
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup.py”, line 410, in
build = setup()
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup.py”, line 401, in setup
build.options_requested, build.options = setup_build_options()
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup.py”, line 118, in setup_build_options
supported, actual.os, requested.arch
File “/home/jalfaro/.local/share/Trash/files/rosetta3.1_source/rosetta_source/tools/build/setup_platforms.py”, line 189, in select_arch
raise KeyError, “Processor architecture ‘%s’ is unsupported.” % (actual)
KeyError: “Processor architecture ‘Dual Core AMD Opteron(tm) Processor 265’ is unsupported.”
scons: done reading SConscript files.
scons: Building targets …
scons: `bin’ is up to date.
scons: done building targets.
-
March 20, 2012 at 5:06 pm #6833
Anonymous
The solution is to go to rosetta_source/tools/build/setup_platforms.py and add your processor type under the supported platforms. In your case you will add ‘Dual Core AMD Opteron(tm) Processor 265’ .
I believe your distro (Gentoo?) calls your platorms by a specific name and not by some generic name. They have added some specific processors to that file, but for obvious reasons, it is difficult to put every processor made in that file.
-
-
AuthorPosts
- You must be logged in to reply to this topic.