DragonFly users List (threaded) for 2009-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Ruby 1.9 -whats happening here?
Hi guys,
I may have had perhaps a wishful thinking that pkgsrc contains Ruby 1.9,
which I found that it doesnt.
So i went and compiled it from source manually. Compile went ok but when I
try to install the rmagick gem, I get this error:
======================================================================
Mon 05Oct09 23:07:21
This installation of RMagick 2.12.0 is configured for
Ruby 1.9.1 (i386-dragonfly2.4.1) and ImageMagick 6.5.5 Q16
======================================================================
make
gcc -I. -I/usr/local/include/ruby-1.9.1/i386-dragonfly2.4.1
-I/usr/local/include/ruby-1.9.1/ruby/backward
-I/usr/local/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"
-I/usr/pkg/include/ImageMagick -fPIC -I/usr/pkg/include/ImageMagick
-ormmontage.o -c rmmontage.c
In file included from /usr/local/include/ruby-1.9.1/ruby/ruby.h:1125,
from /usr/local/include/ruby-1.9.1/ruby.h:32,
from rmagick.h:27,
from rmmontage.c:9:
/usr/local/include/ruby-1.9.1/ruby/missing.h:109: error: expected
identifier or '(' before 'sizeof'
/usr/local/include/ruby-1.9.1/ruby/missing.h:109: error: expected ')'
before '?' token
The code in missing.h is:
#ifndef HAVE_ISNAN
RUBY_EXTERN int isnan(double);
#endif
Im not a C programmer, but can I get some clues on how to fix this?
By the way, any ideas why Ruby 1.9 isnt yet in pkgsrc nor in pkgsrc-wip?
Its in FreeBSD ports and works very well. I searched through netbsd
mailing lists and couldnt find an answer. Ruby 1.9.1 is production ready.
Thanks,
Petr
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]