Failed to install Image::Magick 
Author Message
 Failed to install Image::Magick

Hi,

I have a RedHat 7.3 machine with Perl 5.6.1 installed. I tried to use
CPAN to install Image::Magick and I got the following error:

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -llcms
Note (probably harmless): No library found for -ljasper
Note (probably harmless): No library found for -lfpx
Writing Makefile for Image::Magick
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap Magick.xs > Magick.xsc && mv
Magick.xsc Magick.c
gcc -c -I../ -I.. -D_REENTRANT -D_FILE_OFFSET_BITS=64
-I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/freetype2
-I/usr/include/libxml2 -fno-strict-aliasing -I/usr/local/include -O2
-march=i386 -mcpu=i686   -DVERSION=\"5.47\" -DXS_VERSION=\"5.47\"
-fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DHAVE_CONFIG_H Magick.c
Magick.xs:76:24: magick/api.h: No such file or directory
make: *** [Magick.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Can anyone advise how I can fix this?
Thanks
Woody



Wed, 26 Jan 2005 19:17:32 GMT  
 Failed to install Image::Magick

Quote:

> I have a RedHat 7.3 machine with Perl 5.6.1 installed. I tried to
> use CPAN to install Image::Magick and I got the following error:
> Magick.xs:76:24: magick/api.h: No such file or directory

There's probably a devel RPM that you need to install to give you the
header files.  On Mandrake it's libMagick5-devel-something.

--
Aaron



Wed, 26 Jan 2005 20:48:05 GMT  
 Failed to install Image::Magick

Quote:

>> I have a RedHat 7.3 machine with Perl 5.6.1 installed. I tried to
>> use CPAN to install Image::Magick and I got the following error:

You need the following RPMs installed from the RH7.3 CDs:

ImageMagick-devel-5.4.3.11-1
ImageMagick-5.4.3.11-1

Plus, you could just install the RPM

ImageMagick-perl-5.4.3.11-1

Which is a prebuilt Image::Magick perl module included with the 7.3 distro.

HTH

-Tom



Wed, 26 Jan 2005 23:43:19 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Image::Magick install failing

2. Image::Magick installation failed

3. Image Magick finding image size without loading image

4. Need help with Perl::Magick (Image::Magick)

5. Can't load Magick.so for module Image::Magick

6. Failure to install Image::Magick

7. Image::Magick install issue : libperl.a

8. solution: installing Image::Magick to host as non-root user

9. Image::Magick : unable to install/compile/use it

10. still problems installing Image::Magick to non-root target

11. Installing Image::Magick

12. Image::Magick: unable to install on Solaris 2.6/Sparc

 

 
Powered by phpBB® Forum Software