Building problem from a beginner,anyone can help me?

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Building problem from a beginner,anyone can help me?

  • This topic has 4 replies, 3 voices, and was last updated 6 years ago by Anonymous.
Viewing 2 reply threads
  • Author
    Posts
    • #3004
      Anonymous

        hello, every superiors I have a building problem for rosetta3.9,when  i  input : >./scons.py  -j 4 mode=release bin,the ouput is:  -j: command not found

         

        how can i fix this problem? my system is Linux(Ubantu) Thank you for everyone!

      • #14430
        Anonymous

          This is an interesting and unusual problem.

          I wonder if there is a text encoding problem, so that the thing that looks like a j is not a j?

          Try copy/pasting this and tell me if it works.  I know it looks the same to you and I but it might look different to the computer.

           

          ./scons.py -j4 mode=release bin

           

          Also try just scons.py (with no arguments) and let me know if it starts doing anything. (You can kill it after 2 minutes or so; no need to wait for it to finish.)

          • #14431
            Anonymous

              Thank you for helping me!

              When i copy your code ,it is still doesn’t work and show:

              -j: command not found

              when i input python scons.py,it doing nothing.

              If I have installed SCons in a wrong way? i just download scon-3.0.0.tar.gz from website and uncompressed it,input :

              sudo python setup.py install

              did it wrong?

               

          • #14434
            Anonymous

              Did you originally type the ‘>’ as part of the command? If so, that would explain the initial issue, as that would cause your shell to view the scons.py as an output file and use the -j as the command.

              Unfortunately, that now means your ./scons.py script is no longer functional, as it would have been overwritten by the (non-working) output from your first run. This would be the reason why the `python scons.py` does not work. (As scons.py is now empty.) There really isn’t a way to recover from this, short of re-extracting your Rosetta installation. (Though if you have some other Rosetta installation elsewhere , you can just grab the `Rosetta/main/source/external/scons-local/scons.py` script from that installation and copy it to the same location in your 3.9 copy, as that particular script hasn’t changed for Rosetta since at least 2011. )

               

              • #14441
                Anonymous

                  Thank you very much for helping me ! I have fixed this problem with your method,but the building terminate  because of errors,the output is:

                  external/boost_1_55_0/boost/mpl/vector/aux_/tag.hpp:17:10: fatal error: boost/mpl/aux_/config/typeof.hpp: No such file or directory

                   #include <boost/mpl/aux_/config/typeof.hpp>

                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                  compilation terminated.

                  scons: *** [build/src/release/linux/4.4/64/x86/gcc/7/default/protocols/match/upstream/ProteinSCSampler.os] Error 1

                  scons: building terminated because of errors.

                  do you know how to fix it?  Thank you very much again!

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