Re: Installation issues for Image::Magick on Solaris 10
Posted: 2011-09-07T11:11:45-07:00
Below is the output from the PerlMagick folder for perl Makefile.PL, make and make test.
Please let me know whether to run make install with those errors from make test.
perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: -L../magick/.libs changed to -L/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1/PerlMagick/../magick/.libs
Note (probably harmless): No library found for -lperl
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
--------------------------------------------------------------------------------------------------------------------------
make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
gcc -c -I../ -I.. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/include/libxml2 -I"/usr/include/ImageMagick" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -g -O2 -Wall -D_REENTRANT -pthreads -DVERSION=\"6.72\" -DXS_VERSION=\"6.72\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs: In function `GetList':
Magick.xs:908: warning: cast to pointer from integer of different size
Magick.xs: In function `GetPackageInfo':
Magick.xs:994: warning: cast to pointer from integer of different size
Magick.xs:997: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Append':
Magick.xs:2589: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Average':
Magick.xs:2682: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_BlobToImage':
Magick.xs:2830: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Clone':
Magick.xs:2940: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Coalesce':
Magick.xs:3062: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Compare':
Magick.xs:3261: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_CompareLayers':
Magick.xs:3397: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_DESTROY':
Magick.xs:3476: warning: cast to pointer from integer of different size
Magick.xs:3491: warning: cast to pointer from integer of different size
Magick.xs: In function `XS_Image__Magick_EvaluateImages':
Magick.xs:3714: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Flatten':
Magick.xs:4027: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Fx':
Magick.xs:4191: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Get':
Magick.xs:4454: warning: cast from pointer to integer of different size
Magick.xs:4473: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Layers':
Magick.xs:6926: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Mogrify':
Magick.xs:10688: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Montage':
Magick.xs:11097: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Morph':
Magick.xs:11228: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Mosaic':
Magick.xs:11316: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Preview':
Magick.xs:11627: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Read':
Magick.xs:13041: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Smush':
Magick.xs:13578: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Transform':
Magick.xs:13935: warning: cast from pointer to integer of different size
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1/PerlMagick/../magick/.libs" gcc -L../magick/.libs -lMagickCore -G -Wl,-zlazyload Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
-L/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1/PerlMagick/../magick/.libs -lMagickCore -lm \
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.3
----------------------------------------------------------------------------------------------------
make test
PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/jng/*.t t/png/*.t t/tiff/*.t t/x11/*.t t/zlib/*.t
t/blob.t .......... ok
t/bzlib/read.t .... ok
t/bzlib/write.t ... ok
t/composite.t ..... ok
t/filter.t ........ ok
t/getattribute.t .. ok
t/jng/read.t ...... ok
t/jng/write.t ..... ok
t/jpeg/read.t ..... ok
t/jpeg/write.t .... ok
t/montage.t ....... ok
t/ping.t .......... ok
t/png/read-16.t ... ok
t/png/read.t ...... ok
t/png/write-16.t .. ok
t/png/write.t ..... ok
t/read.t .......... ok
t/setattribute.t .. ok
t/tiff/read.t ..... ok
t/tiff/write.t .... ok
t/write.t ......... ok
t/x11/read.t ...... Failed 2/2 subtests
t/x11/write.t ..... ok
t/zlib/read.t ..... ok
t/zlib/write.t .... ok
Test Summary Report
-------------------
t/x11/read.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 2 tests but ran 0.
Files=25, Tests=355, 101 wallclock secs ( 1.19 usr 0.30 sys + 87.56 cusr 9.90 csys = 98.95 CPU)
Result: FAIL
Failed 1/25 test programs. 0/355 subtests failed.
make: *** [test_dynamic] Error 29
Please let me know whether to run make install with those errors from make test.
perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: -L../magick/.libs changed to -L/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1/PerlMagick/../magick/.libs
Note (probably harmless): No library found for -lperl
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
--------------------------------------------------------------------------------------------------------------------------
make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
gcc -c -I../ -I.. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/include/libxml2 -I"/usr/include/ImageMagick" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -g -O2 -Wall -D_REENTRANT -pthreads -DVERSION=\"6.72\" -DXS_VERSION=\"6.72\" -fPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs: In function `GetList':
Magick.xs:908: warning: cast to pointer from integer of different size
Magick.xs: In function `GetPackageInfo':
Magick.xs:994: warning: cast to pointer from integer of different size
Magick.xs:997: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Append':
Magick.xs:2589: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Average':
Magick.xs:2682: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_BlobToImage':
Magick.xs:2830: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Clone':
Magick.xs:2940: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Coalesce':
Magick.xs:3062: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Compare':
Magick.xs:3261: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_CompareLayers':
Magick.xs:3397: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_DESTROY':
Magick.xs:3476: warning: cast to pointer from integer of different size
Magick.xs:3491: warning: cast to pointer from integer of different size
Magick.xs: In function `XS_Image__Magick_EvaluateImages':
Magick.xs:3714: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Flatten':
Magick.xs:4027: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Fx':
Magick.xs:4191: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Get':
Magick.xs:4454: warning: cast from pointer to integer of different size
Magick.xs:4473: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Layers':
Magick.xs:6926: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Mogrify':
Magick.xs:10688: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Montage':
Magick.xs:11097: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Morph':
Magick.xs:11228: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Mosaic':
Magick.xs:11316: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Preview':
Magick.xs:11627: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Read':
Magick.xs:13041: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Smush':
Magick.xs:13578: warning: cast from pointer to integer of different size
Magick.xs: In function `XS_Image__Magick_Transform':
Magick.xs:13935: warning: cast from pointer to integer of different size
Running Mkbootstrap for Image::Magick ()
chmod 644 Magick.bs
rm -f blib/arch/auto/Image/Magick/Magick.so
LD_RUN_PATH="/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1/PerlMagick/../magick/.libs" gcc -L../magick/.libs -lMagickCore -G -Wl,-zlazyload Magick.o -o blib/arch/auto/Image/Magick/Magick.so \
-L/home/pkaturi/Perl_MODS/ImageMagick-6.7.2-1/PerlMagick/../magick/.libs -lMagickCore -lm \
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.3
----------------------------------------------------------------------------------------------------
make test
PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/jng/*.t t/png/*.t t/tiff/*.t t/x11/*.t t/zlib/*.t
t/blob.t .......... ok
t/bzlib/read.t .... ok
t/bzlib/write.t ... ok
t/composite.t ..... ok
t/filter.t ........ ok
t/getattribute.t .. ok
t/jng/read.t ...... ok
t/jng/write.t ..... ok
t/jpeg/read.t ..... ok
t/jpeg/write.t .... ok
t/montage.t ....... ok
t/ping.t .......... ok
t/png/read-16.t ... ok
t/png/read.t ...... ok
t/png/write-16.t .. ok
t/png/write.t ..... ok
t/read.t .......... ok
t/setattribute.t .. ok
t/tiff/read.t ..... ok
t/tiff/write.t .... ok
t/write.t ......... ok
t/x11/read.t ...... Failed 2/2 subtests
t/x11/write.t ..... ok
t/zlib/read.t ..... ok
t/zlib/write.t .... ok
Test Summary Report
-------------------
t/x11/read.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 2 tests but ran 0.
Files=25, Tests=355, 101 wallclock secs ( 1.19 usr 0.30 sys + 87.56 cusr 9.90 csys = 98.95 CPU)
Result: FAIL
Failed 1/25 test programs. 0/355 subtests failed.
make: *** [test_dynamic] Error 29