Ask a Question related to PERL Modules, Design and Development.
-
Ananth Chellappa #1
Image::Magick newbie
Hi,
Hopefully, this will be easy for someone else:
perl Makefile.PL LIB=xx PREFIX=xx
went off okay.
but..
Magick.xs was throwing up a lot of errors with "make" until I did this
added
MAGICK_HOME = /home/magnolia/ananth/tools/ImageMagick-6.2.4
and
-I$(MAGICK_HOME)/include to th INC list
in the Makefile
with that done, "make" finished reporting a lot of warnings from Magick.c
like:
....
Magick.c:7625: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryFont':
Magick.c:7700: warning: unused variable `ref'
Magick.c:7695: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryFontMetrics':
Magick.c:7815: warning: unused variable `ref'
Magick.c:7810: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_QueryMultilineFontMetrics':
Magick.c:8173: warning: unused variable `ref'
...
then, when I do "make test" every test fails. I get errors like :
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jng/*.t
t/jpeg/*.t t/mpeg/*.t t/png/*.t t/ps/*.t t/tiff/*.t t/ttf/*.t t/x/*.t
t/xfig/*.t t/zlib/*.t
t/blob............Can't load
'/home/magnolia/ananth/LEARN/perl/images/PerlMagick-6.20/blib/arch/auto/Imag
e/Magick/Magick.so'
for module Image::Magick: ld.so.1: /usr/local/bin/perl: fatal:
relocation error: file
/home/magnolia/ananth/LEARN/perl/images/PerlMagick-6.20/blib/arch/auto/Image
/Magick/Magick.so:
symbol AcquireMagickMemory: referenced symbol not found at
/usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
at t/blob.t line 7
Compilation failed in require at t/blob.t line 7.
BEGIN failed--compilation aborted at t/blob.t line 7.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Any help you could give me, I'd really appreciate.
Thanks,
Ananth
PS: tee = t and dot = . in email addr.
Ananth Chellappa Guest
-
Image magick palette
I searched a few and seems that here is the right place. I use image magick on Linux and also in windows. My question is how do I do in order to... -
Image::Magick and padding of image
I need to pad an image with a white border to make it fit a certain size. So far I've found the Border() method to do the job, but not quite. As... -
Image Magick
Mike At Spy wrote: the easiest way to remove them is to use RPM, if that was what was used to install them rpm -e ImageMagick if there are no... -
Image::Magick and Tk::Photo
I am trying to read in a bunch of images and manipulate them using Image::Magick, then display them using Tk::Photo. I would like to do this... -
[PHP] Image Magick
Mike -- ...and then Mike At Spy said... % % Anyone here familiar with the installation of Image Magick and what filesit % installs on your...



Reply With Quote

