Building PerlMagick-6.00 against ImageMagick 5.5.7-2

Jason Pearce jason.pearce@ieee.org
Sat May 15 23:30:00 GMT 2004


I am trying to install PerlMagick.
I first tried to do so automatically via CPAN and it failed. Then I 
tried doing the build manually.
First up I get a bunch of warnings about not finding libs. From 
http://sources.redhat.com/ml/cygwin/2003-07/msg01352.html I gather this 
is erroneous, and wont effect the compile.

[/tmp/PerlMagick-6.00]$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -llcms
Note (probably harmless): No library found for -ldpstk
Note (probably harmless): No library found for -ldps
Note (probably harmless): No library found for -lXext
Note (probably harmless): No library found for -lSM
Note (probably harmless): No library found for -lICE
Note (probably harmless): No library found for -lX11
Writing Makefile for Image::Magick


Then I try the Make and get errors first up so something major must be 
missing, I just can't figure out what!
Any pointers would be appreciated.

Jason


[/tmp/PerlMagick-6.00]$ make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/bin/perl.exe /usr/lib/perl5/5.8.2/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.2/ExtUtils/typemap  Magick.xs > Magick.xsc && mv 
Magick.xsc Magick.c
gcc -c  -I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include 
-I/usr/X11R6/include/X11 -I/usr/include/libxml2 -DPERL_USE_SAFE_PUTENV 
-fno-strict-aliasing -g -O2 -Wall -pthread -DUSEIMPORTLIB -O2   
-DVERSION=\"6.0.0\" -DXS_VERSION=\"6.0.0\"  
"-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"  
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H Magick.c
gcc: unrecognized option `-pthread'
Magick.xs:144: error: syntax error before "MagickRealType"
Magick.xs:144: warning: no semicolon at end of struct or union
Magick.xs:161: error: syntax error before '}' token
Magick.xs:202: error: `MagickNoiseOptions' undeclared here (not in a 
function)
Magick.xs:202: error: initializer element is not constant
Magick.xs:202: error: (near initialization for 
`Methods[2].arguments[0].type')
Magick.xs:202: error: initializer element is not constant
Magick.xs:202: error: (near initialization for `Methods[2].arguments[0]')
Magick.xs:202: error: initializer element is not constant
Magick.xs:202: error: (near initialization for `Methods[2].arguments')
Magick.xs:202: error: initializer element is not constant
Magick.xs:202: error: (near initialization for `Methods[2]')

... and much more.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list