Ticket #15808 (closed defect: fixed)
gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared
| Reported by: | captsolo@… | Owned by: | pkern@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

