On Nov 11, 2007, at 7:52 AM, Kim Young wrote:


On Nov 10, 2007, at 5:25 AM, William Davis wrote:


On Nov 9, 2007, at 8:16 PM, Michael Hernandez wrote:


On Nov 9, 2007, at 8:02 PM, Kim Young wrote:

I try to install Wireshark with MacPorts on my new install of 10.5 and this is what I get:


john-youngs-imac:~ kimyoung$ sudo port install wireshark
Password:
--->  Building atk with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_atk/work/atk-1.20.0" && make all " returned error 2
Command output: make  all-recursive
Making all in atk
make  all-am
/bin/sh ../libtool --tag=CC --mode=link gcc  -O2 -funroll-loops -fstrict-aliasing -Wall  -L/opt/local/lib -no-undefined -o libatk-1.0.la -rpath /opt/local/lib -version-info 2009:1:2009   atkaction.lo atkcomponent.lo atkdocument.lo atkeditabletext.lo atkgobjectaccessible.lo atkhyperlink.lo atkhyperlinkimpl.lo atkhypertext.lo atkimage.lo atknoopobject.lo atknoopobjectfactory.lo atkobject.lo atkobjectfactory.lo atkregistry.lo atkrelation.lo atkrelationset.lo atkselection.lo atkstate.lo atkstateset.lo atkstreamablecontent.lo atktable.lo atktext.lo atkutil.lo atkmisc.lo atkvalue.lo atk-enum-types.lo -L/opt/local/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
gcc -dynamiclib  -o .libs/libatk-1.0.0.2009.1.dylib  .libs/atkaction.o .libs/atkcomponent.o .libs/atkdocument.o .libs/atkeditabletext.o .libs/atkgobjectaccessible.o .libs/atkhyperlink.o .libs/atkhyperlinkimpl.o .libs/atkhypertext.o .libs/atkimage.o .libs/atknoopobject.o .libs/atknoopobjectfactory.o .libs/atkobject.o .libs/atkobjectfactory.o .libs/atkregistry.o .libs/atkrelation.o .libs/atkrelationset.o .libs/atkselection.o .libs/atkstate.o .libs/atkstateset.o .libs/atkstreamablecontent.o .libs/atktable.o .libs/atktext.o .libs/atkutil.o .libs/atkmisc.o .libs/atkvalue.o .libs/atk-enum-types.o  -L/opt/local/lib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  -install_name  /opt/local/lib/libatk-1.0.0.dylib -compatibility_version 2010 -current_version 2010.1
ld: duplicate symbol _g_bit_nth_lsf in .libs/atkcomponent.o and .libs/atkaction.o

collect2: ld returned 1 exit status
make[3]: *** [libatk-1.0.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: gtk2 atk cairo fontconfig freetype zlib libpng render xrender jpeg pango Xft2 xorg-xproto xorg-util-macros tiff libpcap openssl
Error: Status 1 encountered during processing.
john-youngs-imac:~ kimyoung$


any body got any ideas on what I am doing wrong?



Kim Young
kimyoung@mac.com


sounds like another flavor of this: http://trac.macports.org/projects/macports/ticket/13006

--Mike H

PS (in other words you aren't doing anything wrong)


William,

I am sorry. I am not a programmer so I don't know what I might be able to leave out so here is all of the output. Thanks loads for taking a look at this.

sorry -- too sleepy last night :) 

sudo port selfupdate

followed by

sudo port upgrade glib2

should fix that.  
good luck :)




William Davis
frstanATbellsouthDOTnet
Mac OS X.5.0 Darwin 9.0.0
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non