Building Rosetta Problem: Processor architecture unsupported?

Member Site Forums Rosetta 3 Rosetta 3 – General Building Rosetta Problem: Processor architecture unsupported?

Viewing 1 reply thread
  • Author
    Posts
    • #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?
        Jav

        jvlf@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_options

        scons: 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_options

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

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

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