
Dear All, I am trying to install lxml with pip on a Debian server and my tmp folder is not large enough ( I cannot increase it at the moment) and I am getting the following message, could you please suggest a workaround? Thanks, Gabor Downloading/unpacking lxml Running setup.py egg_info for package lxml /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) Building lxml version 3.4.1. Building without Cython. Using build configuration of libxslt 1.1.26 Building against libxml2/libxslt in the following directory: /usr/lib Installing collected packages: lxml Running setup.py install for lxml /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) Building lxml version 3.4.1. Building without Cython. Using build configuration of libxslt 1.1.26 Building against libxml2/libxslt in the following directory: /usr/lib building 'lxml.etree' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/home/roysy/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w src/lxml/lxml.etree.c:206109:1: fatal error: error writing to /tmp/ccruZe2F.s: No space left on device compilation terminated. error: command 'gcc' failed with exit status 1 Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/roysy/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-VVbtrn-record/install-record.txt: /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url' warnings.warn(msg) Building lxml version 3.4.1. Building without Cython. Using build configuration of libxslt 1.1.26 Building against libxml2/libxslt in the following directory: /usr/lib running install running build running build_py copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes running build_ext building 'lxml.etree' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/home/roysy/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w src/lxml/lxml.etree.c:206109:1: fatal error: error writing to /tmp/ccruZe2F.s: No space left on device compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /usr/bin/python -c "import setuptools;__file__='/home/roysy/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-VVbtrn-record/install-record.txt failed with error code 1 in /home/roysy/build/lxml Storing complete log in /root/.pip/pip.log

Gabor Toth schrieb am 07.01.2015 um 18:35:
Dear All, I am trying to install lxml with pip on a Debian server and my tmp folder is not large enough ( I cannot increase it at the moment) and I am getting the following message, could you please suggest a workaround? Thanks, Gabor
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/home/roysy/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c:206109:1: fatal error: error writing to /tmp/ccruZe2F.s: No space left on device
compilation terminated.
error: command 'gcc' failed with exit status 1
Try adding "-pipe" to your CFLAGS, that will let gcc avoid writing intermediate temp files and use pipes instead. Stefan

Am .01.2015, 18:35 Uhr, schrieb Gabor Toth <bewindoki@yahoo.com>:
Dear All, I am trying to install lxml with pip on a Debian server and my tmp folder is not large enough ( I cannot increase it at the moment) and I am getting the following message, could you please suggest a workaround?
You can try setting the environment variable $TEMP to somewhere where you do have enough space. export TEMP=/path/to in bash Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Kronenstr. 27a Düsseldorf D- 40217 Tel: +49-211-600-3657 Mobile: +49-178-782-6226
participants (3)
-
Charlie Clark
-
Gabor Toth
-
Stefan Behnel