-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails with ruby 2.3.0 on OSX 10.11.2 #426
Comments
I think your ruby was built by clang.
And if your ruby was built by clang, you should use clang++ for nmatrix. |
@holidayworking could you verify if your build is passing? |
I assume this is no longer a problem and will close it. Please re-open if it arises again. |
I am having this issue on Ruby 2.3.0 as well. OSX 10.11.4.
What do you mean "try github version"? The github version of nmatrix? How? FWIW, no issues with Ruby 2.2.4. |
You can use the current development version as described in the README:
|
Got it. Thanks. |
I'm getting this error with nmatrix in my gemfile:
I also checked this:
I'm not using clang...so now what? I also tried this:
Which didnt help. |
@georgeu2000 how do you install ruby 2.3.0? Also, please check the following output:
|
@reisner tell me |
|
You can download it and install it from https://www.ruby-lang.org/en/. I prefer to use rbenv. See https://github.com/rbenv/rbenv#installing-ruby-versions |
@reisner Are you still having problems or can this ticket be closed? |
I had the exact same problem than @reisner. but with the configuration below :
I was previously using Nmatrix with ruby I try to use the development version, as @MohawkJohn described, and it was also working. So to get it working on my project with the version I am not sure if it was a good idea to follow those steps. Would be happy to have your feedbacks. |
@gillien How do you install your ruby? |
@mrkn ruby is installed with rvm and CC is gcc |
@MohawkJohn the problem is still there. Tried with Ruby 2.2.2 and 2.3.3, the same result. What is the solution? My OSX version is 10.12.2.
Installation log:
|
I'll try to make a pull-request to treat the above case. |
@mrkn thanks, it's really a blocker! |
I am getting same problem during installation. Any one found solution for this :
In my system :
|
@mrkn You seem to have an idea as to the cause of this — care to enlighten us? :P |
Have the same issue: bundle exec rake compile Tasks: TOP => compile => compile:x86_64-darwin16 => compile:nmatrix:x86_64-darwin16 => copy:nmatrix:x86_64-darwin16:2.3.3 => tmp/x86_64-darwin16/nmatrix/2.3.3/nmatrix.bundle (See full trace by running task with --trace) |
@Shekharrajak @astudnev Were you able to resolve the issue? I'm having the same installation errors as you on ruby 2.4.1.
|
@achung-miovision , I uninstalled the |
@achung-miovision, i switched to python for this project :) |
@achung-miovision Why do you use gcc/g++ instead of clang/clang++ on OSX? |
@mrkn That seemed to be the default on my system when I installed ruby a while ago. I was able to get my issue resolved by updating rvm, then reinstalling ruby with Thanks for the help. |
@achung-miovision thanks it worked. |
@achung-miovision Thanks Adrian! You made my day! 😄 |
@achung-miovision Thanks man! |
NMatrix fails to install with ruby 2.3.0 on OSX 10.11.2
The text was updated successfully, but these errors were encountered: