On Friday 17 February 2006 10:25, JupiterHost.Net wrote:
> Howdy list,
>
> When installign Image::Magick you do this:
>
> perl Makefile.PL
> make
> make install
>
> How do I tell it the path that ImageMagick is installed in sot hat its
> get built agianst them specifically?
>
> The docs and comments in Makefile.PL are pretty slim :)
>
> Would this do what I'm looking for above:
>
> perl Makefile.PL PREFIX=/foo/bar/imagemagic
>
> as regards to:
>
> # Set Perl Installation prefix to ImageMagick installation prefix
> # 'PREFIX' => '/usr'
>
> in Makefile.PL
I don't know. Hopefully you get answer. Would it hurt anything to try it?
Slackware 10.2 I just grepped the pkg and found 13 in /usr/bin
You *could* (though this likely be the hard way to do it) make sym links
in /usr/bin pointing to wherever these actually are on your system.
[EMAIL PROTECTED]:/var/log/packages# ls | grep imagemagi
imagemagick-6.2.3_3-i486-2
[EMAIL PROTECTED]:/var/log/packages# cat imagemagick-6.2.3_3-i486-2
PACKAGE NAME: imagemagick-6.2.3_3-i486-2
[ snipped ]
usr/bin/
usr/bin/compare
usr/bin/conjure
usr/bin/convert
usr/bin/display
usr/bin/composite
usr/bin/identify
usr/bin/Magick++-config
usr/bin/Wand-config
usr/bin/mogrify
usr/bin/Magick-config
usr/bin/montage
usr/bin/import
usr/bin/animate
usr/doc/
[ snipped ]
--
[EMAIL PROTECTED]:/usr/bin# pwd
/usr/bin
[EMAIL PROTECTED]:/usr/bin# ln -s
/usr/local/wherever_imagemagick's_bin_is_at/mogrify
mogrify
ln<space>-s<space>where_mogrify_really_is<space>mogrify
Too much work to sym link each/all 13 of these --
unless ( Perl_is_used ) { print "Perl makes it easy\n";}
Better off to get it how you requested up above.
--
Alan.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>