webchalkboard has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Monks,
I've managed to install ImageMagick 6.2.1. but i'm having trouble installing PerlMagick, the Perl extension that links up with Imagemagick. Does anyone here have any experience using this?
If so can you please explain what this bit of the README.txt file is going on about? It says.
Next, edit Makefile.PL and change LIBS and INC to include the appropri +ate path information to the required libMagick library. You will also +need library search paths (-L) to JPEG, PNG, TIFF, etc. libraries if th +ey were included with your installed version of ImageMagick. If an extensi +on library is built as a shared library but not installed in the syst +em's default library search path, you may need to add run-path informat +ion (often -R or -rpath) corresponding to the equivalent library searc +h path option so that the library can be located at run-time.
Can someone tell me what I need to do? I've found what it specifies the LIBS and INC and they currently look like this:
# Header search specfication and preprocessor flags 'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/i +nclude -I/usr/X11R6/include/X11 -I/usr/include/libxml2', # Library specification 'LIBS' => ['-L/usr/local/lib -lMagick -L/usr/X11R6/lib -lfree +type -lz -L/usr/lib -llcms -ltiff -lfreetype -ljpeg -lpng -ldpstk -ld +ps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthr +ead'],
The base directory that i'm installing this all in is /home/tdf/
Oh the only other thing to note is that i've managed to install ImageMagick using a pre-built binary, however I can't find PerlMagick prebuilt, so I have downloaded the source for ImageMagick which also includes the source for PerlMagick, and i'm trying to install that version. I've made sure it's all the same version though, i.e. 6.2.1.
I have a horrible feeling I have probably just included far too much information in this post and I doubt anyone is still reading so I will stop writing now and hope someone can point me in the right direction.
Cheers,
Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing PerlMagick
by polettix (Vicar) on Apr 06, 2005 at 14:42 UTC | |
|
Re: Installing PerlMagick
by cfreak (Chaplain) on Apr 06, 2005 at 16:39 UTC | |
by webchalkboard (Scribe) on Apr 06, 2005 at 16:47 UTC | |
by cfreak (Chaplain) on Apr 06, 2005 at 16:57 UTC | |
|
Re: Installing PerlMagick
by webchalkboard (Scribe) on Apr 06, 2005 at 15:06 UTC | |
by samizdat (Vicar) on Apr 06, 2005 at 17:18 UTC | |
|
Re: Installing PerlMagick
by fauria (Deacon) on Apr 06, 2005 at 15:11 UTC | |
|
Re: Installing PerlMagick
by webchalkboard (Scribe) on Apr 06, 2005 at 15:28 UTC | |
|
Re: Installing PerlMagick
by webchalkboard (Scribe) on Apr 07, 2005 at 09:52 UTC | |
by webchalkboard (Scribe) on Apr 07, 2005 at 10:07 UTC |