[SWLUG] Problms with Cpan installing

Neil Jones neil at nwjones.demon.co.uk
Wed Feb 8 15:38:23 UTC 2006


THanks to everyone who helped and lots of advice last night I have made
sopme progress with installations.

I may have to ask this question in a more specialised forum but I get
masses and masses of errors from
cpan -i Image::Magick

Here is just a selection.

Magick.xs:766: warning: statement with no effect
Magick.xs:769: error: invalid operands to binary ==
Magick.xs:771: error: invalid operands to binary +
Magick.xs:771: error: incompatible types in assignment
Magick.xs:771: warning: statement with no effect
Magick.xs:772: error: wrong type argument to unary exclamation mark
Magick.xs:774: error: invalid operands to binary *
Magick.xs:774: error: incompatible types in assignment
Magick.xs:774: warning: statement with no effect
Magick.xs:776: warning: implicit declaration of function
‘ResizeMagickMemory’
Magick.xs:777: error: invalid operands to binary *
Magick.xs:777: error: incompatible types in assignment
Magick.xs:777: warning: statement with no effect
Magick.xs:779: error: wrong type argument to unary exclamation mark
Magick.xs:781: error: ‘ResourceLimitError’ undeclared (first use in
this function)
Magick.xs:783: error: syntax error before ‘)’ token
Magick.xs:783: error: called object ‘&<erroneous-expression>’ is not
a function
Magick.xs:783: warning: return from incompatible pointer type
Magick.xs:785: error: subscripted value is neither array nor pointer
Magick.xs:785: warning: statement with no effect
Magick.xs:786: error: wrong type argument to increment
Magick.xs:786: error: array subscript is not an integer
Magick.xs:786: warning: statement with no effect
Magick.xs:788: warning: return from incompatible pointer type
Magick.xs:791: error: ‘struct Methods’ has no member named
‘sv_flags’
Magick.xs:791: error: invalid operands to binary &
Magick.xs:791: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘struct Methods *’
Magick.xs:793: error: syntax error before ‘)’ token
Magick.xs:793: error: called object ‘&<erroneous-expression>’ is not
a function
Magick.xs:793: warning: return from incompatible pointer type
Magick.xs: At top level:
Magick.xs:824: error: syntax error before ‘ExceptionInfo’
Magick.xs: In function ‘GetPackageInfo’:
Magick.xs:827: error: ‘MaxTextExtent’ undeclared (first use in this
function)
Magick.xs:835: warning: implicit declaration of function
‘FormatMagickString’
Magick.xs:836: error: ‘reference’ undeclared (first use in this
function)
Magick.xs:837: warning: passing argument 2 of ‘Perl_get_sv’ from
incompatible pointer type
Magick.xs:840: error: ‘exception’ undeclared (first use in this
function)
Magick.xs:840: error: ‘ResourceLimitError’ undeclared (first use in
this function)
Magick.xs:842: error: ‘package_info’ undeclared (first use in this
function)Magick.xs:842: warning: return from incompatible pointer type
Magick.xs:827: warning: unused variable ‘message’
Magick.xs: At top level:
Magick.xs:880: error: syntax error before ‘Image’
Magick.xs: In function ‘SetAttribute’:
Magick.xs:884: error: ‘DoublePixelPacket’ undeclared (first use in
this function)


If anyone knows what causes these kind of errors I'd like to know.

Secondly how do I stop or store the output. I have tried sending it
though "more" this does nothing sending it to a file "> holdfile"
doesn't work either. I just might get a clue if I could see the
beginning of the errors before they race off the screen.



Neil Jones
Neil at nwjones.demon.co.uk






More information about the Swlug mailing list