Opened 16 years ago

Last modified 15 years ago

#14177 closed defect

avahi fails to find Python gtk module — at Version 7

Reported by: asmarin@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description (last modified by jmpp@…)

When try to install gnucash, fails.

Any suggestion?

sh-3.2# port -d install gnucash
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnucash
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/gnucash
DEBUG: Requested variant darwin is not provided by port gnucash.
DEBUG: Requested variant i386 is not provided by port gnucash.
DEBUG: Requested variant macosx is not provided by port gnucash.
DEBUG: Executing variant guile16 provides guile16
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/guile16
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/guile16
DEBUG: Requested variant i386 is not provided by port guile16.
DEBUG: Requested variant macosx is not provided by port guile16.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: guile16
DEBUG: Didn't find receipt, going to depspec regex for: guile16
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/avahi
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/avahi
DEBUG: Requested variant darwin is not provided by port avahi.
DEBUG: Requested variant i386 is not provided by port avahi.
DEBUG: Requested variant macosx is not provided by port avahi.
DEBUG: Searching for dependency: avahi
DEBUG: Didn't find receipt, going to depspec regex for: avahi
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-gtk
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-gtk
DEBUG: Requested variant darwin is not provided by port py25-gtk.
DEBUG: Requested variant i386 is not provided by port py25-gtk.
DEBUG: Requested variant macosx is not provided by port py25-gtk.
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: py25-gtk
DEBUG: Found Dependency: receipt exists for py25-gtk
DEBUG: Skipping completed org.macports.main (avahi)
DEBUG: Skipping completed org.macports.fetch (avahi)
DEBUG: Skipping completed org.macports.checksum (avahi)
DEBUG: Skipping completed org.macports.extract (avahi)
DEBUG: Skipping completed org.macports.patch (avahi)
--->  Configuring avahi
DEBUG: Executing org.macports.configure (avahi)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include -L/opt/local/lib' CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' PYTHON='/opt/local/bin/python2.5' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_avahi/work/avahi-0.6.22" && ./configure --prefix=/opt/local --disable-autoipd --disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --with-libiconv-prefix=/opt/local --with-libintl-prefix=/opt/local --with-distro=darwin --enable-compat-libdns_sd'
checking whether /opt/local/bin/python2.5 version >= 2.4... yes
checking for /opt/local/bin/python2.5 version... 2.5
checking for /opt/local/bin/python2.5 platform... darwin
checking for /opt/local/bin/python2.5 script directory... ${prefix}/lib/python2.5/site-packages
checking for /opt/local/bin/python2.5 extension module directory... ${exec_prefix}/lib/python2.5/site-packages
checking for python module gtk... no
configure: error: Could not find Python module gtk
configure: error: Could not find Python module gtk

Warning: the following items did not execute (for avahi): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: evince avahi esound gconf orbit2 libidl gnome-doc-utils iso-codes py25-hashlib py25-libxml2 gnome-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-test-simple p5-test-harness p5-xml-namespacesupport p5-xml-sax gnome-keyring libgcrypt libgpg-error gnome-vfs gnome-mime-data hicolor-icon-theme libgnome libbonobo libgnomecanvas gail libgnomeui libbonoboui m4 nautilus eel gnome-desktop startup-notification gnome-menus libexif librsvg libcroco libgnomeprint bison libgnomecups libgsf shared-mime-info poppler poppler-data gnucash-docs yelp firefox-x11 zip libgtkhtml goffice03 libgnomeprintui guile16 libgtkhtml3 p5-finance-quote p5-crypt-ssleay p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-scalar-list-utils p5-io-compress-zlib p5-html-parser p5-html-tagset p5-uri p5-datemanip p5-html-tableextract slib slib-guile16
Error: Status 1 encountered during processing.
sh-3.2# 

Change History (8)

comment:1 Changed 16 years ago by nox@…

Owner: changed from macports-tickets@… to nox@…
Summary: Gnucash install compilation failsavahi fails to find Python gtk module

Please attach the config.log file located in $(port dir avahi)/work to the ticket and paste the output of "port installed py25-gtk"

Changed 16 years ago by asmarin@…

Attachment: root added

avahi config.log

comment:2 Changed 16 years ago by asmarin@…

And py25-gtk

sh-3.2# port -d installed py25-gtk The following ports are currently installed:

py25-gtk @2.12.1_0+darwin_9 (active)

sh-3.2#

comment:3 Changed 16 years ago by nox@…

Then, what does "port contents py25-gtk | grep /lib/python2.5/site-packages" output?

comment:4 Changed 16 years ago by asmarin@…

sh-3.2# port contents py25-gtk | grep /lib/python2.5/site-

/opt/local/lib/python2.5/site-packages/gtk-2.0/atk.la /opt/local/lib/python2.5/site-packages/gtk-2.0/atk.so /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/init.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/init.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/init.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.la /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_lazyutils.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/compat.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/compat.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/compat.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/glade.la /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/glade.so /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/keysyms.py /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/keysyms.pyc /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/keysyms.pyo /opt/local/lib/python2.5/site-packages/gtk-2.0/gtkunixprint.la /opt/local/lib/python2.5/site-packages/gtk-2.0/gtkunixprint.so /opt/local/lib/python2.5/site-packages/gtk-2.0/pango.la /opt/local/lib/python2.5/site-packages/gtk-2.0/pango.so /opt/local/lib/python2.5/site-packages/gtk-2.0/pangocairo.la /opt/local/lib/python2.5/site-packages/gtk-2.0/pangocairo.so

comment:5 Changed 16 years ago by nox@…

run:

sudo port clean avahi
sudo port install avahi

and tell us if it solved the problem itself.

comment:6 Changed 16 years ago by asmarin@…

Has same problem...

Any tip more?

comment:7 Changed 16 years ago by jmpp@…

Description: modified (diff)
Note: See TracTickets for help on using tickets.