Вытащил ВСЕ исходники в папку /opt/include
Запустил конфигурационный скрипт /opt/bin/gcc_env.sh
снова билд
результат немного другой, но снова ругается на libxml2
и говорит, что не найден какой-то файл/путь "сс"
Код: Выделить всё
python3 setup.py build_ext --debug
Building lxml version 3.7.3.
Building without Cython.
ERROR: b'/bin/sh: xslt-config: command not found\n'
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running build_ext
building 'lxml.etree' extension
arm-openwrt-linux-gnueabi-gcc -DNDEBUG -O2 -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -O2 -pipe -march=armv5te -mtune=xscale -fno-caller-saves -mfloat-abi=soft -fPIC -g -Isrc/lxml/includes -I/opt/include/python3.6 -c src/lxml/lxml.etree.c -o build/temp.linux-armv5tel-3.6/src/lxml/lxml.etree.o -w
{standard input}: Assembler messages:
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
arm-openwrt-linux-gnueabi-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://dev.openwrt.org/> for instructions.
Compile failed: command 'arm-openwrt-linux-gnueabi-gcc' failed with exit status 4
cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInitjafm3ib0.c -o opt/tmp/xmlXPathInitjafm3ib0.o
unable to execute 'cc': No such file or directory
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'arm-openwrt-linux-gnueabi-gcc' failed with exit status 4
[~/li/lxml-3.7.3] #