Member Site › Forums › Rosetta 3 › Rosetta 3 – General › problem compiling rosetta3.1 in windows vista 32 bit using cygwin 1.7.5-1 › Reply To: problem compiling rosetta3.1 in windows vista 32 bit using cygwin 1.7.5-1
Hello smlewis,
I have tried several things to make the rosetta3.1 compilation work in my computer. So far not successfull (:cry:)
When I typed whereis zlib in the bash shells, here is the output.
marsia@lembayung-vaio ~/rosetta_source
$ whereis zlib
zlib: /usr/include/zlib.h /usr/share/man/man3/zlib.3.gz
Does it mean that I have zlib installed already or not?
Then, assuming that I have zlib, I renamed rosetta_source/external/lib/z.lib into external/lib/z_donotuse.lib (copying what other people did in this forum). Then I typed command
marsia@lembayung-vaio ~/rosetta_source
$ /home/marsia/rosetta_source/external/scons-local/scons.py bin mode=release
scons: Reading SConscript files …
/home/marsia/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
/home/marsia/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
svn: ‘.’ is not a working copy
scons: done reading SConscript files.
scons: Building targets …
Then it stopped when the error came up, which is:
g++ -o build/src/release/cygwin/1.7/32/x86/gcc/apps/public/cluster.o -c -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/cygwin/32/gcc -Isrc/platform/cygwin/32 -Isrc/platform/cygwin -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/apps/public/cluster.cc
src/apps/public/cluster.cc: In function ‘int main(int, char**)’:
src/apps/public/cluster.cc:117: error: ‘time’ was not declared in this scope
scons: *** [build/src/release/cygwin/1.7/32/x86/gcc/apps/public/cluster.o] Error 1
scons: building terminated because of errors.
I also did typed this command to see what’s the difference:
marsia@lembayung-vaio ~/rosetta_source
$ python external/scons-local/scons.py bin mode=release extras=static
scons: Reading SConscript files …
/home/marsia/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
/home/marsia/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
svn: ‘.’ is not a working copy
scons: done reading SConscript files.
scons: Building targets …
and it stopped when this same error came up:
g++ -o build/src/release/cygwin/1.7/32/x86/gcc/static/apps/public/cluster.o -c -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/cygwin/32/gcc -Isrc/platform/cygwin/32 -Isrc/platform/cygwin -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/apps/public/cluster.cc
src/apps/public/cluster.cc: In function ‘int main(int, char**)’:
src/apps/public/cluster.cc:117: error: ‘time’ was not declared in this scope
scons: *** [build/src/release/cygwin/1.7/32/x86/gcc/static/apps/public/cluster.o] Error 1
scons: building terminated because of errors.
What do I have to do to fix this?
Do I have zlib installed already or nort?
At the beginning of the compilation output, there is a line saying:
import md5
svn: ‘.’ is not a working copy
what does it mean?
Thanks for taking time answering my questions.
Marsia