# RMagick 1.14.0 compile error (Linux)

**URL:** <https://www.ruby-forum.com/t/rmagick-1-14-0-compile-error-linux/72430>\
**Category:** Ruby\
**Created:** [October 17, 2006, 6:41am UTC](https://www.ruby-forum.com/t/rmagick-1-14-0-compile-error-linux/72430 "2006-10-17T06:41:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 17, 2006, 6:41am UTC](https://www.ruby-forum.com/t/rmagick-1-14-0-compile-error-linux/72430/1 "2006-10-17T06:41:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 18, 2006, 1:47am UTC](https://www.ruby-forum.com/t/rmagick-1-14-0-compile-error-linux/72430/2 "2006-10-18T01:47:06Z")

</div>

removed\_email\_address@domain.invalid wrote:

> —\> lib/rvg  
> rmutil.c: In function `Color_to_ColorInfo': from setup.rb:1532:in` **send** ’
> 
> 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.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [October 19, 2006, 12:37am UTC](https://www.ruby-forum.com/t/rmagick-1-14-0-compile-error-linux/72430/3 "2006-10-19T00:37:46Z")

</div>

Tim,

That did it! Thanks for the quick reply.  
Everything seems to be working fine with ImageMagick 6.2.9.

Nate
