Member Site › Forums › PyRosetta › PyRosetta – Build/Install › Trouble building rosetta3.4 on Mac OsX 10.5.8
- This topic has 3 replies, 3 voices, and was last updated 12 years, 6 months ago by Anonymous.
-
AuthorPosts
-
-
June 9, 2012 at 2:31 pm #1301Anonymous
I have unpacked all of the files but each time that I enter scons bin mode=release I keep getting this read out:
josh-spegmans-macbook-pro:rosetta_source joshspegman$ scons bin mode=release
scons: Reading SConscript files …
Running versioning script … sh: git: command not found
Done. (0.1 seconds)
scons: done reading SConscript files.
scons: Building targets …
g++-4.0 -o build/src/release/macos/10.5/64/x86/gcc/4.0/basic/options/keys/OptionKeys0.os -c -isystem external/boost_1_46_1/boost/ -isystem external/boost_1_46_1/boost/ –param inline-unit-growth=1000 –param large-function-growth=50000 -m64 -march=nocona -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/macos/64/gcc/4.0 -Isrc/platform/macos/64/gcc -Isrc/platform/macos/64 -Isrc/platform/macos -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/include -I/usr/local/include src/basic/options/keys/OptionKeys0.cc
cc1plus(17350) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can’t allocate region
*** set a breakpoint in malloc_error_break to debugcc1plus: out of memory allocating 4072 bytes after a total of 0 bytes
scons: *** [build/src/release/macos/10.5/64/x86/gcc/4.0/basic/options/keys/OptionKeys0.os] Error 1
scons: building terminated because of errors.
josh-spegmans-macbook-pro:rosetta_source joshspegman$I have only a very basic knowledge of programming and don’t know enough to troubleshoot this on my own so I was wondering if anyone else had any ideas about what I could try doing to fix this error.
-
June 9, 2012 at 3:57 pm #7216Anonymous
It’s telling you that it can’t compile because it doesn’t have any memory. “cc1plus: out of memory allocating 4072 bytes after a total of 0 bytes” implies to me that it is getting literally no memory from the OS, which suggests GCC is mis-installed or has insufficient permissions or something. I’ve sent this along to some mac people I know to see if they’ve had it before.
-
June 9, 2012 at 8:47 pm #7217Anonymous
I haven’t ever seen that error message before, but it’s definitely a problem with either your installation of gcc or with your version. I believe there were problems with gcc-4.0, so I’d recommend upgrading to at least 4.1 (which I believe is available through macports). 10.5 is now two OS revisions behind, so you might also consider upgrading to Lion.
-
June 11, 2012 at 5:25 pm #7229Anonymous
I have gcc-4.2 installed as part of Xcode so I don’t know why it is still trying to use gcc-4.0. How can I remove gcc-4.0 and direct the program to use gcc-4.2 to build these files instead?
-
-
AuthorPosts
- You must be logged in to reply to this topic.