public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: problem compiling Avahi
Date: Tue, 19 Jan 2010 20:16:58 +0200	[thread overview]
Message-ID: <fecdbac61001191016h7e24ebe9sd3a0460779b86aab@mail.gmail.com> (raw)
In-Reply-To: <hj4s6l$s0b$1@ger.gmane.org>

On 1/19/10, walt <w41ter@gmail.com> wrote:
> On 01/19/2010 04:13 AM, SpaceCake wrote:
>> Hi,
>>
>> I have problem to compile Avahi. As far as I see there was several bugs
>> related to this package in the past, so I've tried to perform the steps in
>> those bug reports to fix this issue (recompile python, python packages,
>> playing with useflags etc).
>> Unfortunately I can't make it work, so I removed avahi from useflags, so
>> my world compile is ok. However I would like to use it, so if anyone has
>> any idea how can I fix it, it could be great
>>
>> I think the most important part is
>>
>> configure: error: Could not find Python module dbus
>>
>> however dbus python is emerged and exists
>>
>> however when I import module I've got this
>
>> ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so:
>> undefined symbol: PyUnicodeUCS2_Decode
>
> An undefined symbol error means that something has changed since that
> library was installed.  The solution is to re-install that library, which means
> re-install the pyexpat package.  I'm guessing that revdep-rebuild would do
> that for you automatically.  You might want to run redep-rebuild anyway
> because you may have other broken libraries on your machine as well.

I think the package is called pyxml? emerge -1 pyxml, then revdep-rebuild.

Also, OP should be aware of the USE flag changes for
ucs2/wide-unicode. A snippet from dev-lang/python's ChangeLog (also
see referred bug report):

  06 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild,
  python-2.6.2-r2.ebuild, python-2.6.3.ebuild, python-2.6.4.ebuild,
  python-3.1.1-r1.ebuild, metadata.xml:
  Remove "ucs2" USE flag and add "wide-unicode" USE flag (bug #293135).

-- 
Arttu V.



      reply	other threads:[~2010-01-19 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 12:13 [gentoo-user] problem compiling Avahi SpaceCake
2010-01-19 18:04 ` [gentoo-user] " walt
2010-01-19 18:16   ` Arttu V. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fecdbac61001191016h7e24ebe9sd3a0460779b86aab@mail.gmail.com \
    --to=arttuv69@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox