Build error: No such file or directory: 'src/lxml/lxml.etree.c'

Hi, I've grabbed 3.5.0beta1 from github and tried building it. I'm on OS X and have lxml2.9.2 rather than lxml2.9.1. So, I’m using the following command to build: python setup.py build --static-deps --libxml2-version=2.9.2 --without-cython but I keep getting an error saying clang: error: no such file or directory: 'src/lxml/lxml.etree.c' clang: error: no input files Indeed, the C file doesn't exist and isn't part of the distribution though. Am I missing something? I'd like to have it installed in a virtualenv (eventually). Any help will be appreciated. Thanks John

John Munroe schrieb am 24.06.2015 um 10:10:
It's generated. I guess you passed "--without-cython" because the build initially failed and told you to install Cython or pass that option, and you thought that passing the option is the simpler alternative. Problem is: it's not an alternative in this case. You need Cython for non-release builds as they don't contain generated code. Stefan

John Munroe schrieb am 24.06.2015 um 10:10:
It's generated. I guess you passed "--without-cython" because the build initially failed and told you to install Cython or pass that option, and you thought that passing the option is the simpler alternative. Problem is: it's not an alternative in this case. You need Cython for non-release builds as they don't contain generated code. Stefan
participants (2)
-
John Munroe
-
Stefan Behnel