-
Notifications
You must be signed in to change notification settings - Fork 58
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
Cups gem install fails "Failed to build gem native extension" on Mac OSX Mavericks. #15
Comments
I think this is an issue w/ cups 1.7.* on all platforms; there's a patch that's been merged, and I will bump the gem version today, promise! |
I pointed to master and tried a bundle install and I'm still getting the same errors. |
Any update on this? |
Been about 6 months now; any chance this will get fixed? |
I cloned the repo to try and look at this issue and found out it is only happening if you point to the gem on rubygems or git. When referencing a local path it appears to install ok. |
@bigtunacan glad you found a partial solution; sorry but I'm not using this gem right now and don't have time to do anything other than test PRs. |
I'm submitting a pull request that fixes this issue and have tested for backwards compatibility to Ruby 1.8.7 on Mac OSX Lion. This also fixes issue #12 |
@m0wfo If you could bump the version and update this on rubygems that would be greatly appreciated. |
ERROR: Error installing cups:
ERROR: Failed to build gem native extension.
checking for main() in -lcups... yes
checking for cups-config... yes
cups version:
1.7.0
creating Makefile
make
/usr/bin/clang -I. -I. -I/Users/me/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/i686-darwin13.0.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -c cups.c
In file included from cups.c:1:
./ruby_cups.h:6:12: fatal error: 'ruby/st.h' file not found
#include <ruby/st.h>
^
1 error generated.
make: *** [cups.o] Error 1
Gem files will remain installed in /Users/me/.rvm/gems/ruby-1.8.7-p374@uiris3/gems/cups-0.1.5 for inspection.
Results logged to /Users/me/.rvm/gems/ruby-1.8.7-p374@uiris3/gems/cups-0.1.5/ext/gem_make.out
Building native extensions. This could take a while...
The text was updated successfully, but these errors were encountered: