Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Ok, Uncle on Rmagic

Reply
Thread Tools

Ok, Uncle on Rmagic

 
 
David Hughes
Guest
Posts: n/a
 
      03-05-2007
I am a total newb in RoR. But this community looks awesome. Am really
looking forward to learning Ruby and its elements.

Having said that, the following is a really crummy problem. Am running
Fedora Core 6. Ruby installed fine. Gem appears to have installed as
well. Went to install the Ruby Asset manager and the following....

configure: error: Can't install RMagick. Can't find libMagick or one of
the dependent libraries.
Check the config.log file for more detailed
information.


I searched and know this is a known issue. I've mucked around trying to
figure out how to get past the problem. The libMagick .so files are
located in /usr/local/lib. I yum'd the ImageMagick-devel installation
as was recommended. And a few other things. And continue to get the
same error.

Help? I know this is a really simple problem, but am fresh into Ruby on
Rails and felt I should ask. I will learn more and more as I get into,
but am asking for help on this.

tia

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Tim Hunter
Guest
Posts: n/a
 
      03-05-2007
David Hughes wrote:
> I am a total newb in RoR. But this community looks awesome. Am really
> looking forward to learning Ruby and its elements.
>
> Having said that, the following is a really crummy problem. Am running
> Fedora Core 6. Ruby installed fine. Gem appears to have installed as
> well. Went to install the Ruby Asset manager and the following....
>
> configure: error: Can't install RMagick. Can't find libMagick or one of
> the dependent libraries.
> Check the config.log file for more detailed
> information.
>
>
> I searched and know this is a known issue. I've mucked around trying to
> figure out how to get past the problem. The libMagick .so files are
> located in /usr/local/lib. I yum'd the ImageMagick-devel installation
> as was recommended. And a few other things. And continue to get the
> same error.
>
> Help? I know this is a really simple problem, but am fresh into Ruby on
> Rails and felt I should ask. I will learn more and more as I get into,
> but am asking for help on this.
>
> tia

Check this out: http://rmagick.rubyforge.org/install-faq.html#libmagick.
If that doesn't help. email rmagick AT rubyforge DOT org.

The Installing RMagick on Linux HOWTO is here:
http:/rmagick.rubyforge.org/install-linux.html.

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
David Hughes
Guest
Posts: n/a
 
      03-06-2007
Thank you for this response. I will study the URL and see if I can
break this logjam. Am anxious to get under the hood and learn.

drh

Tim Hunter wrote:
> David Hughes wrote:
>> I am a total newb in RoR. But this community looks awesome. Am really
>> looking forward to learning Ruby and its elements.
>>
>> Having said that, the following is a really crummy problem. Am running
>> Fedora Core 6. Ruby installed fine. Gem appears to have installed as
>> well. Went to install the Ruby Asset manager and the following....
>>
>> configure: error: Can't install RMagick. Can't find libMagick or one of
>> the dependent libraries.
>> Check the config.log file for more detailed
>> information.
>>
>>
>> I searched and know this is a known issue. I've mucked around trying to
>> figure out how to get past the problem. The libMagick .so files are
>> located in /usr/local/lib. I yum'd the ImageMagick-devel installation
>> as was recommended. And a few other things. And continue to get the
>> same error.
>>
>> Help? I know this is a really simple problem, but am fresh into Ruby on
>> Rails and felt I should ask. I will learn more and more as I get into,
>> but am asking for help on this.
>>
>> tia

> Check this out: http://rmagick.rubyforge.org/install-faq.html#libmagick.
> If that doesn't help. email rmagick AT rubyforge DOT org.
>
> The Installing RMagick on Linux HOWTO is here:
> http:/rmagick.rubyforge.org/install-linux.html.



--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
John Wilger
Guest
Posts: n/a
 
      03-06-2007
On Mar 5, 6:09 pm, David Hughes <d...@oldcolo.com> wrote:
> Thank you for this response. I will study the URL and see if I can
> break this logjam. Am anxious to get under the hood and learn.


If your main goal is to learn Ruby/Ruby on Rails, then I might suggest
doing so with an application that doesn't require rmagick. Even after
working with Ruby for a couple of years on various systems, I still
occasionally curse at my computer when I have to do an rmagick
installation. I'd recommend picking up a copy of "Agile Web
Development with Ruby on Rails" and "Programming Ruby". Those two
books should give you a good start, and you can worry about things
like rmagick after you've decided that you want to stick with Ruby.

I would hate to see your frustration with a package that you may not
even need end up turning you off to the language all together.

--
Regards,

John Wilger

 
Reply With Quote
 
Brian Adkins
Guest
Posts: n/a
 
      03-06-2007
David Hughes wrote:
> I am a total newb in RoR. But this community looks awesome. Am really
> looking forward to learning Ruby and its elements.
>
> Having said that, the following is a really crummy problem. Am running
> Fedora Core 6. Ruby installed fine. Gem appears to have installed as
> well. Went to install the Ruby Asset manager and the following....
>
> configure: error: Can't install RMagick. Can't find libMagick or one of
> the dependent libraries.
> Check the config.log file for more detailed
> information.


I don't know the specifics of how you need to use RMagick, but if it's
fairly simple you can try just shelling out to imagemagick. In my case,
I only needed to resize an image, so I just used backtick to call the
imagemagick convert command:

`convert -resize 480x360 #{temp_file_path} #{file_path}`

As long as imagemagick has been installed (fairly common on Linux), it
works fine. Switching to RMagick as been on my list, but it's way down
on the list
 
Reply With Quote
 
David Hughes
Guest
Posts: n/a
 
      03-06-2007
This is of course saged advice. I am not so easily discouraged by yet
another dependency that complains... but agree that working through some
books and tasks to see if it for me is the smart thing.




John Wilger wrote:
> On Mar 5, 6:09 pm, David Hughes <d...@oldcolo.com> wrote:
>> Thank you for this response. I will study the URL and see if I can
>> break this logjam. Am anxious to get under the hood and learn.

>
> If your main goal is to learn Ruby/Ruby on Rails, then I might suggest
> doing so with an application that doesn't require rmagick. Even after
> working with Ruby for a couple of years on various systems, I still
> occasionally curse at my computer when I have to do an rmagick
> installation. I'd recommend picking up a copy of "Agile Web
> Development with Ruby on Rails" and "Programming Ruby". Those two
> books should give you a good start, and you can worry about things
> like rmagick after you've decided that you want to stick with Ruby.
>
> I would hate to see your frustration with a package that you may not
> even need end up turning you off to the language all together.
>
> --
> Regards,
>
> John Wilger



--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
David Hughes
Guest
Posts: n/a
 
      03-06-2007
Was interested in looking at the asset manager which requires RMagick.
Will fuss with the dependency problem in the morning. Was just quite
interested to see what the current Ruby Asset Manager did, and was it
far enough along to bolt on some additional apps.

Tx a mil for the response.



Brian Adkins wrote:
> David Hughes wrote:
>> information.

> I don't know the specifics of how you need to use RMagick, but if it's
> fairly simple you can try just shelling out to imagemagick. In my case,
> I only needed to resize an image, so I just used backtick to call the
> imagemagick convert command:
>
> `convert -resize 480x360 #{temp_file_path} #{file_path}`
>
> As long as imagemagick has been installed (fairly common on Linux), it
> works fine. Switching to RMagick as been on my list, but it's way down
> on the list



--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use rmagic in intrantrails yang jdong Ruby 3 01-18-2006 01:14 PM
rmagic dump to string instead of file tsuraan Ruby 2 09-20-2005 01:41 PM
gem and rmagic confusion Paul Ruby 2 11-29-2004 04:10 PM
rmagic windows binary ?? Paul Ruby 7 11-29-2004 02:21 PM
Precompiled RMagic on Win32 (rubyinstaller build) Richard Kilmer Ruby 8 04-19-2004 01:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57