On Monday 20 February 2006 11:47, JupiterHost.Net wrote: > [EMAIL PROTECTED] wrote: > > On Friday 17 February 2006 10:25, JupiterHost.Net wrote: > >>Howdy list,
Hi. [ . . ] > The question is if I buile Image Magick (the system library part of it) > with --prefix, how do I tell the Image::magick install where its at (IE > how do I tell it the prefix I used)? http://search.cpan.org/~jcristy/PerlMagick-6.24/Magick.pm A Web page has been set up for this extension. See: http://www.imagemagick.org/script/perl-magick.php http://www.imagemagick.org/script/perl-magick.php <quote> ImageMagick must already be installed on your system. Next, get the PerlMagick distribution corresponding to the installed ImageMagick distribution (e.g. PerlMagick 6.22 for ImageMagick 6.2.2) and unpack it as shown below: gunzip -c PerlMagick-6.22.tar.gz | tar -xvf - cd PerlMagick Next, edit Makefile.PL and change LIBS and INC to include the appropriate path information to the required libMagick library.</quote> (I quoted near 65% of the doc/instruction about what's needed -- there's more) # Library specification 'LIBS' => ['-L/usr/lib -lMagick -L/usr/X11R6/lib64 -L/usr/lib -ltiff -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lpthread -lm -lpthread'], # Header search specfication and preprocessor flags 'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2', I'm guess: if IM lib is not in: /usr/lib edit it to -L/path2/your_lib -lMagick But that's a *guess* -- I've never done a custom Image::Magick installation. i also guess about the bin -- appears it needs edited to puts the Perl part in the same dir where the IM bin is. I didn't understand the part about .png .jpg . . . -- Alan. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>