nateclark1
10/18/2006 10:33:00 PM
Tim,
That did it! Thanks for the quick reply.
Everything seems to be working fine with ImageMagick 6.2.9.
Nate
Timothy Hunter wrote:
> nateclark1@gmail.com wrote:
> > I'm trying to compile RMagick 1.14.0 on Dreamhost with Ruby 1.8.5 and
> > ImageMagick 6.3.0. I'm installing this all locally in my home directory
> > as I like to be able to maintain my own packages.
> >
> > Anyway, Ruby and ImageMagick compiled with no problems. When I try to
> > compile RMagick, either from the source or using the gem, I get the
> > following (this is actually from an attempt at compiling 1.13.0, but
> > the same error in both versions):
> >
> > ---> lib
> > ---> lib/rvg
> > <--- lib/rvg
> > <--- lib
> > ---> ext
> > ---> ext/RMagick
> > make
> > gcc -I. -I/home/[user]/packages/lib/ruby/1.8/i686-linux
> > -I/home/[user]/packages/lib/ruby/1.8/i686-linux
> > -I/home/.dijon/[user]/.gems/gems/rmagick-1.13.0/ext/RMagick
> > -DRUBY_VERSION=0x185 -I/home/[user]/packages/include -fPIC -Wall -g
> > -c rmutil.c
> > rmutil.c: In function `Color_to_ColorInfo':
> > rmutil.c:1771: error: incompatible types in assignment
> > rmutil.c: In function `Color_to_s':
> > rmutil.c:1801: warning: int format, double arg (arg 5)
> > rmutil.c:1801: warning: int format, double arg (arg 6)
> > rmutil.c:1801: warning: int format, double arg (arg 7)
> > rmutil.c:1801: warning: int format, double arg (arg 8)
> > make: *** [rmutil.o] Error 1
> > setup.rb:655:in `command': system("make") failed (RuntimeError)
> > from setup.rb:664:in `make'
> > from setup.rb:1258:in `setup_dir_ext'
> > from setup.rb:1532:in `__send__'
> > from setup.rb:1532:in `traverse'
> > from setup.rb:1549:in `dive_into'
> > from setup.rb:1530:in `traverse'
> > from setup.rb:1534:in `traverse'
> > from setup.rb:1533:in `each'
> > ... 8 levels...
> > from setup.rb:826:in `__send__'
> > from setup.rb:826:in `invoke'
> > from setup.rb:772:in `invoke'
> > from setup.rb:1578
> >
> > As a result, the RMagic.so file never gets created and RMagic is not
> > usable. I'm not sure where to go from here. Any help?
> >
> > Thanks,
> > Nate
> >
> >
> >
> Nate,
>
> ImageMagick 6.3.0 was just released a day or so ago. I've been
> out-of-town so I haven't had time to investigate what changed. I'll
> release a new version of RMagick soon, but if you're in a hurry get a
> copy of ImageMagick 6.2.9 and use it instead.