On Sat, Oct 30, 2010 at 10:49 AM, Stefan Behnel <stefan_ml@behnel.de> wrote:
felix, 26.10.2010 15:28:
According to this:
http://codespeak.net/lxml/build.html
we should avoid installing Cython
but using easy_install to build fails saying the cython generated file is missing
I doubt that it's failing because of that. However, you didn't provide the output of the build, so I can't guess what happened that actually made the build fail.
sorry, that output had scrolled off by the time I realized I should submit a report. I have another server so fortunately I can fail there and show you. crucial@crucial-systems:~/working/lxml$ python setup.py build /home/crucial/working/lxml/versioninfo.py:53: UserWarning: unrecognized .svn/entries format; skipping /home/crucial/working/lxml/ warn("unrecognized .svn/entries format; skipping "+base) Building lxml version 2.3.beta1. *NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.* Using build configuration of libxslt 1.1.26 Building against libxml2/libxslt in the following directory: /usr/lib running build running build_py running build_ext building 'lxml.etree' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/libxml2 -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w gcc: src/lxml/lxml.etree.c: No such file or directory gcc: no input files error: command 'gcc' failed with exit status 1
The latest build instructions for the SVN trunk are in the SVN trunk as "doc/build.txt", or *(not always completely up-to-date)* here:
exactly
*but then I succeeded with the old sudo easy_install lxml*
because now I have Cython
Again, I doubt that this is the reason.
sudo easy_install lxml failed before after installing Cython it says it uses Cython (not Trying to build without Cython) and it worked. nothing else having changed I thought it was a reasonable guess that it worked because it used Cython because Cython is installed. * *
Stefan