Temat: Libxml
Znowu mam problem z tym, że Python chce coś kompilować. Tym razem chodzi o bibliotekę libxml. Najpierw należy się wyjaśnienie, że zainstalowałem libxml przez opkg. To pomogło w przypadku sqlite, ale niestety nie tym razem. Wydaje mi się, że teraz chodzi o paczkę z xslt, a konkretnie o program xslt-config, którego nie ma w żadnej paczce, która miałaby xslt w nazwie: libxslt, libexslt, xsltproc. Oto log z błędami:
------------------------------------------------------------
/usr/bin/pip run on Tue Dec 28 16:05:54 2010
Downloading/unpacking lxml
Running setup.py egg_info for package lxml
Building lxml version 2.3.beta1.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running egg_info
writing pip-egg-info/lxml.egg-info/PKG-INFO
writing top-level names to pip-egg-info/lxml.egg-info/top_level.txt
writing dependency_links to pip-egg-info/lxml.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/lxml.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/lxml.egg-info/SOURCES.txt'
Installing collected packages: lxml
Running setup.py install for lxml
Running command /usr/bin/python -c "import setuptools;__file__='/www/trac/build/lxml/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-aDfzHm-record/install-record.txt
Building lxml version 2.3.beta1.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
ERROR: /bin/sh: xslt-config: not found
Using build configuration of libxslt
running install
running build
running build_py
running build_ext
building 'lxml.etree' extension
mips-openwrt-linux-uclibc-gcc -DNDEBUG -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -fPIC -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-mips-2.6/src/lxml/lxml.etree.o -w
unable to execute mips-openwrt-linux-uclibc-gcc: No such file or directory
error: command 'mips-openwrt-linux-uclibc-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/www/trac/build/lxml/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-aDfzHm-record/install-record.txt:
Building lxml version 2.3.beta1.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
running install
running build
running build_py
running build_ext
building 'lxml.etree' extension
mips-openwrt-linux-uclibc-gcc -DNDEBUG -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -fPIC -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-mips-2.6/src/lxml/lxml.etree.o -w
unable to execute mips-openwrt-linux-uclibc-gcc: No such file or directory
error: command 'mips-openwrt-linux-uclibc-gcc' failed with exit status 1
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/www/trac/build/lxml/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-aDfzHm-record/install-record.txt failed with error code 1
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip-0.8.2-py2.6.egg/pip/basecommand.py", line 130, in main
self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip-0.8.2-py2.6.egg/pip/commands/install.py", line 228, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip-0.8.2-py2.6.egg/pip/req.py", line 1044, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip-0.8.2-py2.6.egg/pip/req.py", line 559, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.6/site-packages/pip-0.8.2-py2.6.egg/pip/__init__.py", line 249, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command /usr/bin/python -c "import setuptools;__file__='/www/trac/build/lxml/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-aDfzHm-record/install-record.txt failed with error code 1Może jakieś wskazówki? Jest sposób, żeby obyć się bez kompilacji?