Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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 (4)

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

Milestone: Port Bugs

comment:2 Changed 16 years ago by pkern@…

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

comment:3 Changed 16 years ago by pkern@…

Resolution: fixed
Status: newclosed

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.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.