From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NXIdl-0005Ic-Sn for garchives@archives.gentoo.org; Tue, 19 Jan 2010 18:17:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20C14E0AE7; Tue, 19 Jan 2010 18:16:59 +0000 (UTC) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by pigeon.gentoo.org (Postfix) with ESMTP id D4CD8E0AE7 for ; Tue, 19 Jan 2010 18:16:58 +0000 (UTC) Received: by bwz28 with SMTP id 28so111058bwz.29 for ; Tue, 19 Jan 2010 10:16:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=MiwScQF4w5dOi1LF24t6kV1Z3yBZd2LCnwCkjUmmGKg=; b=DlO86lt6OnHhGfqz4nAOygGACncfB2Zm0Lf9DDVUmA6uGaOvf/9HaBBXBbdRPBdNrK wOU/NUOPKhqbcA/dsTaMt7ngocbORUqSUttSLCItm+vmIC573JJYLeeYlI4l4CP9NWf7 OwewzdJMoftk1xBMUet7VKQwJWSYcTKQRXiYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dApdta6ydTOn9JcUkoN5SSiPRL/B1aPYp3dEV9JD4mXQoQpWA+Sy5F6AnON3dLs5sq J2OQ2Sj8EE3dfasZYhnylUQuJTw4X3ZbxhTqhXOwEo/THsO34ECKg+/8Og1n67VkK9Y9 H3YyYC4XYQ5J51oCMTtMM2KsXfl+SOXTAMBoE= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.157.24 with SMTP id z24mr4193129bkw.208.1263925018171; Tue, 19 Jan 2010 10:16:58 -0800 (PST) In-Reply-To: References: <46ea0d6b1001190413m8d53488gbc5568302746ffad@mail.gmail.com> Date: Tue, 19 Jan 2010 20:16:58 +0200 Message-ID: Subject: Re: [gentoo-user] Re: problem compiling Avahi From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 75395325-afbb-49cb-8c20-88459000611f X-Archives-Hash: 85112d4734a233328c489e59f44ce4f0 On 1/19/10, walt 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 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.