Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22615 closed defect (invalid)

avahi does not work with Python.framework

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: blb@…
Port: avahi

Description

checking whether /opt/local/bin/python2.6 version >= 2.4... yes
checking for /opt/local/bin/python2.6 version... 2.6
checking for /opt/local/bin/python2.6 platform... darwin
checking for /opt/local/bin/python2.6 script directory... ${prefix}/lib/python2.6/site-packages
checking for /opt/local/bin/python2.6 extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for python module gtk... no
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: Status 1 encountered during processing.

Notice that it's finding the wrong script/extension dir, so it's not finding pygtk.

Change History (3)

comment:1 Changed 15 years ago by blb@…

That's odd since avahi specifically wants to use python2.5, not 2.6; what's config.log say? And for moving to 2.6, it looks like it's making an assumption about the lib dir which would need to be told/patched to look in the framework dir.

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

Ah... nevermind... I guess ages ago I had tried to get it to work with python26 since python25 wasn't working for SnowLeopard+universal ... and I completely forgot that I had modified the Portfile... ><

comment:3 Changed 15 years ago by blb@…

Switching to 2.6 would be a good thing, but I'm guessing this should be done simultaneously with other gnome stuff, which is going to be quite painful...

Note: See TracTickets for help on using tickets.