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.

magick.xs , magick.c problems

Discussion in 'General Discussion' started by xnor84, Aug 29, 2007.

  1. xnor84

    xnor84 Registered

    Joined:
    Aug 17, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    when installing imagemagick i get this error :

    Magick.xs:424: warning: (near initialization for `Methods[96].arguments')
    Magick.xs:428: warning: missing initializer
    Magick.xs:428: warning: (near initialization for `Methods[98].arguments')
    Magick.xs:429: warning: missing initializer
    Magick.xs:429: warning: (near initialization for `Methods[99].arguments')
    Magick.xs:430: warning: missing initializer
    Magick.xs:430: warning: (near initialization for `Methods[100].arguments')
    Magick.xs:437: warning: missing initializer
    Magick.xs:437: warning: (near initialization for `Methods[103].arguments')
    Magick.c: In function `XS_Image__Magick_AcquireImagePixels':
    Magick.c:2212: warning: unused variable `ref'
    Magick.c:2207: warning: unused variable `ix'
    Magick.c: In function `XS_Image__Magick_Animate':
    Magick.c:2368: warning: unused variable `ref'
    Magick.c:2361: warning: unused variable `ix'
    Magick.c: In function `XS_Image__Magick_Append':
    Magick.c:2449: warning: unused variable `ref'
    Magick.c:2442: warning: unused variable `ix'

    do anyone know about this error
     
  2. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    I just upgraded to v11 & noticed the same thing in my update log. Just now on my quest to learn more.

    Here's where it all starts for me:

    Code:
      CPAN.pm: Going to build J/JC/JCRISTY/PerlMagick-6.32.tar.gz
    
    .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
    .Magick.xs:64:31: magick/MagickCore.h: No such file or directory
    Magick.xs:154: error: syntax error before "MagickRealType"
    Magick.xs:154: warning: no semicolon at end of struct or union
    Magick.xs:161: error: syntax error before '*' token
    Magick.xs:161: warning: type defaults to `int' in declaration of `image_reference'
    Magick.xs:161: warning: data definition has no type or storage class
    Magick.xs:171: error: syntax error before '}' token
    Magick.xs:175: error: syntax error before "ImageInfo"
    Magick.xs:175: warning: no semicolon at end of struct or union
    Magick.xs:197: error: `MagickNoiseOptions' undeclared here (not in a function)
    Magick.xs:197: error: initializer element is not constant
    Magick.xs:197: error: (near initialization for `Methods[2].arguments[0].type')
    Magick.xs:197: warning: missing initializer
    Magick.xs:197: warning: (near initialization for `Methods[2].arguments[0].type')
    Magick.xs:197: error: initializer element is not constant
    Magick.xs:197: error: (near initialization for `Methods[2].arguments[0]')
    Magick.xs:198: error: `MagickChannelOptions' undeclared here (not in a function)
    Magick.xs:198: error: initializer element is not constant
    Magick.xs:198: error: (near initialization for `Methods[2].arguments[1].type')
    Magick.xs:198: warning: missing initializer
    Magick.xs:198: warning: (near initialization for `Methods[2].arguments[1].type')
    Magick.xs:198: error: initializer element is not constant
    Magick.xs:198: error: (near initialization for `Methods[2].arguments[1]')
    Magick.xs:198: error: initializer element is not constant
    Magick.xs:198: error: (near initialization for `Methods[2].arguments')
    
    Matt
     
  3. krisdv

    krisdv Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Belgium
  4. kemis

    kemis Well-Known Member

    Joined:
    Feb 17, 2005
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Georgetown, TX
    Thanks, krisdv! That probably would have worked & I have saved that howto from nick for future reference.

    What ended up happening, though, is my server host logged in & ran a forced upcp. I believe that has fixed the problem.

    To test, I found, downloaded, and setup JMB Tools' tester found at: http://www.jmbsoft.com/software/tools/

    It works now!
    Matt
     
  5. bazzii

    bazzii Member

    Joined:
    Jun 17, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Sorry to bump this forum again

    Can you paste the resolution steps here as the URL : http://www.tweakgeek.com/node/57 is not working...

    I have the same issue
     
Loading...

Share This Page