public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem compiling Avahi
@ 2010-01-19 12:13 SpaceCake
  2010-01-19 18:04 ` [gentoo-user] " walt
  0 siblings, 1 reply; 3+ messages in thread
From: SpaceCake @ 2010-01-19 12:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4443 bytes --]

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


>>> import dbus
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/dbus/__init__.py", line 100, in
<module>
    from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
  File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 46, in
<module>
    from dbus.bus import BusConnection
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 46, in <module>
    from dbus.connection import Connection
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 42, in
<module>
    from dbus.proxies import ProxyObject
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 35, in
<module>
    from dbus._expat_introspect_parser import process_introspection_data
  File "/usr/lib/python2.6/site-packages/dbus/_expat_introspect_parser.py",
line 26, in <module>
    from xml.parsers.expat import ExpatError, ParserCreate
  File "/usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.py", line 4,
in <module>
    from pyexpat import *
ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so:
undefined symbol: PyUnicodeUCS2_Decode



Here is my output of emerge of avahi

checking for python extension module directory...
${exec_prefix}/lib/python2.6/site-packages
checking for python module gtk... yes
checking for python module dbus... no
configure: error: Could not find Python module dbus

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-dns/avahi-0.6.24-r2/work/avahi-0.6.24/config.log
 *
 * ERROR: net-dns/avahi-0.6.24-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4119:  Called econf '--localstatedir=/var'
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk'
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests'
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl'
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python'
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm'
'--enable-python-dbus' '--enable-pygtk'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'.
 *

>>> Failed to emerge net-dns/avahi-0.6.24-r2, Log file:

>>>  '/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'

 * Messages for package net-dns/avahi-0.6.24-r2:

 *
 * ERROR: net-dns/avahi-0.6.24-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4119:  Called econf '--localstatedir=/var'
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk'
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests'
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl'
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python'
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm'
'--enable-python-dbus' '--enable-pygtk'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'.


Thank you
Laszlo

[-- Attachment #2: Type: text/html, Size: 5299 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-19 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox