[MacPorts] #15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared
#15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared --------------------------------+------------------------------------------- Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- On Mac OS X 10.5, XCode 3.0, MacPorts version 1.6.0. Build fails with the error message: {{{ src/window.cpp: In constructor 'Gobby::Window::Window(const Gobby::IconManager&, Gobby::Config&)': src/window.cpp:189: error: 'zeroconf_base' has not been declared src/window.cpp:189: error: no matching function for call to 'mem_fun(obby::zeroconf_base&, int (*)(int, fd_set*, fd_set*, fd_set*, timeval*))' make[2]: *** [gobby-window.o] Error 1 }}} The reason seems to be stopping usage of package "howl" which is not active any more. What worked for me: change port "obby" depend on "avahi" instead of "howl": {{{ < # $Id: Portfile 37778 2008-06-23 04:55:48Z ryandesign@macports.org $ ---
# $Id$ 24c24 < port:howl \
port:avahi \
}}} And add a compile flag to gobby's portfile: {{{ 33a34
configure.args --with-avahi }}}
Note: was getting a "-DNDEBUG" error when building avahi dependecies (one of py25 modules). Worked around as described in http://trac.macports.org/wiki/LeopardProblems. -- Ticket URL: <http://trac.macports.org/ticket/15808> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * milestone: => Port Bugs -- Ticket URL: <http://trac.macports.org/ticket/15808#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: pkern@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by pkern@macports.org): * owner: macports-tickets@lists.macosforge.org => pkern@macports.org -- Ticket URL: <http://trac.macports.org/ticket/15808#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared ---------------------------------+------------------------------------------ Reporter: captsolo@gmail.com | Owner: pkern@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Changes (by pkern@macports.org): * status: new => closed * resolution: => fixed Comment: obby's configure script is where the detection happens. Gobby's portfile is irrelevant for this problem. It will prefer avahi over howl if present, but there is no --with-avahi flag to force this. I just committed a change in [37988] to use avahi instead of howl. If it works on OS X "now" then it's clearly the better choice. -- Ticket URL: <http://trac.macports.org/ticket/15808#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts