Image::Magick module installation failure

Status
Not open for further replies.

michelled

New Member
Messages
6
Reaction score
0
Points
0
I've been having difficulty installing the Image::Magick module for use with my account. I've managed to install other modules with success, but this particular module seems to flatline.

here's the error code...
Code:
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -llcms
Note (probably harmless): No library found for -lgs
Note (probably harmless): No library found for -lXext
Note (probably harmless): No library found for -lXt
Note (probably harmless): No library found for -lSM
Note (probably harmless): No library found for -lICE
Note (probably harmless): No library found for -lX11
Note (probably harmless): No library found for -lrsvg-2
Note (probably harmless): No library found for -lgvc
Writing Makefile for Image::Magick
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap  Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
cc -c  -I../ -I.. -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/include/libxml2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -O2 -Wall -W -pthread -O2   -DVERSION=\"6.3.2\" -DXS_VERSION=\"6.3.2\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"  -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
/bin/sh: /usr/bin/cc: Permission denied
make: *** [Magick.o] Error 126
  JCRISTY/PerlMagick-6.32.tar.gz
  /usr/bin/make PREFIX=/home/*account*/perl/usr PREFIX=/home/*account*/perl/usr -- NOT OK

CPAN: YAML loaded ok (v0.66)
Running make install
  Make had returned bad status, install seems impossible
perlmod--Install done
Thanks for your help...
 

z0lik

New Member
Messages
19
Reaction score
0
Points
0
hm...........
givme your webpage and i help you.!
 

michelled

New Member
Messages
6
Reaction score
0
Points
0
Sorry to be a nuisance, but I've upgraded my PHP access to the Intermediate level and the results of Perl module installation produces the same set of errors listed at the top of this thread.
Has anyone else had any similar problems?

My thanks to the admin for their quick responses.
 

Akisboy32

New Member
Messages
25
Reaction score
0
Points
0
Well , from what fedlerner told me before , you need to wait at least 4hours before checking again.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Can you try now? I had compilers disabled.
 

michelled

New Member
Messages
6
Reaction score
0
Points
0
I gave it a try... No go.
It's throwing up a mass of line read/syntax errors. Sample snippet below
Code:
Magick.xs:1884: error: `MagickResolutionOptions' undeclared (first use in this function)
Magick.xs:1885: warning: left-hand operand of comma expression has no effect
Magick.xs:1888: warning: left-hand operand of comma expression has no effect
Magick.xs:1893: error: `ResolutionType' undeclared (first use in this function)
Magick.xs:1893: error: syntax error before "sp"
Magick.xs:1892: warning: empty body in an if-statement
Magick.xs:1897: error: syntax error before "units"
Magick.xs:1899: error: `units' undeclared (first use in this function)
Magick.xs:1899: error: syntax error before "sp"
Magick.xs:1903: error: `UndefinedResolution' undeclared (first use in this function)
Magick.xs:1904: error: `PixelsPerInchResolution' undeclared (first use in this function)
Magick.xs:1906: error: `PixelsPerCentimeterResolution' undeclared (first use in this function)
Magick.xs:1937: warning: left-hand operand of comma expression has no effect
Magick.xs:1940: warning: left-hand operand of comma expression has no effect
Magick.xs:1951: warning: left-hand operand of comma expression has no effect
Magick.xs:1956: error: `MagickVirtualPixelOptions' undeclared (first use in this function)
Magick.xs:1957: warning: left-hand operand of comma expression has no effect
Magick.xs:1960: warning: left-hand operand of comma expression has no effect
Magick.xs:1965: error: `VirtualPixelMethod' undeclared (first use in this function)
Magick.xs:1965: error: syntax error before "sp"
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I really don't have any experience with perl so I can't be of much help.

Are the permissions on the files 755 ?
 

michelled

New Member
Messages
6
Reaction score
0
Points
0
The permissions are not the issue unfortunately (all scripts under that directory are set to 755). I've run a test script to double check that the module wasn't already installed and somehow not appearing under the cPanel list. The script stops when the Image::Magick module is called for use which indicates it hasn't installed properly. Code below...
Code:
Can't locate Image/Magick.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /home/*account*/scripts/Imagemagick_sample.pl line 3.
BEGIN failed--compilation aborted at /home/*account*/scripts/Imagemagick_sample.pl line 3.

This previous code snippets I'd posted referenced the errors being thrown while the module was installing. When the installation is supposedly finished, nothing appears under the list of installed modules. Other modules seem to install without a problem, it's just this particular one.
 

mikimis

New Member
Messages
3
Reaction score
0
Points
0
I've been having some issues with ImageMagick as well (with Intermediate PHP) however, mine are stemming from the PHP backend, before I can even get to IM. Can you check if exec() is on the disabled functions list? Might help with michelled too.
 
Status
Not open for further replies.
Top