in reply to Re: Image::Magick
in thread Image::Magick
I have spent a bit of time on this problem and am more perplexed now than I was before starting. Ooops.
First I'll offer how I build MY version of ImageMagick at the momement. I may change this after further
experimentation but this is at least more than what I am after:
After running all that I get a good build of the ImageMagick libraries and PerlMagick. Yaaah.PREFIX=/opt export CCFLAGS="-I$PREFIX/include/freetype2" export LDFLAGS="-L$PREFIX/lib" ./configure --prefix=$PREFIX \ --enable-shared \ --disable-static \ --with-modules \ --with-largefiles \ --with-magick-plus-plus \ --with-threads \ --enable-lzw=yes \ --without-fpx \ --with-perl=$PREFIX/bin/perl \ >logs/ImageMagick-config
However, CPAN'ing the more recent version of PerlMagick leads me into the confusion. I am getting complaints about all sorts of unknown struct members and types during make.
Magick.xs: In function `SetAttribute': Magick.xs:1392: structure has no member named `pen' Magick.xs: In function `XS_Image__Magick_Mogrify': Magick.xs:3693: `AffineMatrix' undeclared (first use in this function) Magick.xs:3693: (Each undeclared identifier is reported only once Magick.xs:3693: for each function it appears in.) Magick.xs:3693: parse error before `affine' Magick.xs:4351: structure has no member named `text' Magick.xs:4363: structure has no member named `geometry' ...yadda yaddaUnfortunately I don't have heaps of time to figure out what has gone awry but when I do, you'll hear from me. :)
Jay
In Section
Seekers of Perl Wisdom