# RMagick build error...please help

**URL:** <https://www.ruby-forum.com/t/rmagick-build-error-please-help/76845>\
**Category:** Ruby\
**Created:** [November 21, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/rmagick-build-error-please-help/76845 "2006-11-21T18:27:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![friofool](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6de8d8/32.png) [@friofool](https://www.ruby-forum.com/u/friofool)\
**Post date:** [November 21, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/rmagick-build-error-please-help/76845/1 "2006-11-21T18:27:29Z")

</div>

Hi,

I’m trying to install RMagick and i’got this error :

[root@localhost RMagick-1.14.1]# make  
if test -n “”; then   
RUBYLIBDIR=–rbdir="";   
fi;   
if test -n “”; then   
RUBYARCHDIR=–sodir="";   
fi;   
/usr/bin/ruby setup.rb config $RUBYLIBDIR $RUBYARCHDIR  
—\> lib  
—\> lib/rvg  
\<— lib/rvg  
\<— lib  
—\> ext  
—\> ext/RMagick  
/usr/bin/ruby  
/home/[user]appli/tmp/RMagick-1.14.1/ext/RMagick/extconf.rb  
can’t find header files for ruby.  
setup.rb:655:in `command': system("/usr/bin/ruby" "/home/[user]/appli/tmp/RMagick-1.14.1/ext/RMagick/extconf.rb") failed (RuntimeError) from setup.rb:660:in`ruby’  
from setup.rb:1238:in `extconf' from setup.rb:1230:in`config\_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' ... 9 levels... from setup.rb:826:in` **send** ’  
from setup.rb:826:in `invoke' from setup.rb:772:in`invoke’  
from setup.rb:1578  
make: \*\*\* [.config] Erreur 1

i’ve build image magick whithout error

what’s wrong in my system ?

thx

---

<div class="post-metadata">

**Author:** ![friofool](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6de8d8/32.png) [@friofool](https://www.ruby-forum.com/u/friofool)\
**Post date:** [November 21, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/rmagick-build-error-please-help/76845/2 "2006-11-21T18:40:07Z")

</div>

my problem is solved  
i install ruby-devel package ans it’s ok
