Cannot build xcb/proto - python error
Pavel Troller
patrol at sinus.cz
Tue Jul 8 00:28:26 PDT 2008
Hi!
I'm trying to build a fresh git X.org. However, I cannot pass over the
xcb/proto package. I'm getting this error:
Making install in xcbgen
make[1]: Entering directory `/usr/src/xorg_git/xcb/proto/xcbgen'
make[2]: Entering directory `/usr/src/xorg_git/xcb/proto/xcbgen'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/opt/X11/lib/python2.5/site-packages/xcbgen" || mkdir -p -- "/opt/X11/lib/python2.5/site-packages/xcbgen"
/usr/bin/ginstall -c -m 644 '__init__.py' '/opt/X11/lib/python2.5/site-packages/xcbgen/__init__.py'
/usr/bin/ginstall -c -m 644 'error.py' '/opt/X11/lib/python2.5/site-packages/xcbgen/error.py'
/usr/bin/ginstall -c -m 644 'expr.py' '/opt/X11/lib/python2.5/site-packages/xcbgen/expr.py'
/usr/bin/ginstall -c -m 644 'matcher.py' '/opt/X11/lib/python2.5/site-packages/xcbgen/matcher.py'
/usr/bin/ginstall -c -m 644 'state.py' '/opt/X11/lib/python2.5/site-packages/xcbgen/state.py'
/usr/bin/ginstall -c -m 644 'types.py' '/opt/X11/lib/python2.5/site-packages/xcbgen/types.py'
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/opt/python/lib/python2.5/os.py", line 693, in <module>
import copy_reg as _copy_reg
File "/opt/python/lib/python2.5/copy_reg.py", line 7, in <module>
from types import ClassType as _ClassType
File "types.py", line 76, in <module>
class SimpleType(Type):
File "types.py", line 96, in SimpleType
out = __main__.output['simple']
AttributeError: 'module' object has no attribute 'output'
make[2]: *** [install-pkgpythonPYTHON] Error 1
make[2]: Leaving directory `/usr/src/xorg_git/xcb/proto/xcbgen'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/src/xorg_git/xcb/proto/xcbgen'
make: *** [install-recursive] Error 1
Using python -v, as suggested in the error output, I've found, that all the
required packages (especially expr.py[c] and types.py[c] are correctly
found and imported from their installation place.
As I'm not experienced in Python, I really don't know, from where such a
problem comes. I was trying with python-2.5.1 and 2.5.2 - with the same
results.
Any help would be greatly appreciated.
With regards, Pavel Troller
More information about the xorg
mailing list