[SGVLUG] trouble compiling libxslt2-2.6.27

James Neff jneff at tethyshealth.com
Thu Mar 29 12:10:13 PST 2007


I'm having trouble getting libxml and libxslt installed for our PHP 
installation.  OS is RHE3 and i quickly get into dependency hell if I 
try RPMs.  Our vendor wants us to simply upgrade to RHE5 and I'm trying 
to save our company some money by doing it myself.

Right now trying to get libxml compiled and installed. 

./configure went well.

make gave me the problems below.  I'll paste where it starts to look bad.  
Any assistance would be greatly appreciated.

Thanks, 
James



Making all in .
make[3]: Entering directory `/home/mcsi/libxml2-2.6.27/python'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I.. -I/usr/include/python2.2 -I../inclu
de -I../include -I../python    -g -O2 -pedantic -W -Wformat -Wunused 
-Wimplicit -Wreturn-type -Wswitch -Wcomment -
Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses 
-Wshadow -Wpointer-arith -Wcast-align -Wwrite-
strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Winline -Wredundant-decls -M
T libxml.lo -MD -MP -MF ".deps/libxml.Tpo" -c -o libxml.lo libxml.c; \
then mv -f ".deps/libxml.Tpo" ".deps/libxml.Plo"; else rm -f 
".deps/libxml.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 -I../include 
-I../include -I../python -g -O2 -pedantic
-W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment 
-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitia
lized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -
Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT 
libxml.lo -MD -MP -MF .deps/libxml.Tpo -c libx
ml.c  -fPIC -DPIC -o .libs/libxml.o
In file included from /usr/include/python2.2/Python.h:73,
                 from libxml.c:14:
/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.c:14:
/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'
libxml.c: In function `libxml_xmlValidCtxtGenericErrorFuncHandler':
libxml.c:1743: warning: unused parameter `severity'
libxml.c: In function `libxml_xmlValidCtxtGenericWarningFuncHandler':
libxml.c:1770: warning: unused parameter `severity'
libxml.c: At top level:
libxml.c:2670: warning: no previous prototype for 
`libxml_xmlNodeRemoveNsDef'
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 -I../include 
-I../include -I../python -g -O2 -pedantic
-W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment 
-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitia
lized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -
Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT 
libxml.lo -MD -MP -MF .deps/libxml.Tpo -c libx
ml.c -o libxml.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I.. -I/usr/include/python2.2 -I../inclu
de -I../include -I../python    -g -O2 -pedantic -W -Wformat -Wunused 
-Wimplicit -Wreturn-type -Wswitch -Wcomment -
Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses 
-Wshadow -Wpointer-arith -Wcast-align -Wwrite-
strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Winline -Wredundant-decls -M
T types.lo -MD -MP -MF ".deps/types.Tpo" -c -o types.lo types.c; \
then mv -f ".deps/types.Tpo" ".deps/types.Plo"; else rm -f 
".deps/types.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 -I../include 
-I../include -I../python -g -O2 -pedantic
-W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment 
-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitia
lized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -
Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT 
types.lo -MD -MP -MF .deps/types.Tpo -c types.
c  -fPIC -DPIC -o .libs/types.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:573: syntax error before '&&' token
types.c:573: warning: type defaults to `int' in declaration of `__result'
types.c:573: ISO C forbids data definition with no type or storage class
types.c:573: syntax error before '}' token
types.c:573: conflicting declarations of `__result'
types.c:573: `__result' previously declared here
types.c:573: warning: `__result' was declared `extern' and later `static'
types.c:573: `type' undeclared here (not in a function)
types.c:573: `__s2' undeclared here (not in a function)
types.c:573: syntax error before "if"
types.c:573: warning: type defaults to `int' in declaration of `__result'
types.c:573: conflicting declarations of `__result'
types.c:573: `__result' previously defined here
types.c:573: ISO C forbids data definition with no type or storage class
types.c:573: syntax error before '}' token
types.c:573: warning: type defaults to `int' in declaration of `__result'
types.c:573: warning: redundant redeclaration of `__result' in same scope
types.c:573: warning: previous declaration of `__result'
types.c:573: ISO C forbids data definition with no type or storage class
types.c:573: syntax error before '}' token
types.c:573: conflicting declarations of `__result'
types.c:573: `__result' previously declared here
types.c:573: warning: `__result' was declared `extern' and later `static'
types.c:573: `__s1' undeclared here (not in a function)
types.c:573: syntax error before "if"
types.c:573: warning: type defaults to `int' in declaration of `__result'
types.c:573: conflicting declarations of `__result'
types.c:573: `__result' previously defined here
types.c:573: ISO C forbids data definition with no type or storage class
types.c:573: syntax error before '}' token
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
/usr/include/wchar.h: At top level:
types.c:573: register name not specified for `__result'
types.c:573: register name not specified for `__result'
make[3]: *** [types.lo] Error 1
make[3]: Leaving directory `/home/mcsi/libxml2-2.6.27/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mcsi/libxml2-2.6.27/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mcsi/libxml2-2.6.27'
make: *** [all] Error 2



More information about the SGVLUG mailing list