Closed edolyne closed 10 years ago
+1
+1 same error on mavericks!
:+1:
+1
We need this +1
+1
+1
+1
+1
+1
I don't have Yosemite, and don't plan to install it, but I would be willing to pair program with somebody who does to address this issue. Please let me know if you're interested.
If any of you guys decides to reflect the v8 API changes in therubyracer (which I suspect are causing this issue), please take into account this issue, too https://github.com/cowboyd/therubyracer/issues/302
Also, I believe this is a dup of #304
@cowboyd : I run Yosemite and I can pair program to help you address this issue.
@ankushagarwal great! I can't promise we'll get to the bottom of it, but we just might. What time works well for you? You can email me at cowboyd@frontside.io
Guys, do you have any success here? I have the same issue on current Yosemit and rubyracer-0.12.1
@graffzon recompile your ruby using the command line tools on Yosemite and then try to build the gem
@shanbhardwaj Could you give me a link to this solution, please. V8 installed successful for me, but therubyracer falling down.
This Stack Overflow solution helped to solve the issue when I did a OS X Mavericks to Yosemite upgrade. http://stackoverflow.com/questions/19630154/gem-install-therubyracer-v-0-10-2-on-osx-mavericks-not-installing/19762877#19762877 Instead of brew install gcc46 as suggested in the solutions I used the command line tools path of the mentioned libraries to create the symlink: sudo ln -s /Library/Developer/CommandLineTools/usr/bin/cpp /usr/bin/cpp sudo ln -s /Library/Developer/CommandLineTools/usr/bin/gcc /usr/bin/gcc sudo ln -s /Library/Developer/CommandLineTools/usr/bin/g++ /usr/bin/g++ brew uninstall v8 gem install libv8 gem install therubyracer
I know that I am running BETA software and that it's not fully supported but wanted to raise this issue. Prior to beta 3 therubyracer would not recognize libv8 if it was using the system v8, but it is now recognizing it and failing with the message below. I am not familiar with ruby, but one of the environments I work in relies on it and wanted to put this out to someone who might be able to work a fix. I also tried installing from develop and had the same results.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
checking for main() in -lpthread... yes checking for main() in -lobjc... yes checking for v8.h... yes creating Makefile
make "DESTDIR=" clean
make "DESTDIR=" compiling accessor.cc clang: warning: argument unused during compilation: '-rdynamic' In file included from accessor.cc:1: ./rr.h:463:14: error: no type named 'AccessorGetter' in namespace 'v8' inline v8::AccessorGetter accessorGetter() {return &AccessorGetter;}