# Building problem from a beginner,anyone can help me?

5 posts / 0 new
Building problem from a beginner,anyone can help me?
#1

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!

Category:
Post Situation:
Wed, 2018-09-19 09:38
Gu

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

Wed, 2018-09-19 12:28
smlewis

Thank you for helping me!

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

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?

Wed, 2018-09-19 23:59
Gu

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

Thu, 2018-09-20 08:23
rmoretti

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!

Thu, 2018-09-20 10:33
Gu