[MacPorts] #17541: avahi 0.6.23 doesn't build
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- avahi currently doesn't build. it says it could not find Python module gtk, but it's installed. {{{ andi-macbook-2:~ andi$ sudo port install avahi ---> Configuring avahi Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_avahi/work/avahi-0.6.23" && ./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 " returned error 1 Command output: checking for gmsgfmt... (cached) /opt/local/bin/msgfmt checking for xgettext... (cached) /opt/local/bin/xgettext checking for pkg-config... yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB20... yes checking for GOBJECT... yes checking for GTK20... yes checking for GLADE20... yes checking for DBUS... yes Your D-Bus version is 1,2,4. checking for dbus_connection_close... yes checking for dbus_bus_get_private... yes checking for XML_ParserCreate in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lbsdxml... no checking for gdbm_open in -lgdbm... yes checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for LIBDAEMON... yes 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 Error: Status 1 encountered during processing. andi-macbook-2:~ andi$ sudo port install py25-gtk Skipping org.macports.activate (py25-gtk +darwin_9) since this port is already active ---> Cleaning py25-gtk }}} -- Ticket URL: <http://trac.macports.org/ticket/17541> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by andi@…): any updates? -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by blb@…): Does it fail the same with with avahi 0.6.24 (which is the port's current version now)? -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by andi@…): Replying to [comment:3 blb@…]:
Does it fail the same with with avahi 0.6.24 (which is the port's current version now)? yes, 0.6.24 also fails with the same error message
-- Ticket URL: <http://trac.macports.org/ticket/17541#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by blb@…): What version of the python25 port do you have ({{{port installed python25}}})? Also, do you have the python_select port installed and have used it to select python25? -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by andi@…): i upgraded python25 to the newest version, selected it and tried again. But it still fails: {{{ r063137:~ andi$ sudo port upgrade python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 ---> Staging python25 into destroot ---> Deactivating python25 @2.5.2_7+darwin_9 ---> Installing python25 @2.5.4_0+darwin_9+macosx ---> Activating python25 @2.5.4_0+darwin_9+macosx To fully complete your installation and make python 2.5 the default, please run sudo port install python_select sudo python_select python25 ---> Cleaning python25 r063137:~ andi$ sudo python_select python25 Password: Selecting version "python25" for python r063137:~ andi$ sudo port install avahi ---> Configuring avahi Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_avahi/work/avahi-0.6.24" && ./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 " returned error 1 Command output: checking for gmsgfmt... (cached) /opt/local/bin/msgfmt checking for xgettext... (cached) /opt/local/bin/xgettext checking for pkg-config... yes checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB20... yes checking for GOBJECT... yes checking for GTK20... yes checking for GLADE20... yes checking for DBUS... yes Your D-Bus version is 1,2,4. checking for dbus_connection_close... yes checking for dbus_bus_get_private... yes checking for XML_ParserCreate in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lbsdxml... no checking for gdbm_open in -lgdbm... yes checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for LIBDAEMON... yes 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 Error: Status 1 encountered during processing. r063137:~ andi$ sudo python_select python25 }}} -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by blb@…): Odd...can you manually import the gtk module? Run python, then try {{{import gtk}}} and see what happens. -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by andi@…): no manually importing doesn't work too: where does python search for it's modules? {{{ andi$ python Python 2.5.4 (r254:67916, Jan 12 2009, 23:50:37) [GCC 4.0.1 (Apple Inc. build 5488)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import gtk Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named gtk
}}}
-- Ticket URL: <http://trac.macports.org/ticket/17541#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build -------------------------------+-------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: avahi -------------------------------+-------------------------------------------- Comment(by blb@…): It should be looking in either /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 /site-packages or /opt/local/lib/python2.5/site-packages (one is just a symlink to the other); if you check {{{port contents py25-gtk}}} it should have installed a gtk-2.0 directory within it. However, maybe you installed py25-gtk some time ago, prior to python25 2.5.2_7 and the paths could be off? If so, you may need to reinstall py25-gtk (though this is definitely just a theory at this point). -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build ------------------------------+--------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Component: ports Version: 1.7.0 | Keywords: Port: avahi | ------------------------------+--------------------------------------------- Comment(by andi@…): Looks like this bug is a dupplicate of #12966 Compiling works now -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17541: avahi 0.6.23 doesn't build --------------------------------+------------------------------------------- Reporter: andi@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: duplicate | Keywords: Port: avahi | --------------------------------+------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <http://trac.macports.org/ticket/17541#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts