Open mmichaa opened 12 years ago
This solution does not work for me. Tried to install mustang "manually" but have this error:
cc1plus: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1plus: error: unrecognized command line option "-Wno-unused-but-set-variable"
scons: *** [obj/release/accessors.o] Error 1
scons: building terminated because of errors.
Any ideas how to install mustang?
To solve this problem, I changed the CPP and CXX compiler in the ext/v8/Makefile from clang to 'llvm-gcc-4.2' and 'llvm-g++' (see stackoverflow for details). Than I did a
cd ext/v8
and runmake clean && make
. This worked for me. Than I wrote the gemspec manually, like shown ingem help install
:gem spec ../../cache/mustang-0.2.2.gem --ruby > ../../specifications/mustang-0.2.2.gemspec