librelist archives

« back to archive

kgio 2.9.0 installation fails on ruby 1.8.7

kgio 2.9.0 installation fails on ruby 1.8.7

From:
Christopher Rigor
Date:
2014-02-05 @ 06:52
Hi,

I get this error when installing on ruby 1.8.7

write.c: In function 'init_kgio_write':
write.c:265:51: error: 'kgio_syssend' undeclared (first use in this function)
write.c:265:51: note: each undeclared identifier is reported only once
for each function it appears in
make: *** [write.o] Error 1

# ruby -v
ruby 1.8.7 (2012-06-29 patchlevel 370) [x86_64-linux]

Full output at https://gist.github.com/crigor/3f0d4533a5aca54d5331

Regards,
Christopher

Re: [kgio] kgio 2.9.0 installation fails on ruby 1.8.7

From:
Eric Wong
Date:
2014-02-05 @ 07:49
Sorry about that, I didn't realize 1.8 is still in use.
Just pushed out a 2.9.0.2.gf33a prerelease

	gem install --pre -v 2.9.0.2.gf33a kgio

Can you give that a shot?  Thanks.

Fwiw, I've been meaning to drop 1.8 support in all my projects,
but I guess it's still in use...

Re: [kgio] kgio 2.9.0 installation fails on ruby 1.8.7

From:
Christopher Rigor
Date:
2014-02-05 @ 10:19
We still have customers using ruby 1.8 at Engine Yard. A lot has
migrated to ruby 1.9 and 2.0 but not everyone.

Thanks for the quick fix. It works for me.

ip-10-90-61-103 ~ # gem install --pre -v 2.9.0.2.gf33a kgio
Fetching: kgio-2.9.0.2.gf33a.gem (100%)
Building native extensions.  This could take a while...
Successfully installed kgio-2.9.0.2.gf33a
1 gem installed