Hello All:
This took me two nights already ... CentOS 3.8, with Apache 1.3.4, PHP 4.42, trying to upgrade to apache 2.2.8 (worked) and PHP 5.2.5 and MySQL 5.0x.
P r o b l e m is libxslt. The autoinstaller as well as issuing
./build libxslt d
manually give me this error below. Anyone has any idea how to solve this?
Thanks,
John
types.c: In function `libxml_xmlXPathObjectPtrConvert':
types.c:432: syntax error before "PyBool_Check"
types.c:432: warning: implicit declaration of function `PyBool_Check'
types.c:432: syntax error before '{' token
types.c: At top level:
types.c:445: warning: type defaults to `int' in declaration of `str'
types.c:445: `obj' undeclared here (not in a function)
types.c:446: `obj' undeclared here (not in a function)
types.c:446: warning: initialization makes integer from pointer without a cast
types.c:446: initializer element is not constant
types.c:446: warning: data definition has no type or storage class
types.c:447: warning: type defaults to `int' in declaration of `ret'
types.c:447: warning: passing arg 1 of `xmlXPathWrapString' makes pointer from integer without a cast
types.c:447: warning: initialization makes integer from pointer without a cast
types.c:447: initializer element is not constant
types.c:447: warning: data definition has no type or storage class
types.c:448: syntax error before '}' token
types.c:455: warning: type defaults to `int' in declaration of `set'
types.c:455: conflicting types for `set'
types.c:453: previous declaration of `set'
types.c:455: warning: data definition has no type or storage class
types.c:457: syntax error before "for"
types.c:462: warning: type defaults to `int' in declaration of `cur'
types.c:462: conflicting types for `cur'
types.c:452: previous declaration of `cur'
types.c:462: warning: data definition has no type or storage class
types.c:463: syntax error before "if"
types.c:470: `inst' undeclared here (not in a function)
types.c:472: syntax error before "if"
types.c:477: syntax error before "if"
types.c:477: syntax error before '&&' token
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously declared here
types.c:477: warning: `__result' was declared `extern' and later `static'
types.c:477: `type' undeclared here (not in a function)
types.c:477: `__s2' undeclared here (not in a function)
types.c:477: syntax error before "if"
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously defined here
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously declared here
types.c:477: warning: `__result' was declared `extern' and later `static'
types.c:477: `__s1' undeclared here (not in a function)
types.c:477: syntax error before "if"
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously defined here
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:494: warning: type defaults to `int' in declaration of `ret'
types.c:494: redefinition of `ret'
types.c:447: `ret' previously defined here
types.c:494: warning: passing arg 1 of `xmlXPathWrapNodeSet' makes pointer from integer without a cast
types.c:494: warning: initialization makes integer from pointer without a cast
types.c:494: initializer element is not constant
types.c:494: warning: data definition has no type or storage class
types.c:495: syntax error before '}' token
types.c:477: register name not specified for `__result'
types.c:477: register name not specified for `__result'
make[3]: *** [types.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.22/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.22/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.22'
make: *** [all] Error 2
[root@secure custombuild]#