Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    2

    Default magick.xs , magick.c problems

    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. #2
    Member
    Join Date
    Feb 2005
    Location
    Georgetown, TX
    Posts
    104

    Default

    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. #3
    Member
    Join Date
    Jun 2003
    Location
    Belgium
    Posts
    174

    Default

    I was able to get it to work following these guidelines;

    http://www.tweakgeek.com/node/57

  4. #4
    Member
    Join Date
    Feb 2005
    Location
    Georgetown, TX
    Posts
    104

    Default

    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. #5
    Member
    Join Date
    Jun 2008
    Posts
    10

    Default

    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
    Bazzii ....
    http://BazziiHosting.com :: Affordable Shared Cpanel Hosting

Similar Threads & Tags
Similar threads

  1. Image::Magick problems
    By mickalo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-02-2007, 10:29 AM
  2. Image magick
    By agabehzad in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-11-2004, 02:24 AM
  3. Image Magick Problems
    By Jeewhizz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-20-2003, 12:42 PM
  4. Image Magick HELP!
    By LyL18 in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 11-26-2003, 03:43 AM
  5. Image magick
    By hugo24 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-06-2003, 03:06 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube