Guys, I'm getting an error in dbus-python installation. I originally
had python-2.5.0, updated to python-2.5.1 (after removing the partial
installation of dbus-python). Still get the same error. I've got a
fairly small list of python modules, but they all checked out fine with
the 2.5.1 update, so I don't think it's a local issue. Here is the
error, maybe should goto support, but I think I remember something
similar just before blfs-6.2, in dbus-0.62 (does that sound right??).
Anybody seen this one yet?
/sources/dbus-python-0.82.0/install-sh -c -m 644 'types.py'
'/usr/lib/python2.5/site-packages/dbus/types.py'
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/usr/lib/python2.5/os.py", line 696, in <module>
import copy_reg as _copy_reg
File "/usr/lib/python2.5/copy_reg.py", line 7, in <module>
from types import ClassType as _ClassType
File "types.py", line 6, in <module>
from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\
ImportError: No module named _dbus_bindings
make[3]: *** [install-nobase_pythondbusPYTHON] Error 1
make[3]: Leaving directory `/sources/dbus-python-0.82.0/dbus'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/sources/dbus-python-0.82.0/dbus'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/sources/dbus-python-0.82.0/dbus'
make: *** [install-recursive] Error 1
[EMAIL PROTECTED] dbus-python-0.82.0]#
FWIW, I have these python modules added (in order):
[EMAIL PROTECTED] sources]# grep "py" /var/log/packages
numpy-1.0.3
pyorbit-2.14.3
pygobject-2.12.3
pycairo-1.4.0
pygtk-2.10.4
gnome-python-2.18.2
gnome-python-desktop-2.18.0
Actually, I just looked at the gentoo ebuild and they list pyrex as a
dep, but I still get the same error running make install. Just FYI, the
error is correct! I see dbus_bindings.py but not _dbus_bindings.py.
[EMAIL PROTECTED] dbus-python-0.82.0]# ls -R
/usr/lib/python2.5/site-packages/*dbus*
/usr/lib/python2.5/site-packages/_dbus_bindings.la
/usr/lib/python2.5/site-packages/_dbus_bindings.so
/usr/lib/python2.5/site-packages/_dbus_glib_bindings.la
/usr/lib/python2.5/site-packages/_dbus_glib_bindings.so
/usr/lib/python2.5/site-packages/dbus:
bus.py decorators.py gobject_service.py
proxies.py
connection.py exceptions.py __init__.py
service.py
dbus_bindings.py _expat_introspect_parser.py lowlevel.py types.py
_dbus.py glib.py mainloop
_version.py
/usr/lib/python2.5/site-packages/dbus/mainloop:
glib.py __init__.py
[EMAIL PROTECTED] dbus-python-0.82.0]#
Copying the file to the expected name simply brings more errors...
dbus.exceptions.py is next.
-- DJ Lucas
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page