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.

centos and libxml2

Discussion in 'General Discussion' started by shepherg, May 30, 2007.

  1. shepherg

    shepherg Registered

    Joined:
    Jun 28, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have a vps server with cpanel and whm installed and I'm playing with the edge release (yes I know it's still in testing and all that fun jazz)...

    With every incarnation of easyapache I've always had problems with the compile when it gets to the libxml2 updating. Is anyone else suffering from this with their centos / whm installs and if so, have any of you come up with a path to resolving these issues?

    I am by no means a linux guru but I can make my way around a system and I was just wondering if there were any ways to try and troubleshoot some of my problems and resolving them on my own to not only aid in the further development of cpanel but to also work on getting my server in a more enjoyable condition :)

    Thanks in advance
     
  2. shepherg

    shepherg Registered

    Joined:
    Jun 28, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    To give a little better detail on my situation, the following is the final bit of the build when it dumps the error:

    Code:
    cc1: warning: -Wuninitialized is not supported without -O
    In file included from /usr/include/python2.2/Python.h:73,
                     from libxml_wrap.h:1,
                     from types.c:9:
    /usr/include/python2.2/longobject.h:48: warning: ISO C89 does not support `long long'
    /usr/include/python2.2/longobject.h:49: warning: ISO C89 does not support `long long'
    /usr/include/python2.2/longobject.h:50: warning: ISO C89 does not support `long long'
    /usr/include/python2.2/longobject.h:51: warning: ISO C89 does not support `long long'
    In file included from /usr/include/python2.2/Python.h:109,
                     from libxml_wrap.h:1,
                     from types.c:9:
    /usr/include/python2.2/abstract.h:286: warning: redundant redeclaration of `PyCallable_Check' in same scope
    /usr/include/python2.2/object.h:347: warning: previous declaration of `PyCallable_Check'
    types.c: In function `libxml_xmlXPathObjectPtrConvert':
    types.c:528: syntax error before "PyBool_Check"
    types.c:528: warning: implicit declaration of function `PyBool_Check'
    types.c:528: syntax error before '{' token
    types.c: At top level:
    types.c:541: warning: type defaults to `int' in declaration of `str'
    types.c:541: `obj' undeclared here (not in a function)
    types.c:542: `obj' undeclared here (not in a function)
    types.c:542: warning: initialization makes integer from pointer without a cast
    types.c:542: initializer element is not constant
    types.c:542: ISO C forbids data definition with no type or storage class
    types.c:543: warning: type defaults to `int' in declaration of `ret'
    types.c:543: warning: passing arg 1 of `xmlXPathWrapString' makes pointer from integer without a cast
    types.c:543: warning: initialization makes integer from pointer without a cast
    types.c:543: initializer element is not constant
    types.c:543: ISO C forbids data definition with no type or storage class
    types.c:544: syntax error before '}' token
    types.c:551: warning: type defaults to `int' in declaration of `set'
    types.c:551: conflicting types for `set'
    types.c:549: previous declaration of `set'
    types.c:551: warning: redundant redeclaration of `set' in same scope
    types.c:549: warning: previous declaration of `set'
    types.c:551: ISO C forbids data definition with no type or storage class
    types.c:553: syntax error before "for"
    types.c:558: warning: type defaults to `int' in declaration of `cur'
    types.c:558: conflicting types for `cur'
    types.c:548: previous declaration of `cur'
    types.c:558: warning: redundant redeclaration of `cur' in same scope
    types.c:548: warning: previous declaration of `cur'
    types.c:558: ISO C forbids data definition with no type or storage class
    types.c:559: syntax error before "if"
    types.c:566: `inst' undeclared here (not in a function)
    types.c:568: syntax error before "if"
    types.c:573: syntax error before "if"
    types.c:590: warning: type defaults to `int' in declaration of `ret'
    types.c:590: redefinition of `ret'
    types.c:543: `ret' previously defined here
    types.c:590: warning: passing arg 1 of `xmlXPathWrapNodeSet' makes pointer from integer without a cast
    types.c:590: warning: initialization makes integer from pointer without a cast
    types.c:590: initializer element is not constant
    types.c:590: ISO C forbids data definition with no type or storage class
    types.c:591: syntax error before '}' token
    types.c: In function `libxml_xmlValidCtxtPtrWrap':
    types.c:603: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlCatalogPtrWrap':
    types.c:623: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlOutputBufferPtrWrap':
    types.c:641: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlParserInputBufferPtrWrap':
    types.c:659: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlRegexpPtrWrap':
    types.c:678: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlTextReaderPtrWrap':
    types.c:697: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlTextReaderLocatorPtrWrap':
    types.c:715: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlRelaxNGPtrWrap':
    types.c:734: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlRelaxNGParserCtxtPtrWrap':
    types.c:752: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlRelaxNGValidCtxtPtrWrap':
    types.c:769: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlSchemaPtrWrap':
    types.c:787: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlSchemaParserCtxtPtrWrap':
    types.c:805: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlSchemaValidCtxtPtrWrap':
    types.c:824: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    types.c: In function `libxml_xmlErrorPtrWrap':
    types.c:845: warning: declaration of `ret' shadows a global declaration
    types.c:590: warning: shadowed declaration is here
    make[3]: *** [types.lo] Error 1
    make[3]: Leaving directory `/home/cpeasyapache/src/libxml2-2.6.27/python'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/cpeasyapache/src/libxml2-2.6.27/python'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/cpeasyapache/src/libxml2-2.6.27'
    make: *** [all] Error 2
    !! 'make' failed with exit code '512' !!
    !! Restoring original working apache !!
    Compiling report...
    Sending report (550 bytes)...
    Report processed.
     
Loading...

Share This Page