cpan/image magick

Jens Porup jens at cyber.com.au
Mon Aug 26 23:05:58 CDT 2002


Jason,

well it's not just you, I get the same error when I try downloading
Image::Magick using the CPAN module.

I'm confused as to why rpms are even relevant if you
were using the CPAN module (perl -MCPAN -e shell).

Also, you're getting an older version, if you do an
'm Image::Magick' in the cpan shell I notice

Module id = Image::Magick
    DESCRIPTION  Read, query, transform, and write images
    CPAN_USERID  JCRISTY (Cristy <cristy at mystic.es.dupont.com>)
->    CPAN_VERSION 5.48
    CPAN_FILE    J/JC/JCRISTY/PerlMagick-5.48.tar.gz
    DSLI_STATUS  RdcO (released,developer,C,object-oriented)
    INST_FILE    (not installed)

I'll leave it to my betters to poke holes in all of the above...
(Speaking of which, I've cross-posted this to Perl Mongers,
who may be able to help you too...)

;)

Jens

On Tue, Aug 27, 2002 at 01:41:29PM +1000, Jason Parlevliet wrote:
> Hey all
> 
> I'm trying to install the Image::Magick bundle through CPAN, but when it 
> tries to make it barfs and says
> Magick.xs:76:24: magick/api.h: No such file or directory
> 
> (I've put more output below)
> 
> I've installed the ImageMagick devel RPMs
> ImageMagick-perl-5.3.8-3
> ImageMagick-c++-devel-5.3.8-3
> ImageMagick-5.3.8-3
> ImageMagick-devel-5.3.8-3
> ImageMagick-c++-5.3.8-3
> 
> and the api.h file is here
> /usr/X11R6/include/X11/magick/magick/api.h
> 
> So how do I tell CPAN to look there?
> 
> Jase
> 
> MORE OUTPUT...
>  CPAN.pm: Going to build J/JC/JCRISTY/PerlMagick-5.48.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -llcms
> Writing Makefile for Image::Magick
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Image
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Image
> mkdir blib/arch/auto/Image/Magick
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Image
> mkdir blib/lib/auto/Image/Magick
> mkdir blib/man3
> 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.0/i386-linux -I/usr/lib/perl5/5.6.0 
> /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.6.0/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.48\" -DXS_VERSION=\"5.48\" -fPIC 
> -I/usr/lib/perl5/5.6.0/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
> 
> 
> 
> -- 
> Jason Parlevliet
> Technical Services Coordinator
> RMIT - Art Design and Communication
> 
> -
> luv at luv.asn.au is for LINUX-RELATED POSTS ONLY. For details and information
> on how to unsubscribe, see http://www.luv.asn.au/mailinglists.html.



More information about the Melbourne-pm mailing list