Собирал я тут на своем VPS для легаси PHP 5.4.6, но не пошло что то.
/opt/php/src/php-5.4.6/ext/dom/node.c: In function ‘dom_canonicalization’:
/opt/php/src/php-5.4.6/ext/dom/node.c:1898:21: error: dereferencing pointer to incomplete type ‘xmlBuf {aka struct _xmlBuf}’
ret = buf->buffer->use;
^
Makefile:675: recipe for target 'ext/dom/node.lo' failed
make: *** [ext/dom/node.lo] Error 1
/bin/bash /opt/php/src/php-5.4.6/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/dom/ -I/opt/php/src/php-5.4.6/ext/dom/ -DPHP_ATOM_INC -I/opt/php/src/php-5.4.6/include -I/opt/php/src/php-5.4.6/main -I/opt/php/src/php-5.4.6 -I/opt/php/src/php-5.4.6/ext/date/lib -I/opt/php/src/php-5.4.6/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/opt/php/src/php-5.4.6/ext/mbstring/libmbfl -I/opt/php/src/php-5.4.6/ext/mbstring/libmbfl/mbfl -I/opt/php/src/php-5.4.6/ext/sqlite3/libsqlite -I/usr/include/pspell -I/opt/php/src/php-5.4.6/TSRM -I/opt/php/src/php-5.4.6/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /opt/php/src/php-5.4.6/ext/dom/node.c -o ext/dom/node.lo
/opt/php/src/php-5.4.6/ext/dom/node.c: In function ‘dom_canonicalization’:
/opt/php/src/php-5.4.6/ext/dom/node.c:1898:21: error: dereferencing pointer to incomplete type ‘xmlBuf {aka struct _xmlBuf}’
ret = buf->buffer->use;
^
Makefile:675: recipe for target 'ext/dom/node.lo' failed
make: *** [ext/dom/node.lo] Error 1
Ops. Something is wrong..