Wireshark build fails on 10.4.10 MacBook Core Duo

Eric Hall opendarwin.org at darkart.com
Mon Aug 13 21:29:16 PDT 2007


On Mon, Aug 13, 2007 at 08:58:26PM -0500, Ryan Schmidt wrote:
> 
> On Aug 13, 2007, at 20:02, Brian Barrera wrote:
> 
> >On 8/13/07, Eric Hall wrote:
> >
> >>I suspect the new glib (2.14.0) and wireshark are not
> >>getting along, I'll see what I can do with it.
> >
> >Curious, how do you install the new glib? MacPorts is 1.510 and was
> >updated using selfupdate yet I'm running glib 2.12.12 according to
> >/opt/local/lib/glib-2.0/include/glibconfig.h and otool.
> 
> "sudo port sync", then "sudo port -nf upgrade glib2". glib2 was  
> updated to 2.14.0 on 2007-08-11, and before that to 2.12.12 on  
> 2007-07-21. I had hoped that updating glib2 to 2.14.0 would not cause  
> any problems since the release notes say "This is the first in the  
> 2.14 series, providing new functionality compared to GLib 2.12, while  
> maintaining source and binary compatibility."
> 

	Unfortunately it does cause some problems - there are warnings
in the glib code (see error w/ wireshark that started this thread) and
somethings (like wireshark) try to build with -Werror, resulting in
problems.
	I've just committed a fix for wireshark, it should be available
to 'port sync' by tomorrow morning.  For those wanting the fix faster
(and you know what you're doing), simply add '--disable-warnings-as-errors'
to configure.args in the Portfile and rebuild.


		-eric





More information about the macports-users mailing list