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

Error when installing gem #6

Open
syedpenrose opened this issue Feb 4, 2014 · 3 comments
Open

Error when installing gem #6

syedpenrose opened this issue Feb 4, 2014 · 3 comments

Comments

@syedpenrose
Copy link

Hello,
I'm trying to install gem on windows 8, with rails configured. When trying to install via bundler, I'm getting the following error:
$ gem install summarize
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing summarize:
ERROR: Failed to build gem native extension.

c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb

creating Makefile

make
generating summarize-i386-mingw32.def
compiling article.c
In file included from article.c:25:0:
libots.h:24:18: fatal error: glib.h: No such file or directory
compilation terminated.
make: *** [article.o] Error 1

Gem files will remain installed in c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/summarize-1.0.3 for inspection.
Results logged to c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/summarize-1.0.3/ext/summarize/gem_make.out

Any suggestions?

Thank you,
Sid

@syedpenrose
Copy link
Author

I do have Dev Kit installed, if that helps.

@karlcoelho
Copy link

you need to install the glib c library.

if you have homebrew, all you need to do is this:

brew install glib

@syedpenrose
Copy link
Author

I'm actually on Windows. Would I need Dev or Compiled version of glib? I tried with Dev and put the path in windows Environment Variables. Doesn't seems to take it.

Thank you,

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

2 participants