Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13212 closed defect (worksforme)

avahi fails to build on Mac OS X 10.5 Leopard

Reported by: scott@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: rhwood@…
Port: avahi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Avahi (which GNUCash depends upon) fails to build on OSX Leopard:

--->  Fetching avahi
--->  Attempting to fetch avahi-0.6.17.tar.gz from http://avahi.org/download/
--->  Verifying checksum(s) for avahi
--->  Extracting 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.17" && ./configure --prefix=/opt/local --disable-autoipd --disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --with-distro=darwin " returned error 1
Command output: checking for sys/prctl.h... no
checking for chroot... yes
checking for dlopen in -ldl... yes
checking for dlfcn.h... (cached) yes
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 GTK20... yes
checking for GLADE20... yes
checking for DBUS... yes
Your D-Bus version is 1,0,2.
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 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: The following dependencies failed to build: evince avahi nautilus eel gnome-desktop startup-notification gnome-menus shared-mime-info gnucash-docs yelp firefox-x11 zip goffice03 guile16 readline ncurses ncursesw 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.

Change History (12)

comment:1 Changed 16 years ago by nox@…

Cc: rhwood@… added
Owner: changed from macports-dev@… to rhwood@…
Summary: Avahi fails to build on OS X Leopard 10.5avahi fails to build on Mac OS X 10.5 Leopard

comment:2 Changed 16 years ago by sinclair.jesse@…

avahi will compile properly if you disable python pre-build. In the avahi Portfile, change the configure.args to

configure.args  \
        --disable-autoipd \
        --disable-qt3 \
        --disable-qt4 \
        --disable-mono \
        --disable-monodoc \
        --disable-python

Then run: port install avahi

comment:3 Changed 16 years ago by vlado@…

I can confirm the bug (on Leopard). The solution posted here, adding "--disable-python" to the configure.args, works for me as well. Maybe someone could change the official Portfile? I needed avahi for Evince, which now works at last.

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Cc: scott@… removed
Owner: changed from rhwood@… to nox@…

Assigning to maintainer.

comment:5 Changed 16 years ago by nox@…

Owner: changed from nox@… to macports-tickets@…

I'm not anymore avahi's maintainer.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: avahi added

comment:7 Changed 15 years ago by blb@…

Can anyone still reproduce this, as 0.6.22 builds fine for me on 10.5.5 Intel, Xcode 3.1.1?

comment:8 Changed 15 years ago by scott@…

I totally forgot I had filed this bug. The problem was resolved some time ago for me, so as far as I'm concerned we can close it out.

Thanks!

comment:9 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

comment:10 in reply to:  7 ; Changed 15 years ago by adrianrf@…

Replying to blb@…:

Can anyone still reproduce this, as 0.6.22 builds fine for me on 10.5.5 Intel, Xcode 3.1.1?

I am seeing the same error with

avahi 0.6.24
Mac OS X 10.5.6
Xcode 3.1.2

comment:11 in reply to:  10 Changed 15 years ago by adrianrf@…

Replying to adrianrf@…:

Replying to blb@…:

Can anyone still reproduce this, as 0.6.22 builds fine for me on 10.5.5 Intel, Xcode 3.1.1?

I am seeing the same error with

avahi 0.6.24
Mac OS X 10.5.6
Xcode 3.1.2

and the same fix works: was able to build avahi by adding --disable-python to the avahi portfile.

Adrian Russell-Falla

comment:12 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.