Installing Image::Magick on cpanel server generates errors
Hi!I have dedicated server on Trustix 2.2 and WHM/cPanel.
I trying to install Image::Magick module with "Install a perl module" , but installation generates whole bunch of errors and in the end installation fails.
Here is how error looks like (one part of it):
Magick.xs:63:32: magick/ImageMagick.h: No such file or directory
Magick.xs:153: error: parse error before "MagickRealType"
Magick.xs:153: warning: no semicolon at end of struct or union
Magick.xs:160: error: parse error before '*' token
Magick.xs:160: warning: type defaults to `int' in declaration of `image_reference'
Magick.xs:160: warning: data definition has no type or storage class
Magick.xs:170: error: parse error before '}' token
Magick.xs:174: error: parse error before "ImageInfo"
Magick.xs:174: warning: no semicolon at end of struct or union
Magick.xs:178: warning: type defaults to `int' in declaration of `draw_info'
Magick.xs:178: warning: data definition has no type or storage class
Magick.xs:181: error: parse error before '*' token
Magick.xs:181: warning: type defaults to `int' in declaration of `quantize_info'
Magick.xs:181: warning: data definition has no type or storage class
Magick.xs:182: error: parse 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]')
Magick.xs:203: error: initializer element is not constant
Magick.xs:203: error: (near initialization for `Methods[3].arguments[0]')
Magick.xs:203: error: initializer element is not constant
Magick.xs:203: error: (near initialization for `Methods[3].arguments[1]')
Magick.xs:203: error: initializer element is not constant
Magick.xs:203: error: (near initialization for `Methods[3].arguments')
Magick.xs:203: error: initializer element is not constant
Magick.xs:203: error: (near initialization for `Methods[3]')
What to do?
Thanks
jailbird2