dep-selector
dep-selector copied to clipboard
gem install dep_selector fails due to -Qunused-arguments complier flag on mac os x
Hello, I am facing problem installing dep_selector. Below is the log entry. I use mac os x with ruby version 2.1.0.
/opt/chefdk/embedded/bin/ruby -r ./siteconf20150529-28097-1h2dk0a.rb extconf.rb checking for main() in -lgecodesupport... yes checking for main() in -lgecodesupport... yes checking for main() in -lgecodekernel... yes checking for main() in -lgecodeint... yes checking for main() in -lgecodeminimodel... yes checking for main() in -lgecodesearch... yes creating Makefile
make "DESTDIR=" clean
make "DESTDIR=" compiling define_dummy_init.cxx g++: error: unrecognized command line option ‘-Qunused-arguments’ g++: error: unrecognized command line option ‘-Qunused-arguments’ make: *** [define_dummy_init.o] Error 1
make failed, exit code 2
After I remove those flag ( -Qunused-arguments ) from the Makefile and make install works. Could anyone help on setting up this on Mac osx. Any help appreciated.
Thanks!