Скачаем: wget ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz Распаковываем: tar xvf libxslt-1.1.26.tar.gz Заходим: cd libxslt-1.1.26 Итак сейчас должен быть этап сборки, но ниобходим компонент libxml2-dev Устанавливаем: apt-get install libxml2-dev Итак теперь Компилируем и собираем XSLT(выполняем команды по очереди!) ./configure make make install
root@admin-HP-Pavilion-g6-Notebook-PC:/home/admin/XSLT/libxslt-1.1.26# make make all-recursive make[1]: Вхожу у каталог "/home/admin/XSLT/libxslt-1.1.26" Making all in libxslt make[2]: Вхожу у каталог "/home/admin/XSLT/libxslt-1.1.26/libxslt" /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I/usr/include/libxml2 -g -O2 -Wall -MT xsltutils.lo -MD -MP -MF .deps/xsltutils.Tpo -c -o xsltutils.lo xsltutils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I/usr/include/libxml2 -g -O2 -Wall -MT xsltutils.lo -MD -MP -MF .deps/xsltutils.Tpo -c xsltutils.c -fPIC -DPIC -o .libs/xsltutils.o xsltutils.c: In function ‘xsltSaveResultTo’: xsltutils.c:1541:3: warning: passing argument 1 of ‘xmlBufferWriteQuotedString’ from incompatible pointer type [enabled by default] xmlBufferWriteQuotedString(buf->buffer, result->version); ^ In file included from /usr/include/libxml2/libxml/parser.h:16:0, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from xsltutils.c:33: /usr/include/libxml2/libxml/tree.h:1123:3: note: expected ‘xmlBufferPtr’ but argument is of type ‘xmlBufPtr’ xmlBufferWriteQuotedString(xmlBufferPtr buf, ^ xsltutils.c:1554:3: warning: passing argument 1 of ‘xmlBufferWriteQuotedString’ from incompatible pointer type [enabled by default] xmlBufferWriteQuotedString(buf->buffer, (xmlChar *) encoding); ^ In file included from /usr/include/libxml2/libxml/parser.h:16:0, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:218, from xsltutils.c:33: /usr/include/libxml2/libxml/tree.h:1123:3: note: expected ‘xmlBufferPtr’ but argument is of type ‘xmlBufPtr’ xmlBufferWriteQuotedString(xmlBufferPtr buf, ^ xsltutils.c: In function ‘xsltSaveResultToString’: xsltutils.c:1758:26: error: dereferencing pointer to incomplete type *doc_txt_len = buf->conv->use; ^ xsltutils.c:1759:37: error: dereferencing pointer to incomplete type *doc_txt_ptr = xmlStrndup(buf->conv->content, *doc_txt_len); ^ xsltutils.c:1761:28: error: dereferencing pointer to incomplete type *doc_txt_len = buf->buffer->use; ^ xsltutils.c:1762:39: error: dereferencing pointer to incomplete type *doc_txt_ptr = xmlStrndup(buf->buffer->content, *doc_txt_len); ^ make[2]: *** [xsltutils.lo] Помилка 1 make[2]: Залишаю каталог "/home/admin/XSLT/libxslt-1.1.26/libxslt" make[1]: *** [all-recursive] Помилка 1 make[1]: Залишаю каталог "/home/admin/XSLT/libxslt-1.1.26" make: *** [all] Помилка 2
sub ices_init { //событие } sub ices_shutdown { //событие } sub ices_get_next { //событие } sub ices_get_metadata { //событие }