Summary: | configure: Doesn't check for python libxml2 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Cyril Brulebois <kibi> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | use correct version of python to make the check |
Description
Cyril Brulebois
2010-11-13 06:40:12 UTC
Fixed by commit 410b58c7bfcebbc866d2dc4ab32c6f23b55d383b On systems where 'python' is 3.x and 'python2' is 2.x, mesa's config will store the variable PYTHON2='python2', whereas your code checks the PYTHON variable, which is unset , and always uses 'python' (3.x), which can't have libxml2. This causes the build to fail even with everything available. Created attachment 73402 [details] [review] use correct version of python to make the check The attached patch fixes the check on systems where python2 is not the default. build also failed on archlinux, where python 3.x is default. I use a simple workaround for now : PYTHON='python2' ./autogen.sh --prefix=/usr / Please reopen this bug fixed with this commit : build: Fix build on systems where /usr/bin/python isn't python 2. http://cgit.freedesktop.org/mesa/mesa/commit/?id=121d19de920212225586c9269f2d34ab7e6e1aec |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.