ImageMagick-perl-6.3.7-3 deep regression
Posted: 2007-12-12T19:48:34-07:00
I'm having one heck of a time trying to move my web server, which uses perlmagick from Fedora Core 4 to a a pentium 64-bit processor and Fedora Core 8.
I loaded the latest I could find,
ImageMagick-6.3.7-3.x86_64.rpm and ImageMagick-perl-6.3.7-3.x86_64.rpm,
from htttp://image_magick.veidrodis.com/image_magick/linux/fedora/x86_64/
When I try to 'use Image::Magick;' from a test program, perl complains
"Can't locate loadable object for module Image::Magick in @INC"
Now I printf'ed a bunch, and found it was finding and executing the .../Image/Magick.pm (from the above rpm) okay. However after it prints the above error message, executes the bootstrap command, and goes into 'deep regression' (as I've heard others here call it), repeatedly calling 'sub AUTOLOAD'. The printf's I've added to Magick.pm tell me this. Then of course I get "out of memory".
What do I do to fix this? This has occupied me for 2 days. HELP
I previously have tried several things that didn't work.
loaded PerlMagick-6.32.tar.gz . got ERROR: āMagickCompositeOptionsā undeclared
This is not a clean installation -- the crud lying around from that may be part of the problem. I'd also like suggestions on how to clean the mess up (without making even more).
I did pull one bug out, that it was finding a version of Magick.pm (6.2.0) first and not seeing 6.3.7.
An interesting command which may help with this:
[root@Gigabug usr]# find /usr -name "*Magick*" -print
/usr/share/ImageMagick-6.3.5
/usr/share/doc/ImageMagick-6.3.5.9
/usr/share/doc/ImageMagick-6.3.5
/usr/share/doc/ImageMagick-6.3.5/www/Magick++
/usr/share/doc/ImageMagick-6.3.5/www/Magick++/ImageMagick.png
/usr/share/doc/ImageMagick-6.3.5/www/Magick++/Magick++.png
/usr/share/doc/ImageMagick-6.3.5/www/ImageMagickObject.html
/usr/share/doc/ImageMagick-6.3.7
/usr/share/doc/ImageMagick-6.3.7/www/Magick++
/usr/share/doc/ImageMagick-6.3.7/www/Magick++/ImageMagick.png
/usr/share/doc/ImageMagick-6.3.7/www/Magick++/Magick++.png
/usr/share/doc/ImageMagick-6.3.7/www/ImageMagickObject.html
/usr/share/doc/ImageMagick-perl-6.3.7
/usr/share/ImageMagick-6.3.7
/usr/share/man/man3/Apache::ImageMagick.3pm
/usr/share/man/man3/Image::Magick.3pm.gz
/usr/share/man/man1/ImageMagick.1.gz
/usr/lib64/ImageMagick-6.3.5
/usr/lib64/libMagick.so.10
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Apache/ImageMagick
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Image/Magick
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/MagickFoo.pm # tried some things here
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/Magick.pm
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/Magick.pm~
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/#Magick.pm#
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/Magick0.pm
/usr/lib64/ImageMagick-6.3.7
/usr/lib64/libMagick.so.10.0.8
/usr/lib64/libMagick.so.10.0.9
/usr/lib/ImageMagick-6.3.5
/usr/lib/libMagick.so.10
/usr/lib/perl5/site_perl/5.8.8/CGI/ImageMagick.pm
/usr/lib/perl5/site_perl/5.8.8/Apache/ImageMagick.pm
/usr/lib/libMagick.so.10.0.8
/usr/local/share/doc/ImageMagick-6.3.7
/usr/local/share/doc/ImageMagick-6.3.7/www/Magick++
/usr/local/share/doc/ImageMagick-6.3.7/www/Magick++/ImageMagick.png
/usr/local/share/doc/ImageMagick-6.3.7/www/Magick++/Magick++.png
/usr/local/share/doc/ImageMagick-6.3.7/www/ImageMagickObject.html
/usr/local/share/ImageMagick-6.3.7
/usr/local/share/man/man1/Magick++-config.1
/usr/local/share/man/man1/ImageMagick.1
/usr/local/share/man/man1/Magick-config.1
/usr/local/bin/Magick-config
/usr/local/bin/Magick++-config
/usr/local/lib/libMagick++.a
/usr/local/lib/libMagick.la
/usr/local/lib/libMagick++.la
/usr/local/lib/ImageMagick-6.3.7
/usr/local/lib/libMagick.a
/usr/local/lib/pkgconfig/ImageMagick++.pc
/usr/local/lib/pkgconfig/ImageMagick.pc
/usr/local/include/Magick++
/usr/local/include/wand/MagickWand.h
/usr/local/include/magick/MagickCore.h
/usr/local/include/magick/ImageMagick.h
/usr/local/include/Magick++.h
I loaded the latest I could find,
ImageMagick-6.3.7-3.x86_64.rpm and ImageMagick-perl-6.3.7-3.x86_64.rpm,
from htttp://image_magick.veidrodis.com/image_magick/linux/fedora/x86_64/
When I try to 'use Image::Magick;' from a test program, perl complains
"Can't locate loadable object for module Image::Magick in @INC"
Now I printf'ed a bunch, and found it was finding and executing the .../Image/Magick.pm (from the above rpm) okay. However after it prints the above error message, executes the bootstrap command, and goes into 'deep regression' (as I've heard others here call it), repeatedly calling 'sub AUTOLOAD'. The printf's I've added to Magick.pm tell me this. Then of course I get "out of memory".
What do I do to fix this? This has occupied me for 2 days. HELP
I previously have tried several things that didn't work.
loaded PerlMagick-6.32.tar.gz . got ERROR: āMagickCompositeOptionsā undeclared
This is not a clean installation -- the crud lying around from that may be part of the problem. I'd also like suggestions on how to clean the mess up (without making even more).
I did pull one bug out, that it was finding a version of Magick.pm (6.2.0) first and not seeing 6.3.7.
An interesting command which may help with this:
[root@Gigabug usr]# find /usr -name "*Magick*" -print
/usr/share/ImageMagick-6.3.5
/usr/share/doc/ImageMagick-6.3.5.9
/usr/share/doc/ImageMagick-6.3.5
/usr/share/doc/ImageMagick-6.3.5/www/Magick++
/usr/share/doc/ImageMagick-6.3.5/www/Magick++/ImageMagick.png
/usr/share/doc/ImageMagick-6.3.5/www/Magick++/Magick++.png
/usr/share/doc/ImageMagick-6.3.5/www/ImageMagickObject.html
/usr/share/doc/ImageMagick-6.3.7
/usr/share/doc/ImageMagick-6.3.7/www/Magick++
/usr/share/doc/ImageMagick-6.3.7/www/Magick++/ImageMagick.png
/usr/share/doc/ImageMagick-6.3.7/www/Magick++/Magick++.png
/usr/share/doc/ImageMagick-6.3.7/www/ImageMagickObject.html
/usr/share/doc/ImageMagick-perl-6.3.7
/usr/share/ImageMagick-6.3.7
/usr/share/man/man3/Apache::ImageMagick.3pm
/usr/share/man/man3/Image::Magick.3pm.gz
/usr/share/man/man1/ImageMagick.1.gz
/usr/lib64/ImageMagick-6.3.5
/usr/lib64/libMagick.so.10
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Apache/ImageMagick
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/Image/Magick
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/MagickFoo.pm # tried some things here
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/Magick.pm
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/Magick.pm~
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/#Magick.pm#
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Image/Magick0.pm
/usr/lib64/ImageMagick-6.3.7
/usr/lib64/libMagick.so.10.0.8
/usr/lib64/libMagick.so.10.0.9
/usr/lib/ImageMagick-6.3.5
/usr/lib/libMagick.so.10
/usr/lib/perl5/site_perl/5.8.8/CGI/ImageMagick.pm
/usr/lib/perl5/site_perl/5.8.8/Apache/ImageMagick.pm
/usr/lib/libMagick.so.10.0.8
/usr/local/share/doc/ImageMagick-6.3.7
/usr/local/share/doc/ImageMagick-6.3.7/www/Magick++
/usr/local/share/doc/ImageMagick-6.3.7/www/Magick++/ImageMagick.png
/usr/local/share/doc/ImageMagick-6.3.7/www/Magick++/Magick++.png
/usr/local/share/doc/ImageMagick-6.3.7/www/ImageMagickObject.html
/usr/local/share/ImageMagick-6.3.7
/usr/local/share/man/man1/Magick++-config.1
/usr/local/share/man/man1/ImageMagick.1
/usr/local/share/man/man1/Magick-config.1
/usr/local/bin/Magick-config
/usr/local/bin/Magick++-config
/usr/local/lib/libMagick++.a
/usr/local/lib/libMagick.la
/usr/local/lib/libMagick++.la
/usr/local/lib/ImageMagick-6.3.7
/usr/local/lib/libMagick.a
/usr/local/lib/pkgconfig/ImageMagick++.pc
/usr/local/lib/pkgconfig/ImageMagick.pc
/usr/local/include/Magick++
/usr/local/include/wand/MagickWand.h
/usr/local/include/magick/MagickCore.h
/usr/local/include/magick/ImageMagick.h
/usr/local/include/Magick++.h