Problem with installing image magick on solaris 10

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
egbayram

Problem with installing image magick on solaris 10

Post by egbayram »

Hi friends;

I try to install imagemagick on a solaris sparc box but I receive some compilation errors:


#perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lMagickCore
Note (probably harmless): No library found for -lperl
Writing Makefile for Image::Magick

# make perl
make: Fatal error: Don't know how to make target `perl'

ok then I make clean.

retry the command without perl option. This time:
# perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lMagickCore
Note (probably harmless): No library found for -lperl
Writing Makefile for Image::Magick

# make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
cc -c -I../ -I.. -I"/usr/include/ImageMagick" -fopenmp -g -O2 -Wall -pthread-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"6.6.5\" -DXS_VERSION=\"6.6.5\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
cc: Warning: Option -fopenmp passed to ld, if ld is invoked, ignored otherwise
cc: -W option with unknown program all
*** Error code 1
make: Fatal error: Command failed for target `Magick.o'

# echo $CC
/usr/local/bin/gcc

# echo $GXX
/usr/local/bin/gcc
egbayram

Re: Problem with installing image magick on solaris 10

Post by egbayram »

I made some changes about pathes and now the error messages turned into this:


perl Makefile.PL
Note (probably harmless): No library found for -lMagickCore
Note (probably harmless): No library found for -lperl
Writing Makefile for Image::Magick



make
Skip blib/lib/Image/Magick.pm (unchanged)
cc -c -I../ -I.. -I"/usr/include/ImageMagick" -fopenmp -g -O2 -Wall -pthread-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"6.6.5\" -DXS_VERSION=\"6.6.5\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
cc: Warning: Option -fopenmp passed to ld, if ld is invoked, ignored otherwise
cc: -W option with unknown program all
make: *** [Magick.o] Error 1


I'm stuck at this point. Any help will highly appreciated.
Post Reply