rvm install 1.9.3 .... error
anyone having this problem too?
Abayomi:~ newuser$ rvm install 1.9.3 Installing Ruby from source to: /Users/newuser/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
ruby-1.9.3-p0 - #fetching ruby-1.9.3-p0 - #extracted to /Users/newuser/.rvm/src/ruby-1.9.3-p0 (already extracted) Fetching yaml-0.1.4.tar.gz to /Users/newuser/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/newuser/.rvm/src Configuring yaml in /Users/newuser/.rvm/src/yaml-0.1.4. Compiling yaml in /Users/newuser/.rvm/src/yaml-0.1.4. Installing yaml to /Users/newuser/.rvm/usr ruby-1.9.3-p0 - #configuring ERROR: Error running ' ./configure --prefix=/Users/newuser/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/newuser/.rvm/usr ', please read /Users/newuser/.rvm/log/ruby-1.9.3-p0/configure.log ERROR: There has been an error while running configure. Halting the installation.
any help will be much appreciated
Hi everybody,
I have this very same problem :-( Help would be appreciated.
Thanks
Sorry I forgot, I am under os x lion.
What does it say in the log? I also had a ton of problems with RVM and Lion... but was eventually able to get it going. (I ended up having a hybrid setup on my *nix box) and can explain if it becomes relevant.
In the logs it says something like that the C compiler can't be found. What's realy strange is that rvm install 1.9.2 works. I have installed Xcode, so the C compilers are installed. I don't know if siriProxy can work with 1.9.2
it works with 1.9.2 - BUT I was also not able to get RVM going on Lion. I have xcode 4.2. The problem is that xcode uses LLVM GCC and not (standard? I forget the term) GCC.
So even if you have GCC installed, it's LLVM and that doesn't work
_EDIT_ it SHOULD work with 1.9.2 - but I'm not sure... when you try to build it, it will error out if it has issues with your Ruby version
You say because of this LLVM it's impossible to install 1.9.3 on Lion ?
I'll give an other try this evening and if it doesn't work, I'll try to make siriProxy run with 1.9.2
the c compilers wont work with LLVM GCC - that's all I'm saying ;)
If you get it to finally compile, post back here how you did it. It would be a great resource.
Do you know why we don't have the same problem with 1.9.2 ?
I actually did have the same problem with 1.9.2 - Still running 1.8.7 on my mac :-(
(I may not be the best source for information regarding this... just giving you my personal experience)
In fact, I've tried several things to get it to compile and ended up just using a Synology Nas to compile and run the proxy server. Works fine in linux. May I suggest trying to use VirtualBox and Ubuntu (latest) as referenced in the video?
Also, just wanted to mention that I didn't really try too hard to get it to compile on my mac mostly because my end goal was to get it running on my Synology NAS. I have it running there (manually) but am now working on getting it going as a background service
I'll try a little more on Lion and if I don't manage it to work, I'll do the solution you suggest with Ubuntu.
Anyway, thanks a lot for your help.
No problem, good luck
I had the same issue with Lion and resorted to installing gcc 4.2 from macports. That fixed it for me.
Did that break xCode compiling?
Sorry, couldn't tell you I haven't compiled anything in Xcode since downloading it.
Could always move the link back after done. Not elegant but should get the job done.
I'm installing it now and will see how it goes... GCC takes a hell of long time to compile...
whats the deal?
Abayomi:siriproxy newuser$ rvmsudo siriproxy server
Starting SiriProxy on port 443..
^C/Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run_machine': Interrupt from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun'
from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/siriproxy-0.0.1/lib/siriproxy.rb:16:in initialize' from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/siriproxy-0.0.1/lib/siriproxy/command_line.rb:96:innew'
from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/siriproxy-0.0.1/lib/siriproxy/command_line.rb:96:in start_server' from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/siriproxy-0.0.1/lib/siriproxy/command_line.rb:85:inrun_server'
from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/gems/siriproxy-0.0.1/lib/siriproxy/command_line.rb:37:in initialize' from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/bin/siriproxy:6:innew'
from /Users/newuser/.rvm/gems/ruby-1.9.2-p0/bin/siriproxy:6:in `
by the way, i was able to install ruby 1.9.3 using rvm install 1.9.3 --with-gcc=clang
Found here: http://stackoverflow.com/questions/8259928/error-compiling-ruby-1-9-3-using-rvm-homebrew-or-macports
As for the error listed below, that error pops up for me too when I stop running the server using CTRL+c
I also used the command rvm install 1.9.3 --with-gcc=clang like dcinzona, and it worked for me too !
But the I had other errors and gave up on Lion. I have installed everything in Ubuntu now, and had no major problems.