Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › ROsetta installation on windows
- This topic has 5 replies, 3 voices, and was last updated 13 years, 11 months ago by Anonymous.
-
AuthorPosts
-
-
January 19, 2011 at 4:40 am #743Anonymous
Hi all,
I am new to rosetta and I tried installing rosetta on windows 7 … First I installed scons using scons-2.0.1.win32.exe file downloaded from scons website… after that I tried using the command -> scons bin mode=release
in cygwin but its saying that the command not found … I already added the location of scons to environment variablesPls help
BHARAT
-
January 19, 2011 at 2:55 pm #4840Anonymous
So cygwin is unable to see scons? Maybe you have to install scons into cygwin, somehow, instead of installing it into Windows? (The developers never install Rosetta on Windows boxes so none of us are experts…)
-
January 20, 2011 at 1:44 am #4844Anonymous
Hi,
I have installed Scons in cygwin but I don’t know how to install rosetta … I have downloaded the rosetta_bundle zipped file … after issuing the command scons bin mode=release under the directory containing the bundle file its giving the following error :-
scons:- ***** No SConstruct File found
-
January 20, 2011 at 2:59 pm #4845Anonymous
er – did you unzip Rosetta…? SCons doens’t unzip it for you. The directory in which you run scons should files and directories like so:
-rw-r--r-- 1 smlewis smlewis 536 2009-06-11 14:02 accept_utracers.sh
drwxr-xr-x 2 smlewis smlewis 4.0K 2010-12-20 11:55 bin
drwxr-xr-x 3 smlewis smlewis 4.0K 2010-04-23 18:14 build
-rw-r--r-- 1 smlewis smlewis 51K 2009-09-24 14:54 Doxyfile
drwxr-xr-x 9 smlewis smlewis 4.0K 2009-09-29 13:20 external
drwxr-xr-x 3 smlewis smlewis 4.0K 2009-09-29 13:20 ide
drwxr-xr-x 2 smlewis smlewis 4.0K 2009-09-29 13:20 lib
-rwxr-xr-x 1 smlewis smlewis 675 2009-06-11 14:02 make_ctags.sh
-rwxr-xr-x 1 smlewis smlewis 2.0K 2009-06-11 14:02 performance-benchmark.py
-rw-r--r-- 1 smlewis smlewis 921 2009-09-15 14:58 projects.settings
-rw-r--r-- 1 smlewis smlewis 460 2009-09-23 17:33 README.Copyrights
-rw-r--r-- 1 smlewis smlewis 3.9K 2009-09-15 15:32 readme.txt
-rw-r--r-- 1 smlewis smlewis 12 2009-09-29 17:51 README.version
-rw-r--r-- 1 smlewis smlewis 2.0K 2009-02-04 14:53 SConscript
lrwxrwxrwx 1 smlewis smlewis 29 2009-10-05 11:52 scons.py -> external/scons-local/scons.py
-rw-r--r-- 1 smlewis smlewis 5.2K 2008-01-24 11:41 SConstruct
drwxr-xr-x 13 smlewis smlewis 4.0K 2010-04-23 18:14 src
drwxr-xr-x 2 smlewis smlewis 4.0K 2009-09-29 13:20 stubs
-rw-r--r-- 1 smlewis smlewis 2.9K 2009-06-11 14:02 svn_version.py
drwxr-xr-x 14 smlewis smlewis 4.0K 2009-09-29 13:19 test
drwxr-xr-x 3 smlewis smlewis 4.0K 2010-04-23 18:13 tools
-rwxr-xr-x 1 smlewis smlewis 486 2009-06-11 14:02 update_options.sh
-
January 22, 2011 at 6:52 am #4847Anonymous
Hi,
I unzipped the bundles and after executing the command scons bin mode=release under rosetta3.1_source directory .. its giving the following error :-
Master@BHARAT-PC /cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source
$ scons bin mode=release
scons: Reading SConscript files …scons: warning: The Options class is deprecated; use the Variables class instead
.
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup.p
y”, line 45, in setup_build_optionsscons: warning: The EnumOption() function is deprecated; use the EnumVariable()
function instead.
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup.p
y”, line 53, in setup_build_optionsscons: warning: The ListOption() function is deprecated; use the ListVariable()
function instead.
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup.p
y”, line 61, in setup_build_options
Traceback (most recent call last):
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/SConstruct”, line
137, in main
build = SConscript(“tools/build/setup.py”)
File “/usr/lib/scons-2.0.1/SCons/Script/SConscript.py”, line 614, in __call__
return method(*args, **kw)
File “/usr/lib/scons-2.0.1/SCons/Script/SConscript.py”, line 551, in SConscrip
t
return _SConscript(self.fs, *files, **subst_kw)
File “/usr/lib/scons-2.0.1/SCons/Script/SConscript.py”, line 260, in _SConscri
pt
exec _file_ in call_stack[-1].globals
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup
.py”, line 410, in
build = setup()
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup
.py”, line 401, in setup
build.options_requested, build.options = setup_build_options()
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup
.py”, line 112, in setup_build_options
actual.os = setup_platforms.select_os(supported, requested.os)
File “/cygdrive/c/packages/rosetta3.1_Bundles/rosetta_source/tools/build/setup
_platforms.py”, line 125, in select_os
raise KeyError, “Operating system ‘%s’ is unsupported.” % (actual)
KeyError: “Operating system ‘cygwin_nt-6.1’ is unsupported.”
scons: done reading SConscript files.
scons: Building targets …
scons: `bin’ is up to date.
scons: done building targets.
Its showing that the operating system is not supported ..
so what shall i do in this case -
January 22, 2011 at 7:30 pm #4848Anonymous
Hi bharat_46010,
In tools/build/setup_platforms.py find the lines:
actual = {
"darwin": "macos",
"cygwin_nt-5.1": "cygwin",
}.get(expected, expected)
and modify them to:
actual = {
"darwin": "macos",
"cygwin_nt-5.1": "cygwin",
"cygwin_nt-6.1": "cygwin",
}.get(expected, expected)
This will indicate to scons that your version of cygwin should use the standard cygwin configuration setup. Also, if you haven’t done so already you will probably have to install the zlib library. You can download the latest source distribution from http://www.zlib.net.
Then when you are ready, please try running the local version of scons rather than the system version of scons.
./scons.py bin mode=release
Using this verison of scons will hopefully remove the ‘deprecated’ warnings.
Best,
Matt
-
-
AuthorPosts
- You must be logged in to reply to this topic.