This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems compiling PerlMagick. Any suggestions...


Ok, Im no rookie to compiling stuff on linux etc, but
Ive encountered a problem Im not sure where to go.

I have compiled my own version of perl 5.8.7 and
placed it in /opt/perl587 so I can install all kinds
of various perl modules etc.

I have installed ImageMagick and the associated devel
libraries & headers (from the cygwin package)

But when I try to compile PerlMagick Im getting all
kinds of compile errors etc.   Any suggestions???

Below is a transcript...

cavanaug@mach5 ~/.cpan/build/PerlMagick-6.20
$ make  realclean
rm -f \
  *.a core \
  Magick.c core.[0-9] \
  blib/arch/auto/Image/Magick/extralibs.all
core.[0-9][0-9] \
  Magick.bso pm_to_blib.ts \
  core.[0-9][0-9][0-9][0-9] Magick.x \
  Magick.bs perl.exe \
  tmon.out *.o \
  pm_to_blib blib/arch/auto/Image/Magick/extralibs.ld
\
  blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \
  *perl.core core.*perl.*.? \
  Makefile.aperl perl \
  Magick.def core.[0-9][0-9][0-9] \
  mon.out libMagick.def \
  perlmain.c perl.exe \
  so_locations Magick.exp
rm -rf \
  blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
  Magick.o Makefile.old \
  Makefile
rm -rf \
  Image-Magick-6.2.0

cavanaug@mach5 ~/.cpan/build/PerlMagick-6.20
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Image::Magick

cavanaug@mach5 ~/.cpan/build/PerlMagick-6.20
$ which perl
/opt/perl587/bin/perl

cavanaug@mach5 ~/.cpan/build/PerlMagick-6.20
$ echo $PATH
/sbin:/usr/sbin:/opt/perl587/bin:/cygdrive/c/sw_utils/devutil/unixpc/unison:/usr/local/bin:/usr/bin:
/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wb
em:/cygdrive/c/Program Files/ATI
Technologies/ATI.ACE/:/usr/lib/lapack:/cygdrive/c/users/cavanaug/bi
n

cavanaug@mach5 ~/.cpan/build/PerlMagick-6.20
$ make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm
(blib/lib/auto/Image/Magick)
/opt/perl587/bin/perl.exe
/opt/perl587/lib/5.8.7/ExtUtils/xsubpp  -typemap
/opt/perl587/lib/5.8.7/Ex
tUtils/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/inc
lude/libxml2 -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -pipe -g -O2 -Wall -pthread
-DUSEIMPORTLIB
-O2   -DVERSION=\"6.2.0\" -DXS_VERSION=\"6.2.0\" 
"-I/opt/perl587/lib/5.8.7/cygwin/CORE"  -D_FILE_OF
FSET_BITS=64 -DHAVE_CONFIG_H Magick.c
gcc: unrecognized option `-pthread'
Magick.xs: In function `DestroyPackageInfo':
Magick.xs:659: error: void value not ignored as it
ought to be
Magick.xs:660: error: void value not ignored as it
ought to be
Magick.xs:661: error: void value not ignored as it
ought to be
Magick.xs: In function `SetAttribute':
Magick.xs:965: error: structure has no member named
`bias'
Magick.xs:1560: error: structure has no member named
`quality'
Magick.c: In function `XS_Image__Magick_Animate':
Magick.c:1970: warning: unused variable `ref'
Magick.c:1965: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Append':
Magick.c:2044: warning: unused variable `ref'
Magick.c:2039: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Average':
Magick.c:2175: warning: unused variable `ref'
Magick.c:2170: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_BlobToImage':
Magick.c:2266: warning: unused variable `ref'
Magick.c:2261: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Coalesce':
Magick.c:2415: warning: unused variable `ref'
Magick.c:2410: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Copy':
Magick.c:2498: warning: unused variable `ref'
Magick.c:2493: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_DESTROY':
Magick.xs:2652: error: void value not ignored as it
ought to be
Magick.c:2582: warning: unused variable `ref'
Magick.c: In function `XS_Image__Magick_Display':
Magick.c:2656: warning: unused variable `ref'
Magick.c:2651: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Flatten':
Magick.c:2730: warning: unused variable `ref'
Magick.c:2725: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Fx':
Magick.c:2821: warning: unused variable `ref'
Magick.c:2816: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Get':
Magick.xs:3140: error: structure has no member named
`bias'
Magick.xs:3527: error: void value not ignored as it
ought to be
Magick.xs:3544: error: void value not ignored as it
ought to be
Magick.xs:3603: error: void value not ignored as it
ought to be
Magick.xs:3832: error: structure has no member named
`quality'
Magick.c:2973: warning: unused variable `ref'
Magick.c:2968: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Histogram':
Magick.c:4101: warning: unused variable `ref'
Magick.c:4096: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_GetPixels':
Magick.xs:4466: error: `QuantumPixel' undeclared
(first use in this function)
Magick.xs:4466: error: (Each undeclared identifier is
reported only once
Magick.xs:4466: error: for each function it appears
in.)
Magick.c:4215: warning: unused variable `ref'
Magick.c:4210: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_ImageToBlob':
Magick.c:4454: warning: unused variable `ref'
Magick.c:4449: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_MagickToMime':
Magick.c:4551: warning: unused variable `ref'
Magick.c:4547: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Mogrify':
Magick.xs:5621: error: void value not ignored as it
ought to be
Magick.xs:5655: error: void value not ignored as it
ought to be
Magick.xs:5716: error: void value not ignored as it
ought to be
Magick.xs:5754: error: void value not ignored as it
ought to be
Magick.xs:5942: error: void value not ignored as it
ought to be
Magick.xs:6098: warning: implicit declaration of
function `PaintOpaqueImage'
Magick.xs:6245: warning: implicit declaration of
function `PaintTransparentImage'
Magick.xs:6375: error: structure has no member named
`bias'
Magick.xs:6430: error: void value not ignored as it
ought to be
Magick.xs:6452: error: void value not ignored as it
ought to be
Magick.xs:6453: error: void value not ignored as it
ought to be
Magick.xs:6654: error: void value not ignored as it
ought to be
Magick.xs:6727: warning: implicit declaration of
function `IdentifyImage'
Magick.xs:6838: warning: implicit declaration of
function `ShadowImage'
Magick.xs:6840: warning: assignment makes pointer from
integer without a cast
Magick.xs:6862: error: void value not ignored as it
ought to be
Magick.xs:6871: error: void value not ignored as it
ought to be
Magick.c:4579: warning: unused variable `ref'
Magick.xs: In function `XS_Image__Magick_Montage':
Magick.xs:7268: error: void value not ignored as it
ought to be
Magick.c:6673: warning: unused variable `ref'
Magick.c:6668: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Morph':
Magick.c:7074: warning: unused variable `ref'
Magick.c:7069: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Mosaic':
Magick.c:7198: warning: unused variable `ref'
Magick.c:7193: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Ping':
Magick.xs:7667: error: void value not ignored as it
ought to be
Magick.c:7281: warning: unused variable `ref'
Magick.c:7276: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Preview':
Magick.c:7461: warning: unused variable `ref'
Magick.c:7456: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_QueryColor':
Magick.xs:7836: error: too many arguments to function
`GetColorInfoList'
Magick.c:7554: warning: unused variable `ref'
Magick.c:7549: warning: unused variable `ix'
Magick.c: In function
`XS_Image__Magick_QueryColorname':
Magick.c:7630: warning: unused variable `ref'
Magick.c:7625: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_QueryFont':
Magick.xs:7987: error: too many arguments to function
`GetTypeInfoList'
Magick.c:7700: warning: unused variable `ref'
Magick.c:7695: warning: unused variable `ix'
Magick.xs: In function
`XS_Image__Magick_QueryFontMetrics':
Magick.xs:8411: error: void value not ignored as it
ought to be
Magick.c:7815: warning: unused variable `ref'
Magick.c:7810: warning: unused variable `ix'
Magick.xs: In function
`XS_Image__Magick_QueryMultilineFontMetrics':
Magick.xs:8757: warning: implicit declaration of
function `GetMultilineTypeMetrics'
Magick.xs:8771: error: void value not ignored as it
ought to be
Magick.c:8173: warning: unused variable `ref'
Magick.c:8168: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_QueryFormat':
Magick.xs:8826: error: too many arguments to function
`GetMagickInfoList'
Magick.c:8531: warning: unused variable `ref'
Magick.c:8526: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Read':
Magick.c:8619: warning: unused variable `ref'
Magick.c:8614: warning: unused variable `ix'
Magick.xs: In function `XS_Image__Magick_Remote':
Magick.xs:9097: warning: implicit declaration of
function `RemoteDisplayCommand'
Magick.c:8799: warning: unused variable `ref'
Magick.c:8794: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Set':
Magick.c:8846: warning: unused variable `ref'
Magick.c:8841: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Transform':
Magick.c:8904: warning: unused variable `ref'
Magick.c:8899: warning: unused variable `ix'
Magick.c: In function `XS_Image__Magick_Write':
Magick.c:9045: warning: unused variable `ref'
Magick.c:9040: warning: unused variable `ix'
make: *** [Magick.o] Error 1

cavanaug@mach5 ~/.cpan/build/PerlMagick-6.20
$



--
John Cavanaugh

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]