Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <40A66195.8000903@ieee.org> Date: Sat, 15 May 2004 19:29:41 +0100 From: Jason Pearce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208 MIME-Version: 1.0 To: Cygwin List Subject: Building PerlMagick-6.00 against ImageMagick 5.5.7-2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/