tag:blogger.com,1999:blog-8320176658173871026.post4159209544260345976..comments2023-09-16T11:40:59.023-03:00Comments on Fernando Kosh: Instalando ImageMagick e RMagick no Ubuntu 9.10Fernando Koshhttp://www.blogger.com/profile/10981139124984272373noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8320176658173871026.post-64962322106287942612011-02-17T01:28:39.474-02:002011-02-17T01:28:39.474-02:00Valeu amigo, ajudou bastante aqui nem acredito so ...Valeu amigo, ajudou bastante aqui nem acredito so faltavam os pacotes core e dev xD abraçoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8320176658173871026.post-42251084929761245792009-12-28T13:03:57.851-02:002009-12-28T13:03:57.851-02:00Cara instalar o rmagick no Ubuntu é muito mais fác...Cara instalar o rmagick no Ubuntu é muito mais fácil que isso. Basta instalar o pacote nativo librmagick-ruby e pronto. Sempre usei assim... não precisa compilar nada.Mergulhãohttp://www.blogger.com/profile/11708917479459448012noreply@blogger.comtag:blogger.com,1999:blog-8320176658173871026.post-75614152065197580292009-12-30T22:19:04.819-02:002009-12-30T22:19:04.819-02:00Mergulhão, Comigo não funcionou. Fiz a instalação ...Mergulhão, Comigo não funcionou. Fiz a instalação conforme sua recomendação:<br><br>kosh@beren:~# sudo apt-get install librmagick-ruby<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>The following extra packages will be installed:<br> librmagick-ruby1.8<br>Suggested packages:<br> librmagick-ruby-doc<br>The following NEW packages will be installed:<br> librmagick-ruby librmagick-ruby1.8<br>0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br>Need to get 192kB of archives.<br>After this operation, 680kB of additional disk space will be used.<br>Do you want to continue [Y/n]? <br>Get:1 http://br.archive.ubuntu.com karmic/universe librmagick-ruby1.8 2.10.0-1build1 [185kB]<br>Get:2 http://br.archive.ubuntu.com karmic/universe librmagick-ruby 2.10.0-1build1 [7,044B]<br>Fetched 192kB in 4s (38.8kB/s) <br>Selecting previously deselected package librmagick-ruby1.8.<br>(Reading database ... 216155 files and directories currently installed.)<br>Unpacking librmagick-ruby1.8 (from .../librmagick-ruby1.8_2.10.0-1build1_i386.deb) ...<br>Selecting previously deselected package librmagick-ruby.<br>Unpacking librmagick-ruby (from .../librmagick-ruby_2.10.0-1build1_all.deb) ...<br>Setting up librmagick-ruby1.8 (2.10.0-1build1) ...<br>Setting up librmagick-ruby (2.10.0-1build1) ...<br>kosh@beren:~#<br><br>Em seguida:<br><br>kosh@beren:~# sudo gem install rmagick<br>Building native extensions. This could take a while...<br>ERROR: Error installing rmagick:<br> ERROR: Failed to build gem native extension.<br><br>/usr/bin/ruby1.8 extconf.rb<br>checking for Ruby version >= 1.8.5... yes<br>checking for gcc... yes<br>checking for Magick-config... no<br>Can't install RMagick 2.12.2. Can't find Magick-config in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br><br>*** extconf.rb failed ***<br>Could not create Makefile due to some reason, probably lack of<br>necessary libraries and/or headers. Check the mkmf.log file for more<br>details. You may need configuration options.<br><br>Provided configuration options:<br> --with-opt-dir<br> --without-opt-dir<br> --with-opt-include<br> --without-opt-include=${opt-dir}/include<br> --with-opt-lib<br> --without-opt-lib=${opt-dir}/lib<br> --with-make-prog<br> --without-make-prog<br> --srcdir=.<br> --curdir<br> --ruby=/usr/bin/ruby1.8<br><br><br>Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rmagick-2.12.2 for inspection.<br>Results logged to /usr/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out<br>kosh@beren:~#<br><br>Só consegui resolver fazendo como está no post. A roda um Ubuntu 9.10 recém instalado: Foi instalado o ruby, o rubygems via arquivo tar e depois o rails. <br><br>O que terá faltado?<br><br>[]'sKoshhttp://www.blogger.com/profile/01845869161368572285noreply@blogger.com