rosetta 3.2.1 installation on fedora core 6

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install rosetta 3.2.1 installation on fedora core 6

Viewing 4 reply threads
  • Author
    Posts
    • #918
      Anonymous

        Hi,

        I am getting the floowing errors after executing the “scons bin mode=release” command:-
        ===========================================================================================
        scons: Reading SConscript files …
        svn: ‘.’ is not a working copy

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in

        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
        File “/usr/local/rosetta-3.2.1/rosetta_source/SConscript”, line 40, in
        scons: done reading SConscript files.
        scons: Building targets …
        g++ -o build/src/release/linux/2.6/32/x86/gcc/protocols/init.os -c -std=c++98 -pipe -ffor-scope -W -Wall -pedantic -Wno-long-long -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/32/gcc -Isrc/platform/linux/32 -Isrc/platform/linux -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/protocols/init.cc
        src/numeric/MathVector.hh:108: error: parse error in template argument list
        src/numeric/MathMatrix.hh:127: error: parse error in template argument list
        scons: *** [build/src/release/linux/2.6/32/x86/gcc/protocols/init.os] Error 1
        scons: building terminated because of errors.
        =============================================================================

        thanks in advance for help

        BHARAT

      • #5622
        Anonymous

          Unfortunately this isn’t an error I’ve seen elsewhere, and it is one I cannot duplicate. My best advice is to try a different version of GCC.

        • #5650
          Anonymous

            The o: command not solved bug is due to SCons failing to find your compiler. This was how another user got it fixed:

            http://www.rosettacommons.org/content/problems-installing-rosetta-centos-fixed#comment-1999

            We can explore other methods if that post doesn’t work.

          • #5666
            Anonymous

              What does “which g++” return?

              It may help to copy tools/build/site.settings.topsail to site.settings. This increases the number of places SCons looks when trying to find commands.

            • #5778
              Anonymous

                Finally Rosetta build success.
                Fedora 14 64bit gcc 4.5
                thank you all

              • #5624
                Anonymous

                  I have tried the installation on Fedora 14 which is having gcc 4.5.1.. but I am still getting the following error after executing the scons command :-

                  scons: Reading SConscript files …
                  Traceback (most recent call last):
                  File “/root/Documents/rosetta-3.2.1/rosetta_source/SConstruct”, line
                  139, in main
                  build = SConscript(“tools/build/setup.py”)
                  File “/usr/lib/scons/SCons/Script/SConscript.py”, line 614, in __call__
                  return method(*args, **kw)
                  File “/usr/lib/scons/SCons/Script/SConscript.py”, line 551, in SConscript
                  return _SConscript(self.fs, *files, **subst_kw)
                  File “/usr/lib/scons/SCons/Script/SConscript.py”, line 260, in _SConscript
                  exec _file_ in call_stack[-1].globals
                  File “/root/Documents/rosetta-3.2.1/rosetta_source/tools/build/setup.py”,
                  line 411, in
                  build = setup()
                  File “/root/Documents/rosetta-3.2.1/rosetta_source/tools/build/setup.py”,
                  line 402, in setup
                  build.options_requested, build.options = setup_build_options()
                  File “/root/Documents/rosetta-3.2.1/rosetta_source/tools/build/setup.py”,
                  line 108, in setup_build_options
                  supported, actual.cxx, requested.cxx_ver
                  File “/root/Documents/rosetta-3.2.1/rosetta_source/tools/build/setup_platforms.py”,
                  line 83, in select_compiler_version
                  (actual, compiler)
                  KeyError: “Unknown version number 4.5 for compiler ‘gcc'”
                  scons: done reading SConscript files.
                  scons: Building targets …
                  scons: `bin’ is up to date.
                  scons: done building targets.

                • #5625
                  Anonymous
                  • #5638
                    Anonymous

                      I tried with options.settings file … But then also I am getting the following error :-
                      sh: o: command not found
                      gcc -o build/src/release/linux/2.6/32/x86/gcc/libdevel.so -shared -Llib -Lexternal/lib -Lbuild/src/release/linux/2.6/32/x86/gcc -Lsrc -L/usr/local/lib -L/usr/lib -lprotocols -lcore -lnumeric -lutility -lObjexxFCL -lz
                      /usr/bin/ld: cannot find -lprotocols
                      /usr/bin/ld: cannot find -lcore
                      /usr/bin/ld: cannot find -lnumeric
                      /usr/bin/ld: cannot find -lutility
                      /usr/bin/ld: cannot find -lObjexxFCL
                      /usr/bin/ld: cannot find -lz
                      collect2: ld returned 1 exit status
                      scons: *** [build/src/release/linux/2.6/32/x86/gcc/libdevel.so] Error 1
                      scons: building terminated because of errors.

                    • #5655
                      Anonymous

                        After overriding for cc and cxx …and executing the scons command – I am getting the following error:-

                        scons: Reading SConscript files …
                        sh: svnversion: command not found
                        sh: svn: command not found

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in

                        scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
                        File “/usr/local/rosetta_source/SConscript”, line 40, in
                        scons: done reading SConscript files.
                        scons: Building targets …
                        g++ -o build/src/release/linux/2.6/32/x86/gcc/apps/public/AbinitioRelax.o -c -std=c++98 -pipe -ffor-scope -W -Wall -pedantic -Wno-long-long -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/32/gcc -Isrc/platform/linux/32 -Isrc/platform/linux -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/apps/public/AbinitioRelax.cc
                        sh: g++: command not found
                        scons: *** [build/src/release/linux/2.6/32/x86/gcc/apps/public/AbinitioRelax.o] Error 127
                        scons: building terminated because of errors.

                    Viewing 4 reply threads
                    • You must be logged in to reply to this topic.