[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ok, Uncle on Rmagic

David Hughes

3/5/2007 9:03:00 AM

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-....

6 Answers

Tim Hunter

3/5/2007 1:19:00 PM

0

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....
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-....

David Hughes

3/6/2007 2:09:00 AM

0

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....
> 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-....

John Wilger

3/6/2007 4:24:00 AM

0

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

Brian Adkins

3/6/2007 4:31:00 AM

0

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 :)

David Hughes

3/6/2007 8:20:00 AM

0

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-....

David Hughes

3/6/2007 8:22:00 AM

0

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-....