PerlMagick make on Fedora 9
Posted: 2008-07-17T23:56:28-07:00
Hello All,
I have tried installing PerlMagick and I get warnings but make test seems okay. After it's installed
use Image::Magick;
can not be used in a perl program.
I included the output from perl Makefile.PL, make, make test, make install and demo make. What am I missing?
Thanks in advance,
Craig
[root@ns2 ImageMagick-6.4.2]# cd PerlMagick
[root@ns2 PerlMagick]# perl Makefile.PL
Warning: -L../magick/.libs changed to
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../magick/.libs
Warning: -L../wand/.libs changed to
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../wand/.libs
Writing Makefile for Image::Magick
[root@ns2 PerlMagick]# make
gcc -c -I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -fopenmp -g -O2 -Wall -W -pthread -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -DVERSION=\"6.4.2
\" -DXS_VERSION=\"6.4.2\" -fPIC
"-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE"
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs:212: warning: missing initializer
Magick.xs:212: warning: (near initialization for Methods[8].arguments)
Magick.xs:216: warning: missing initializer
Magick.xs:216: warning: (near initialization for
Methods[11].arguments)
Magick.xs:217: warning: missing initializer
Magick.xs:217: warning: (near initialization for
Methods[12].arguments)
Magick.xs:218: warning: missing initializer
Magick.xs:218: warning: (near initialization for
Methods[13].arguments)
Magick.xs:225: warning: missing initializer
Magick.xs:225: warning: (near initialization for
Methods[16].arguments)
Magick.xs:227: warning: missing initializer
Magick.xs:227: warning: (near initialization for
Methods[18].arguments)
Magick.xs:316: warning: missing initializer
Magick.xs:316: warning: (near initialization for
Methods[45].arguments)
Magick.xs:332: warning: missing initializer
Magick.xs:332: warning: (near initialization for
Methods[50].arguments)
Magick.xs:335: warning: missing initializer
Magick.xs:335: warning: (near initialization for
Methods[52].arguments)
Magick.xs:351: warning: missing initializer
Magick.xs:351: warning: (near initialization for
Methods[61].arguments)
Magick.xs:354: warning: missing initializer
Magick.xs:354: warning: (near initialization for
Methods[64].arguments)
Magick.xs:397: warning: missing initializer
Magick.xs:397: warning: (near initialization for
Methods[83].arguments)
Magick.xs:424: warning: missing initializer
Magick.xs:424: warning: (near initialization for
Methods[95].arguments)
Magick.xs:425: warning: missing initializer
Magick.xs:425: warning: (near initialization for
Methods[96].arguments)
Magick.xs:429: warning: missing initializer
Magick.xs:429: warning: (near initialization for
Methods[98].arguments)
Magick.xs:430: warning: missing initializer
Magick.xs:430: warning: (near initialization for
Methods[99].arguments)
Magick.xs:431: warning: missing initializer
Magick.xs:431: warning: (near initialization for
Methods[100].arguments)
Magick.xs:438: warning: missing initializer
Magick.xs:438: warning: (near initialization for
Methods[103].arguments)
Magick.xs: In function constant:
Magick.xs:556: warning: unused parameter sans
Magick.c: In function XS_Image__Magick_AcquireImagePixels:
Magick.c:2322: warning: unused variable ref
Magick.c:2317: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Animate:
Magick.c:2478: warning: unused variable ref
Magick.c:2471: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Append:
Magick.c:2559: warning: unused variable ref
Magick.c:2552: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Average:
Magick.c:2697: warning: unused variable ref
Magick.c:2690: warning: unused variable ix
Magick.c: In function XS_Image__Magick_BlobToImage:
Magick.c:2795: warning: unused variable ref
Magick.c:2788: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Copy:
Magick.c:2951: warning: unused variable ref
Magick.c:2944: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Coalesce:
Magick.c:3043: warning: unused variable ref
Magick.c:3036: warning: unused variable ix
Magick.c: In function XS_Image__Magick_CompareLayers:
Magick.c:3133: warning: unused variable ref
Magick.c:3126: warning: unused variable ix
Magick.xs: In function XS_Image__Magick_DESTROY:
Magick.xs:3250: warning: value computed is not used
Magick.c:3268: warning: unused variable ref
Magick.c: In function XS_Image__Magick_Display:
Magick.c:3358: warning: unused variable ref
Magick.c:3351: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Flatten:
Magick.c:3439: warning: unused variable ref
Magick.c:3432: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Fx:
Magick.c:3576: warning: unused variable ref
Magick.c:3569: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Get:
Magick.c:3735: warning: unused variable ref
Magick.c:3728: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetImagePixels:
Magick.c:4979: warning: unused variable ref
Magick.c:4974: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetIndexes:
Magick.c:5133: warning: unused variable ref
Magick.c:5128: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Histogram:
Magick.c:5206: warning: unused variable ref
Magick.c:5199: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetPixel:
Magick.c:5328: warning: unused variable ref
Magick.c:5321: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetPixels:
Magick.c:5535: warning: unused variable ref
Magick.c:5528: warning: unused variable ix
Magick.c: In function XS_Image__Magick_ImageToBlob:
Magick.c:5783: warning: unused variable ref
Magick.c:5776: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Layers:
Magick.c:5888: warning: unused variable ref
Magick.c:5881: warning: unused variable ix
Magick.c: In function XS_Image__Magick_MagickToMime:
Magick.c:6206: warning: unused variable ref
Magick.c:6201: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Mogrify:
Magick.c:6241: warning: unused variable ref
Magick.c: In function XS_Image__Magick_Montage:
Magick.c:9188: warning: unused variable ref
Magick.c:9181: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Morph:
Magick.c:9598: warning: unused variable ref
Magick.c:9591: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Mosaic:
Magick.c:9729: warning: unused variable ref
Magick.c:9722: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Ping:
Magick.c:9819: warning: unused variable ref
Magick.c:9812: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Preview:
Magick.c:10031: warning: unused variable ref
Magick.c:10024: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryColor:
Magick.c:10131: warning: unused variable ref
Magick.c:10124: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryColorname:
Magick.c:10214: warning: unused variable ref
Magick.c:10207: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryFont:
Magick.c:10291: warning: unused variable ref
Magick.c:10284: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryFontMetrics:
Magick.c:10413: warning: unused variable ref
Magick.c:10406: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryMultilineFontMetrics:
Magick.c:10789: warning: unused variable ref
Magick.c:10782: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryFormat:
Magick.c:11165: warning: unused variable ref
Magick.c:11158: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryOption:
Magick.c:11260: warning: unused variable ref
Magick.xs:11378: warning: label PerlException defined but not used
Magick.c:11253: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Read:
Magick.c:11324: warning: unused variable ref
Magick.c:11317: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Remote:
Magick.c:11536: warning: unused variable ref
Magick.c:11529: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Set:
Magick.c:11590: warning: unused variable ref
Magick.c:11583: warning: unused variable ix
Magick.c: In function XS_Image__Magick_SetPixel:
Magick.c:11655: warning: unused variable ref
Magick.c:11648: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Statistics:
Magick.c:11899: warning: unused variable ref
Magick.c:11892: warning: unused variable ix
Magick.c: In function XS_Image__Magick_SyncImagePixels:
Magick.c:12076: warning: unused variable ref
Magick.c:12071: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Transform:
Magick.c:12145: warning: unused variable ref
Magick.c:12138: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Write:
Magick.c:12313: warning: unused variable ref
Magick.c:12306: warning: unused variable ix
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
gcc -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -shared
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV
-L/usr/local/lib -lfreetype Magick.o -o
blib/arch/auto/Image/Magick/Magick.so \
-L/usr/local/lib
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../magick/.libs -lMagickCore
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../wand/.libs -lMagickWand \
chmod 755 blib/arch/auto/Image/Magick/Magick.so
cp Magick.bs blib/arch/auto/Image/Magick/Magick.bs
chmod 644 blib/arch/auto/Image/Magick/Magick.bs
Manifying blib/man3/Image::Magick.3pm
[root@ns2 PerlMagick]# make test
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/png/*.t t/tiff/*.t
t/x11/*.t t/zlib/*.t
t/blob............ok
t/bzlib/read......ok
t/bzlib/write.....ok
t/composite.......ok
t/filter..........ok
t/getattribute....ok
t/jpeg/read.......ok
t/jpeg/write......ok
t/montage.........ok
t/png/read-16.....ok
t/png/read........ok
t/png/write-16....ok
t/png/write.......ok
t/read............ok
t/setattribute....ok
t/tiff/read.......ok
t/tiff/write......ok
t/write...........ok
t/x11/read........ok
t/x11/write.......ok
t/zlib/read.......ok
t/zlib/write......ok
All tests successful.
Files=22, Tests=331, 80 wallclock secs (44.73 cusr 7.38 csys = 52.11
CPU)
[root@ns2 PerlMagick]#
[root@ns2 PerlMagick]# make install
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Writing /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/Image/Magick/.packlist
Appending installation info
to /usr/lib/perl5/5.10.0/i386-linux-thread-multi/perllocal.pod
[root@ns2 PerlMagick]# cd demo
[root@ns2 demo]# make
perl demo.pl
Can't load
'/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/Image/Magick/Magick.so' for
module Image::Magick: libMagickCore.so.1: cannot open shared object file: No such file or directory
at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 203.
at demo.pl line 5
Compilation failed in require at demo.pl line 5.
BEGIN failed--compilation aborted at demo.pl line 5.
^Cmake: *** [all] Interrupt
[root@ns2 demo]#
I have tried installing PerlMagick and I get warnings but make test seems okay. After it's installed
use Image::Magick;
can not be used in a perl program.
I included the output from perl Makefile.PL, make, make test, make install and demo make. What am I missing?
Thanks in advance,
Craig
[root@ns2 ImageMagick-6.4.2]# cd PerlMagick
[root@ns2 PerlMagick]# perl Makefile.PL
Warning: -L../magick/.libs changed to
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../magick/.libs
Warning: -L../wand/.libs changed to
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../wand/.libs
Writing Makefile for Image::Magick
[root@ns2 PerlMagick]# make
gcc -c -I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -fopenmp -g -O2 -Wall -W -pthread -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -DVERSION=\"6.4.2
\" -DXS_VERSION=\"6.4.2\" -fPIC
"-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE"
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs:212: warning: missing initializer
Magick.xs:212: warning: (near initialization for Methods[8].arguments)
Magick.xs:216: warning: missing initializer
Magick.xs:216: warning: (near initialization for
Methods[11].arguments)
Magick.xs:217: warning: missing initializer
Magick.xs:217: warning: (near initialization for
Methods[12].arguments)
Magick.xs:218: warning: missing initializer
Magick.xs:218: warning: (near initialization for
Methods[13].arguments)
Magick.xs:225: warning: missing initializer
Magick.xs:225: warning: (near initialization for
Methods[16].arguments)
Magick.xs:227: warning: missing initializer
Magick.xs:227: warning: (near initialization for
Methods[18].arguments)
Magick.xs:316: warning: missing initializer
Magick.xs:316: warning: (near initialization for
Methods[45].arguments)
Magick.xs:332: warning: missing initializer
Magick.xs:332: warning: (near initialization for
Methods[50].arguments)
Magick.xs:335: warning: missing initializer
Magick.xs:335: warning: (near initialization for
Methods[52].arguments)
Magick.xs:351: warning: missing initializer
Magick.xs:351: warning: (near initialization for
Methods[61].arguments)
Magick.xs:354: warning: missing initializer
Magick.xs:354: warning: (near initialization for
Methods[64].arguments)
Magick.xs:397: warning: missing initializer
Magick.xs:397: warning: (near initialization for
Methods[83].arguments)
Magick.xs:424: warning: missing initializer
Magick.xs:424: warning: (near initialization for
Methods[95].arguments)
Magick.xs:425: warning: missing initializer
Magick.xs:425: warning: (near initialization for
Methods[96].arguments)
Magick.xs:429: warning: missing initializer
Magick.xs:429: warning: (near initialization for
Methods[98].arguments)
Magick.xs:430: warning: missing initializer
Magick.xs:430: warning: (near initialization for
Methods[99].arguments)
Magick.xs:431: warning: missing initializer
Magick.xs:431: warning: (near initialization for
Methods[100].arguments)
Magick.xs:438: warning: missing initializer
Magick.xs:438: warning: (near initialization for
Methods[103].arguments)
Magick.xs: In function constant:
Magick.xs:556: warning: unused parameter sans
Magick.c: In function XS_Image__Magick_AcquireImagePixels:
Magick.c:2322: warning: unused variable ref
Magick.c:2317: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Animate:
Magick.c:2478: warning: unused variable ref
Magick.c:2471: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Append:
Magick.c:2559: warning: unused variable ref
Magick.c:2552: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Average:
Magick.c:2697: warning: unused variable ref
Magick.c:2690: warning: unused variable ix
Magick.c: In function XS_Image__Magick_BlobToImage:
Magick.c:2795: warning: unused variable ref
Magick.c:2788: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Copy:
Magick.c:2951: warning: unused variable ref
Magick.c:2944: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Coalesce:
Magick.c:3043: warning: unused variable ref
Magick.c:3036: warning: unused variable ix
Magick.c: In function XS_Image__Magick_CompareLayers:
Magick.c:3133: warning: unused variable ref
Magick.c:3126: warning: unused variable ix
Magick.xs: In function XS_Image__Magick_DESTROY:
Magick.xs:3250: warning: value computed is not used
Magick.c:3268: warning: unused variable ref
Magick.c: In function XS_Image__Magick_Display:
Magick.c:3358: warning: unused variable ref
Magick.c:3351: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Flatten:
Magick.c:3439: warning: unused variable ref
Magick.c:3432: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Fx:
Magick.c:3576: warning: unused variable ref
Magick.c:3569: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Get:
Magick.c:3735: warning: unused variable ref
Magick.c:3728: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetImagePixels:
Magick.c:4979: warning: unused variable ref
Magick.c:4974: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetIndexes:
Magick.c:5133: warning: unused variable ref
Magick.c:5128: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Histogram:
Magick.c:5206: warning: unused variable ref
Magick.c:5199: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetPixel:
Magick.c:5328: warning: unused variable ref
Magick.c:5321: warning: unused variable ix
Magick.c: In function XS_Image__Magick_GetPixels:
Magick.c:5535: warning: unused variable ref
Magick.c:5528: warning: unused variable ix
Magick.c: In function XS_Image__Magick_ImageToBlob:
Magick.c:5783: warning: unused variable ref
Magick.c:5776: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Layers:
Magick.c:5888: warning: unused variable ref
Magick.c:5881: warning: unused variable ix
Magick.c: In function XS_Image__Magick_MagickToMime:
Magick.c:6206: warning: unused variable ref
Magick.c:6201: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Mogrify:
Magick.c:6241: warning: unused variable ref
Magick.c: In function XS_Image__Magick_Montage:
Magick.c:9188: warning: unused variable ref
Magick.c:9181: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Morph:
Magick.c:9598: warning: unused variable ref
Magick.c:9591: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Mosaic:
Magick.c:9729: warning: unused variable ref
Magick.c:9722: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Ping:
Magick.c:9819: warning: unused variable ref
Magick.c:9812: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Preview:
Magick.c:10031: warning: unused variable ref
Magick.c:10024: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryColor:
Magick.c:10131: warning: unused variable ref
Magick.c:10124: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryColorname:
Magick.c:10214: warning: unused variable ref
Magick.c:10207: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryFont:
Magick.c:10291: warning: unused variable ref
Magick.c:10284: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryFontMetrics:
Magick.c:10413: warning: unused variable ref
Magick.c:10406: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryMultilineFontMetrics:
Magick.c:10789: warning: unused variable ref
Magick.c:10782: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryFormat:
Magick.c:11165: warning: unused variable ref
Magick.c:11158: warning: unused variable ix
Magick.c: In function XS_Image__Magick_QueryOption:
Magick.c:11260: warning: unused variable ref
Magick.xs:11378: warning: label PerlException defined but not used
Magick.c:11253: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Read:
Magick.c:11324: warning: unused variable ref
Magick.c:11317: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Remote:
Magick.c:11536: warning: unused variable ref
Magick.c:11529: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Set:
Magick.c:11590: warning: unused variable ref
Magick.c:11583: warning: unused variable ix
Magick.c: In function XS_Image__Magick_SetPixel:
Magick.c:11655: warning: unused variable ref
Magick.c:11648: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Statistics:
Magick.c:11899: warning: unused variable ref
Magick.c:11892: warning: unused variable ix
Magick.c: In function XS_Image__Magick_SyncImagePixels:
Magick.c:12076: warning: unused variable ref
Magick.c:12071: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Transform:
Magick.c:12145: warning: unused variable ref
Magick.c:12138: warning: unused variable ix
Magick.c: In function XS_Image__Magick_Write:
Magick.c:12313: warning: unused variable ref
Magick.c:12306: warning: unused variable ix
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
gcc -L../magick/.libs -lMagickCore -L../wand/.libs -lMagickWand -shared
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV
-L/usr/local/lib -lfreetype Magick.o -o
blib/arch/auto/Image/Magick/Magick.so \
-L/usr/local/lib
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../magick/.libs -lMagickCore
-L/usr/local/ImageMagick-6.4.2/PerlMagick/../wand/.libs -lMagickWand \
chmod 755 blib/arch/auto/Image/Magick/Magick.so
cp Magick.bs blib/arch/auto/Image/Magick/Magick.bs
chmod 644 blib/arch/auto/Image/Magick/Magick.bs
Manifying blib/man3/Image::Magick.3pm
[root@ns2 PerlMagick]# make test
/bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/png/*.t t/tiff/*.t
t/x11/*.t t/zlib/*.t
t/blob............ok
t/bzlib/read......ok
t/bzlib/write.....ok
t/composite.......ok
t/filter..........ok
t/getattribute....ok
t/jpeg/read.......ok
t/jpeg/write......ok
t/montage.........ok
t/png/read-16.....ok
t/png/read........ok
t/png/write-16....ok
t/png/write.......ok
t/read............ok
t/setattribute....ok
t/tiff/read.......ok
t/tiff/write......ok
t/write...........ok
t/x11/read........ok
t/x11/write.......ok
t/zlib/read.......ok
t/zlib/write......ok
All tests successful.
Files=22, Tests=331, 80 wallclock secs (44.73 cusr 7.38 csys = 52.11
CPU)
[root@ns2 PerlMagick]#
[root@ns2 PerlMagick]# make install
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Writing /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/Image/Magick/.packlist
Appending installation info
to /usr/lib/perl5/5.10.0/i386-linux-thread-multi/perllocal.pod
[root@ns2 PerlMagick]# cd demo
[root@ns2 demo]# make
perl demo.pl
Can't load
'/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/auto/Image/Magick/Magick.so' for
module Image::Magick: libMagickCore.so.1: cannot open shared object file: No such file or directory
at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 203.
at demo.pl line 5
Compilation failed in require at demo.pl line 5.
BEGIN failed--compilation aborted at demo.pl line 5.
^Cmake: *** [all] Interrupt
[root@ns2 demo]#