- This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by Anonymous.
September 3, 2014 at 3:50 pm #1983Anonymous
I’m having trouble compiling rosetta 2014.34 on a red hat machine, and it looks like the problem may be with one or more missing features/attributes in one (or more) python modules. What versions of python (and I guess scons) are needed?
Thanks, – Mark
September 3, 2014 at 9:11 pm #10254Anonymous
We distribute scons with Rosetta, so you can simply use the ./scons.py script in the main/source/ directory, as opposed to a system-installed scons.
The Rosetta developers run a number of different system when compiling, so I think Rosetta should compile with anything from python 2.5 to python 2.7. My main machine is currently using python 2.7.6 on a CentOS 6.3. But others have other systems, so you probably don’t need to match that exactly.
What is the error message you’re getting? If you can cut&paste it here, we may be able to narrow down what the issue is a little closer. (It may not be a Python versioning issue at all, just something that looks like one.)
September 4, 2014 at 5:08 pm #10259Anonymous
Hello again, and thanks for the reply. The target system is still running CentOS 5.x (awaiting v. 7), whose system python is v2.4.4. The traceback is pasted below. For the time being, I’m just doing a static compile on a more current (Debian) machine, to transfer over to the higher cpu#/older OS machine for the actual runs.
Thanks again! – Mark
scons: Reading SConscript files …
Running versioning script … Done. (0.0 seconds)
Traceback (most recent call last):
File “/usr/local/rosetta_2014.34/main/source/SConstruct”, line 163, in main
File “/usr/local/rosetta_2014.34/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 614, in __call__
return method(*args, **kw)
File “/usr/local/rosetta_2014.34/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 551, in SConscript
return _SConscript(self.fs, *files, **subst_kw)
File “/usr/local/rosetta_2014.34/main/source/external/scons-local/scons-local-2.0.1/SCons/Script/SConscript.py”, line 260, in _SConscript
exec _file_ in call_stack[-1].globals
File “/usr/local/rosetta_2014.34/main/source/SConscript”, line 28, in ?
AttributeError: ‘module’ object has no attribute ‘check_call’
scons: done reading SConscript files.
September 4, 2014 at 5:44 pm #10260Anonymous
Looks like it was an old Python problem. Built and swapped in Python2.7, and rosetta 2014.34 seems to be building fine. Thanks again, – Mark
- You must be logged in to reply to this topic.