sorry to hijack this, I did the following and had some errors.
cd /usr/local/directadmin/custombuild
./build update
./build freetype
./build php n
and it fails at
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/doc'
Making all in python
make[2]: Entering directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
Making all in .
make[3]: Entering directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
cd . && /usr/bin/python generator.py
Found 236 functions in libxslt-api.xml
Found 32 functions in libxslt-python-api.xml
Generated 140 wrapper functions, 96 failed, 32 skipped
Missing type converters:
...:1 xsltTopLevelFunction:2 xsltNumberDataPtr:1 xmlXPathObjectPtr:1 xsltPointerListPtr:4 xmlNodePtr *:3 xmlChar **:2 xmlXPathCompExprPtr:4 xsltExtInitFunction:2 xsltPreComputeFunction:1 xsltCompilerCtxtPtr:2 char **:2 xsltElemPreCompPtr:2 xmlXPathFunction:4 xmlNodeSetPtr:2 xmlXPathObjectPtr *:1 xsltDecimalFormatPtr:2 xsltDebugTraceCodes:2 xsltSecurityPrefsPtr:11 xmlDictPtr:1 xsltTransformFunction:5 xsltCompMatchPtr:3 void *:13 xmlOutputBufferPtr:1 xmlHashTablePtr:1 pythonObject *:5 xsltSortFunc:2 xsltNsMapPtr:1 xsltDocumentPtr:8 xsltStackElemPtr:3 xsltTemplatePtr:4
touch gen_prog
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT libxslt.lo -MD -MP -MF .deps/libxslt.Tpo -c -o libxslt.lo libxslt.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT libxslt.lo -MD -MP -MF .deps/libxslt.Tpo -c libxslt.c -fPIC -DPIC -o .libs/libxslt.o
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT libxslt.lo -MD -MP -MF .deps/libxslt.Tpo -c libxslt.c -o libxslt.o >/dev/null 2>&1
mv -f .deps/libxslt.Tpo .deps/libxslt.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT types.lo -MD -MP -MF .deps/types.Tpo -c -o types.lo types.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT types.lo -MD -MP -MF .deps/types.Tpo -c types.c -fPIC -DPIC -o .libs/types.o
types.c: In function `libxml_xmlXPathObjectPtrConvert':
types.c:460: syntax error before "PyBool_Check"
types.c:460: warning: implicit declaration of function `PyBool_Check'
types.c:460: syntax error before '{' token
types.c: At top level:
types.c:473: warning: type defaults to `int' in declaration of `str'
types.c:473: `obj' undeclared here (not in a function)
types.c:474: `obj' undeclared here (not in a function)
types.c:474: warning: initialization makes integer from pointer without a cast
types.c:474: initializer element is not constant
types.c:474: warning: data definition has no type or storage class
types.c:475: warning: type defaults to `int' in declaration of `ret'
types.c:475: warning: passing arg 1 of `xmlXPathWrapString' makes pointer from integer without a cast
types.c:475: warning: initialization makes integer from pointer without a cast
types.c:475: initializer element is not constant
types.c:475: warning: data definition has no type or storage class
types.c:476: syntax error before '}' token
types.c:483: warning: type defaults to `int' in declaration of `set'
types.c:483: conflicting types for `set'
types.c:481: previous declaration of `set'
types.c:483: warning: data definition has no type or storage class
types.c:485: syntax error before "for"
types.c:490: warning: type defaults to `int' in declaration of `cur'
types.c:490: conflicting types for `cur'
types.c:480: previous declaration of `cur'
types.c:490: warning: data definition has no type or storage class
types.c:491: syntax error before "if"
types.c:498: `inst' undeclared here (not in a function)
types.c:500: syntax error before "if"
types.c:505: syntax error before "if"
types.c:505: syntax error before '&&' token
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously declared here
types.c:505: warning: `__result' was declared `extern' and later `static'
types.c:505: `type' undeclared here (not in a function)
types.c:505: `__s2' undeclared here (not in a function)
types.c:505: syntax error before "if"
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously defined here
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously declared here
types.c:505: warning: `__result' was declared `extern' and later `static'
types.c:505: `__s1' undeclared here (not in a function)
types.c:505: syntax error before "if"
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously defined here
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:522: warning: type defaults to `int' in declaration of `ret'
types.c:522: redefinition of `ret'
types.c:475: `ret' previously defined here
types.c:522: warning: passing arg 1 of `xmlXPathWrapNodeSet' makes pointer from integer without a cast
types.c:522: warning: initialization makes integer from pointer without a cast
types.c:522: initializer element is not constant
types.c:522: warning: data definition has no type or storage class
types.c:523: syntax error before '}' token
types.c:505: register name not specified for `__result'
types.c:505: register name not specified for `__result'
make[3]: *** [types.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23'
make: *** [all] Error 2
Any help is much appreciated.