1 |
Hi, |
2 |
|
3 |
I have problem to compile Avahi. As far as I see there was several bugs |
4 |
related to this package in the past, so I've tried to perform the steps in |
5 |
those bug reports to fix this issue (recompile python, python packages, |
6 |
playing with useflags etc). Unfortunately I can't make it work, so I removed |
7 |
avahi from useflags, so my world compile is ok. However I would like to use |
8 |
it, so if anyone has any idea how can I fix it, it could be great |
9 |
|
10 |
I think the most important part is |
11 |
|
12 |
configure: error: Could not find Python module dbus |
13 |
|
14 |
however dbus python is emerged and exists |
15 |
|
16 |
however when I import module I've got this |
17 |
|
18 |
|
19 |
>>> import dbus |
20 |
Traceback (most recent call last): |
21 |
File "<stdin>", line 1, in <module> |
22 |
File "/usr/lib/python2.6/site-packages/dbus/__init__.py", line 100, in |
23 |
<module> |
24 |
from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus |
25 |
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 46, in |
26 |
<module> |
27 |
from dbus.bus import BusConnection |
28 |
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 46, in <module> |
29 |
from dbus.connection import Connection |
30 |
File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 42, in |
31 |
<module> |
32 |
from dbus.proxies import ProxyObject |
33 |
File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 35, in |
34 |
<module> |
35 |
from dbus._expat_introspect_parser import process_introspection_data |
36 |
File "/usr/lib/python2.6/site-packages/dbus/_expat_introspect_parser.py", |
37 |
line 26, in <module> |
38 |
from xml.parsers.expat import ExpatError, ParserCreate |
39 |
File "/usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.py", line 4, |
40 |
in <module> |
41 |
from pyexpat import * |
42 |
ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so: |
43 |
undefined symbol: PyUnicodeUCS2_Decode |
44 |
|
45 |
|
46 |
|
47 |
Here is my output of emerge of avahi |
48 |
|
49 |
checking for python extension module directory... |
50 |
${exec_prefix}/lib/python2.6/site-packages |
51 |
checking for python module gtk... yes |
52 |
checking for python module dbus... no |
53 |
configure: error: Could not find Python module dbus |
54 |
|
55 |
!!! Please attach the following file when seeking support: |
56 |
!!! /var/tmp/portage/net-dns/avahi-0.6.24-r2/work/avahi-0.6.24/config.log |
57 |
* |
58 |
* ERROR: net-dns/avahi-0.6.24-r2 failed. |
59 |
* Call stack: |
60 |
* ebuild.sh, line 49: Called src_compile |
61 |
* environment, line 4119: Called econf '--localstatedir=/var' |
62 |
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk' |
63 |
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests' |
64 |
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl' |
65 |
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python' |
66 |
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm' |
67 |
'--enable-python-dbus' '--enable-pygtk' |
68 |
* ebuild.sh, line 534: Called die |
69 |
* The specific snippet of code: |
70 |
* die "econf failed" |
71 |
* The die message: |
72 |
* econf failed |
73 |
* |
74 |
* If you need support, post the topmost build error, and the call stack if |
75 |
relevant. |
76 |
* A complete build log is located at |
77 |
'/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'. |
78 |
* The ebuild environment file is located at |
79 |
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'. |
80 |
* |
81 |
|
82 |
>>> Failed to emerge net-dns/avahi-0.6.24-r2, Log file: |
83 |
|
84 |
>>> '/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log' |
85 |
|
86 |
* Messages for package net-dns/avahi-0.6.24-r2: |
87 |
|
88 |
* |
89 |
* ERROR: net-dns/avahi-0.6.24-r2 failed. |
90 |
* Call stack: |
91 |
* ebuild.sh, line 49: Called src_compile |
92 |
* environment, line 4119: Called econf '--localstatedir=/var' |
93 |
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk' |
94 |
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests' |
95 |
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl' |
96 |
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python' |
97 |
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm' |
98 |
'--enable-python-dbus' '--enable-pygtk' |
99 |
* ebuild.sh, line 534: Called die |
100 |
* The specific snippet of code: |
101 |
* die "econf failed" |
102 |
* The die message: |
103 |
* econf failed |
104 |
* |
105 |
* If you need support, post the topmost build error, and the call stack if |
106 |
relevant. |
107 |
* A complete build log is located at |
108 |
'/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'. |
109 |
* The ebuild environment file is located at |
110 |
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'. |
111 |
|
112 |
|
113 |
Thank you |
114 |
Laszlo |