Dear all, I tried to compile Rosetta for rosetta_refinement, on Mac OX10.10. I run " /rosetta_2014.22.56873_bundle/main/source] user% sudo scons.py But it was in failure, showing the following message: g++-4.2 -o build/external/debug/macos/14.0/64/x86/gcc/4.2/default/dbio/cppdb/atomic_counter.os -c -isystem external/boost_1_55_0/ -isystem external/include/ -isystem external/dbio/ -pipe -ffor-scope -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -m64 -march=nocona -mtune=generic -O0 -g -ggdb -ffloat-store -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPDB_EXPORTS -DCPPDB_LIBRARY_SUFFIX=\".dylib\" -DCPPDB_LIBRARY_PREFIX=\"lib\" -DCPPDB_DISABLE_SHARED_OBJECT_LOADING -DCPPDB_DISABLE_THREAD_SAFETY -DCPPDB_SOVERSION=\"0\" -DCPPDB_MAJOR=0 -DCPPDB_MINOR=3 -DCPPDB_PATCH=0 -DCPPDB_VERSION=\"0.3.0\" -DCPPDB_WITH_SQLITE3 -Ibuild/external/debug/macos/14.0/64/x86/gcc/4.2/default/dbio/sqlite3 -Iexternal/dbio/sqlite3 -Iexternal/boost_1_55_0 -Iexternal/dbio -I/usr/include -I/usr/local/include external/dbio/cppdb/atomic_counter.cpp sh: g++-4.2: command not found scons: *** [build/external/debug/macos/14.0/64/x86/gcc/4.2/default/dbio/cppdb/atomic_counter.os] Error 127 scons: building terminated because of errors. How can I resolve that? Best regards, H. Miyatake
This suggests that you don't have an appropriate compiler installed or in your path:
sh: g++-4.2: command not found
You probably need to install XCode to allow for compilation.
On Nov 12, 2014, at 11:02 PM, miyatake
wrote: Dear all,
I tried to compile Rosetta for rosetta_refinement, on Mac OX10.10.
I run " /rosetta_2014.22.56873_bundle/main/source] user% sudo scons.py
But it was in failure, showing the following message:
g++-4.2 -o build/external/debug/macos/14.0/64/x86/gcc/4.2/default/dbio/cppdb/atomic_counter.os -c -isystem external/boost_1_55_0/ -isystem external/include/ -isystem external/dbio/ -pipe -ffor-scope -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -m64 -march=nocona -mtune=generic -O0 -g -ggdb -ffloat-store -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPDB_EXPORTS -DCPPDB_LIBRARY_SUFFIX=\".dylib\" -DCPPDB_LIBRARY_PREFIX=\"lib\" -DCPPDB_DISABLE_SHARED_OBJECT_LOADING -DCPPDB_DISABLE_THREAD_SAFETY -DCPPDB_SOVERSION=\"0\" -DCPPDB_MAJOR=0 -DCPPDB_MINOR=3 -DCPPDB_PATCH=0 -DCPPDB_VERSION=\"0.3.0\" -DCPPDB_WITH_SQLITE3 -Ibuild/external/debug/macos/14.0/64/x86/gcc/4.2/default/dbio/sqlite3 -Iexternal/dbio/sqlite3 -Iexternal/boost_1_55_0 -Iexternal/dbio -I/usr/include -I/usr/local/include external/dbio/cppdb/atomic_counter.cpp sh: g++-4.2: command not found scons: *** [build/external/debug/macos/14.0/64/x86/gcc/4.2/default/dbio/cppdb/atomic_counter.os] Error 127 scons: building terminated because of errors.
How can I resolve that?
Best regards,
H. Miyatake
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
-- Paul Adams Deputy Division Director, Physical Biosciences Division, Lawrence Berkeley Lab Division Deputy for Biosciences, Advanced Light Source, Lawrence Berkeley Lab Adjunct Professor, Department of Bioengineering, U.C. Berkeley Vice President for Technology, the Joint BioEnergy Institute Laboratory Research Manager, ENIGMA Science Focus Area Building 64, Room 248 Building 80, Room 247 Building 978, Room 4126 Tel: 1-510-486-4225, Fax: 1-510-486-5909 http://cci.lbl.gov/paul Lawrence Berkeley Laboratory 1 Cyclotron Road BLDG 64R0121 Berkeley, CA 94720, USA. Executive Assistant: Louise Benvenue [ [email protected] ][ 1-510-495-2506 ] --
On Thu, Nov 13, 2014 at 12:12 AM, Paul Adams
This suggests that you don't have an appropriate compiler installed or in your path:
sh: g++-4.2: command not found
You probably need to install XCode to allow for compilation.
Actually, I got the same error not too long ago - the problem was that the compiler configuration was unaware of OS 10.10 and defaulted to using g++ (which is no longer present in the latest Xcode) instead of clang. This has since been fixed, but probably not in the 2014.22 Rosetta release. I'll send a patch off-list. -Nat
participants (3)
-
miyatake
-
Nathaniel Echols
-
Paul Adams