[MacPorts] #15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared
MacPorts
noreply at macports.org
Tue Jul 1 20:10:40 PDT 2008
#15808: gobby-0.4.6 fails to build - error: 'zeroconf_base' has not been declared
--------------------------------+-------------------------------------------
Reporter: captsolo at gmail.com | Owner: macports-tickets at 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 at 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
More information about the macports-tickets
mailing list