1 |
On 1/19/10, walt <w41ter@×××××.com> wrote: |
2 |
> On 01/19/2010 04:13 AM, SpaceCake wrote: |
3 |
>> Hi, |
4 |
>> |
5 |
>> I have problem to compile Avahi. As far as I see there was several bugs |
6 |
>> related to this package in the past, so I've tried to perform the steps in |
7 |
>> those bug reports to fix this issue (recompile python, python packages, |
8 |
>> playing with useflags etc). |
9 |
>> Unfortunately I can't make it work, so I removed avahi from useflags, so |
10 |
>> my world compile is ok. However I would like to use it, so if anyone has |
11 |
>> any idea how can I fix it, it could be great |
12 |
>> |
13 |
>> I think the most important part is |
14 |
>> |
15 |
>> configure: error: Could not find Python module dbus |
16 |
>> |
17 |
>> however dbus python is emerged and exists |
18 |
>> |
19 |
>> however when I import module I've got this |
20 |
> |
21 |
>> ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so: |
22 |
>> undefined symbol: PyUnicodeUCS2_Decode |
23 |
> |
24 |
> An undefined symbol error means that something has changed since that |
25 |
> library was installed. The solution is to re-install that library, which means |
26 |
> re-install the pyexpat package. I'm guessing that revdep-rebuild would do |
27 |
> that for you automatically. You might want to run redep-rebuild anyway |
28 |
> because you may have other broken libraries on your machine as well. |
29 |
|
30 |
I think the package is called pyxml? emerge -1 pyxml, then revdep-rebuild. |
31 |
|
32 |
Also, OP should be aware of the USE flag changes for |
33 |
ucs2/wide-unicode. A snippet from dev-lang/python's ChangeLog (also |
34 |
see referred bug report): |
35 |
|
36 |
06 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
37 |
python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild, |
38 |
python-2.6.2-r2.ebuild, python-2.6.3.ebuild, python-2.6.4.ebuild, |
39 |
python-3.1.1-r1.ebuild, metadata.xml: |
40 |
Remove "ucs2" USE flag and add "wide-unicode" USE flag (bug #293135). |
41 |
|
42 |
-- |
43 |
Arttu V. |