View Full Version : Installing RMagick, ImageMagick, Image_Science and G++
jtslade
10-30-2007, 07:09 PM
I am deploying some ruby on rails applicataions that requires either image_science or rmagick.
I am on Centos5
To compile FreeImage, a prerequisite to the Image_Science rails gem, I need g++. Anyone knows where to get it? It's not on any default CentOS5 yum repository.
RMagick is based on ImageMagick but I can't install ImageMagick because it doesn't have udev.
$ yum install <imagemagick-package>
....
Error: Missing Dependency: udev >= 089-1 is needed by package hal
What should I do?
Hi, g++ is part of gnu gcc. to install it:
yum -y install gcc-c++
Let us know the results!
jtslade
10-31-2007, 01:55 PM
g++ installs thanks! I am slowly getting the hang of rpm/yum. I am a long time gentoo and debian/ubuntu user.
I need to install udev and FreeImage from source, is there anything I should note?
Also, when many of these SRPM packages installs, the sources are saved in the REDHAT/SOURCES folder. I usually use sources from Redhat Enterprise X when I can't one for CentOS5. Is that all right.
jtslade
10-31-2007, 03:14 PM
For my development work I need RMagick and thus ImageMagick-devel.
I cannot install it because of the udev dependency.
Can you tell me how this fixed? If not I am afraid I might have to move to another host. That would be really sad because I am starting to love RapidVPS.
jtslade
11-02-2007, 01:10 AM
Rick,
Do you know what's wrong?
Hi, download the udev rpm and install it like this:
rpm -ivh udev*rpm --justdb --force
after that, the rpm chain will think its installed but it wont really be. It isn't needed, only the rpm you want to install is hardcoded to check and require it. If no luck, open a support ticket and write to save the ticket for me speciifcally. I'll check it out.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.