The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Errors when I try to install Image::Magick

Discussion in 'General Discussion' started by Izkabola, Jun 4, 2005.

  1. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    I have noticed that many people recieve this error from my searchs, however I was unable to find a fix. Below is the part where the rpm fails.

    Code:
      CPAN.pm: Going to build J/JC/JCRISTY/PerlMagick-6.20.tar.gz
    
    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -llcms
    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.6/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap  Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
    cc -c  -I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -O2 -Wall -pthread -O2   -DVERSION=\"6.2.0\" -DXS_VERSION=\"6.2.0\" -fpic "-I/usr/lib/perl5/5.8.6/i686-linux/CORE"  -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H Magick.c
    Magick.xs:152: parse error before "MagickRealType"
    Magick.xs:152: warning: no semicolon at end of struct or union
    
    ..... 
    
    Magick.xs: In function `XS_Image__Magick_Transform':
    Magick.xs:9287: `MagickTrue' undeclared (first use in this function)
    Magick.xs:9305: warning: pointer/integer type mismatch in conditional expression
    Magick.xs:9305: warning: pointer/integer type mismatch in conditional expression
    Magick.c:8904: warning: unused variable `ref'
    Magick.c:8899: warning: unused variable `ix'
    Magick.xs: In function `XS_Image__Magick_Write':
    Magick.xs:9393: `MagickTrue' undeclared (first use in this function)
    Magick.xs:9408: warning: pointer/integer type mismatch in conditional expression
    Magick.xs:9408: warning: pointer/integer type mismatch in conditional expression
    Magick.c:9045: warning: unused variable `ref'
    Magick.c:9040: warning: unused variable `ix'
    make: *** [Magick.o] Error 1
      /usr/bin/make  -- NOT OK
    Running make install
      make had returned bad status, install seems impossible
    perlmod--Install done
    
    Please help, as I cannot find an answer. Thanks in advanced!
     
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    Please run the following commands

    /scripts/rpmup
    /scripts/upcp

    Then try to install image magic. if you get the error again, run the following command and try
    /scripts/rpmup --force

    Let me know the status.
     
  3. Izkabola

    Izkabola Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    When I went to install the rpm again, it said it was already installed. Weird....

    Thank you for posting a reply. Its appreciated.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
Loading...

Share This Page