Skip to content
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

Fails to build undler OS X Lion (last XCode), ruby 1.9.3-p194 #33

Closed
andriytyurnikov opened this issue Apr 26, 2012 · 5 comments
Closed

Comments

@andriytyurnikov
Copy link

but this one is ok under ruby 1.9.3-p125

gem install rb-fsevent -v '0.4.3.1'
Building native extensions. This could take a while...
ERROR: Error installing rb-fsevent:
ERROR: Failed to build gem native extension.

    /Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/bin/ruby extconf.rb

creating Makefile
CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7 -mdynamic-no-pic -std=gnu99 -Os -pipe -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wnewline-eof -Wconversion -Wshorten-64-to-32 -Wglobal-constructors -pedantic' /usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7 -mdynamic-no-pic -std=gnu99 -dead_strip -framework CoreServices -o '/Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.4.3.1/bin/fsevent_watch' fsevent/fsevent_watch.c
fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found

include <stdio.h>

     ^

1 error generated.
extconf.rb:59:in `

': Compilation of fsevent_watch failed (see README) (RuntimeError)

Gem files will remain installed in /Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.4.3.1 for inspection.
Results logged to /Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.4.3.1/ext/gem_make.out

@andriytyurnikov
Copy link
Author

update to 0.9.1 resolved this

@ttilley
Copy link
Member

ttilley commented Apr 27, 2012

0.4 is dead. Please uninstall it and install 0.9.x. Everything should be smooth from there. ;)

Sent from my iPad

On Apr 26, 2012, at 2:51 PM, Andriy Tyurnikovreply@reply.github.com wrote:

#but this one is ok under ruby 1.9.3-p125

gem install rb-fsevent -v '0.4.3.1'
Building native extensions. This could take a while...
ERROR: Error installing rb-fsevent:
ERROR: Failed to build gem native extension.

   /Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/bin/ruby extconf.rb

creating Makefile
CFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7 -mdynamic-no-pic -std=gnu99 -Os -pipe -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wnewline-eof -Wconversion -Wshorten-64-to-32 -Wglobal-constructors -pedantic' /usr/bin/clang -isysroot /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk -mmacosx-version-min=10.7 -mdynamic-no-pic -std=gnu99 -dead_strip -framework CoreServices -o '/Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.4.3.1/bin/fsevent_watch' fsevent/fsevent_watch.c
fsevent/fsevent_watch.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
extconf.rb:59:in `

': Compilation of fsevent_watch failed (see README) (RuntimeError)

Gem files will remain installed in /Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.4.3.1 for inspection.
Results logged to /Users/andriytyurnikov/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rb-fsevent-0.4.3.1/ext/gem_make.out


Reply to this email directly or view it on GitHub:
#33

@jpstokes
Copy link

jpstokes commented Aug 1, 2012

I was able to get rb-fsevent -v 0.9 to install without issues but when I run bundle install it still wants to install version 0.4 which fails. What do I do?

@jpstokes
Copy link

jpstokes commented Aug 2, 2012

That's ok...I was over looking the entry in my Gemfile.

@dosire
Copy link

dosire commented Jan 16, 2013

I fixed it by adding gem 'rb-fsevent', '>= 0.9' to the gemfile and running bundle update fsevent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants