DragonFly BSD
DragonFly users List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Ruby 1.9 -whats happening here?


From: Saifi Khan <saifi.khan@xxxxxxxxxxxxxxx>
Date: Wed, 7 Oct 2009 19:09:38 +0530 (IST)

On Tue, 6 Oct 2009, elekktretterr@exemail.com.au wrote:

> 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
> 

RMagick 2.x requires Ruby 1.8.x at a minimum.

Please see
http://pkgsrc.se/graphics/ruby-RMagick


thanks
Saifi.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]