I am trying to install Image::Magick for Perl, but getting tons of different errors. Not sure what to do. When I do the 'make' command, after I do the "perl Makefile.PL' command, I get error message pertaining to the magick.xs file. I get an error for about every line in that file. Over 9000:
[root@localhost PerlMagick-6.20]# make
Magick.xs:63:24: error: magick/api.h: No such file or directory
Magick.xs:152: error: syntax error before ‘MagickRealType’
Magick.xs:152: warning: no semicolon at end of struct or union
Magick.xs:159: error: syntax error before ‘*’ token
Magick.xs:159: warning: type defaults to ‘int’ in declaration of ‘image_reference’
Magick.xs:159: warning: data definition has no type or storage class
I was having the same problem at work. But then I downloaded the RPM for imagemagick and installed it on my system at work, and then I was able to install Image::Magick for Perl. But at work I use a RH9 on 32bit system. So.....
Right now I just deleted all the ImageMagick RPM's from my at home system (FC4 AMD64) and am trying to re-install the RPMs with this package: ImageMagick-6.2.3-3.x86_64.rpm. But when I do, I get this message:
[root@localhost installers]# rpm -ivh ImageMagick-6.2.3-3.x86_64.rpm
error: Failed dependencies:
libgs.so.8()(64bit) is needed by ImageMagick-6.2.3-3.x86_64
So I guess I don't know what to do. I have been trying to get Image::Magick to work for over a week now, and its been sending me on these journeys that I didn't think I'd have to go on. I found this page:
ftp://ftp.fifi.org/pub/ImageMagick/linux/fedora/x86_64/
I'm not sure which RPM packages I need. I'm not sure if these would even fix the problem. I have no idea what libgs.so.8 is and/or how to get it.
I tried the above RPMs and I am getting the same error messages. This is really frustrating.
Any help? Thanks....