Open bf4 opened 10 years ago
Comment by paulasmuth Tuesday Dec 27, 2011 at 16:28 GMT
mh, can you try this?
sudo apt-get install ruby1.9-dev
Comment by arctica Tuesday Dec 27, 2011 at 21:07 GMT
After purgeing all the old ruby packages and installing ruby1.9 ruby1.9-dev and rubygems1.9, I got to the following point:
sh-3.2# gem install fnordmetric
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
ERROR: Error installing fnordmetric:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9 extconf.rb install fnordmetric
creating Makefile
make
cc -I. -I/usr/include/ruby-1.9.0/x86_64-linux -I/usr/include/ruby-1.9.0 -I. -fPIC -fno-strict-aliasing -g -g -O3 -O2 -g -Wall -Wno-parentheses -fPIC -o parser.o -c parser.c
In file included from parser.rl:2:
parser.h:7:16: error: re.h: No such file or directory
parser.h:13:16: error: st.h: No such file or directory
make: *** [parser.o] Error 1
Seems like it's missing some includes but I have no idea what libraries they are used with.
Comment by dget Wednesday Dec 28, 2011 at 09:17 GMT
I went through this whole dance with Ubuntu 10.04. I'm not sure how strict the version requirement (1.9.2) is, but I ended up having to compile ruby from source since the ruby1.9 package I had was only 1.9.0 (and track down a list of dependencies beforehand to apt install). It might not be the same case as yours, but a possibility.
Comment by JohnMurray Thursday Jan 12, 2012 at 21:24 GMT
If you're running RVM then you can run the command rvm requirements
which will show you the particular packages you need to install on your Debian/Ubuntu system.
Comment by Kakani Wednesday Jan 16, 2013 at 06:48 GMT
I am trying to install fnordmetric gem in my rails application. I installed the gem with this command sudo gem install fnordmetric. Gem is installed but i am getting this error when i run the server through script/server
invalid gemspec in illformed requirement in /usr/local/lib/ruby/gems/1.8/specifications/fnordmetric-1.0 gemspec and in /code/ts-delayed-delta/ruby/gems/1.8/specifications/fnordmetric-1.0 gemspec
I updated the gems using sudo gem update --system. Still i am getting the same error.
Can anyone suggest me how to overcome this problem..? Thank you in advance
Comment by sheerun Monday Oct 21, 2013 at 19:19 GMT
@Kakani Is gemspec still illformed for current fnordmetrc?
Comment by Kakani Tuesday Oct 22, 2013 at 03:11 GMT
I am using ruby 1.8 and rails 2.3, but fnordmetric gem supports for rails 3 and ruby 1.9 onwards that's why I got this error.
Comment by sheerun Tuesday Oct 22, 2013 at 09:17 GMT
I guess this can be closed?
On Tue, Oct 22, 2013 at 5:11 AM, Kakani notifications@github.com wrote:
I am using ruby 1.8 and rails 2.3, but fnordmetric gem supports for rails 3 and ruby 1.9 onwards that's why I got this error.
— Reply to this email directly or view it on GitHubhttps://github.com/paulasmuth/fnordmetric/issues/3#issuecomment-26774285 .
Issue by arctica Tuesday Dec 27, 2011 at 16:21 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/3
I just tried installing the gem on a debian 5.0 machine.
I'm not a Ruby user so you'll have to tell me how to get more meaningful information if needed. I tried installing the gems mkmf-lite and mkmfmf but that didn't help.