Opened 18 years ago

Closed 18 years ago

#11092 closed defect (fixed)

WireShark 0.99.4 - does not install

Reported by: bergert@… Owned by: ghosthound
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: wireshark Cc:
Port:

Description

I had Ethereal installed and running (via port). Then I upgraded to 10.4 and also the new X11-2006 update. Now Ethereal is broken. So I "sudo port uninstall ethereal" "sudo port install wireshark" But Wireshark does not install- it seems there is a compile error and after the build it will always do a "clean". I am end-user so I have not been able to find logs.

Change History (5)

comment:1 Changed 18 years ago by ghosthound

Owner: changed from macports-dev@… to ricci@…
Status: newassigned

Please run "port -v -d build wireshark" - this should show you exactly what happens - and report back with the results.

comment:2 Changed 18 years ago by pguyot (Paul Guyot)

Component: baseports

comment:3 Changed 18 years ago by owens@…

I've had ongoing issues with Wireshark refusing to build on my system: Dual 867 G4, 10.4.8, powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367). All of the errors have related to what appear to be Subversion-related variables. I have a script file from the latest attempt to build, which was just this afternoon, but it is over 3 MB so I'm reluctant to attach it. The last command and errors were:

gcc -DINET6 -no-cpp-precomp "-D_U_=attribute((unused))" -Wall -Wpointer-arith -W -g -O2 -DXTHREADS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -g -O2 -Udarwin8 -Ddarwin8=darwin8 -I/opt/local/include -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE -I. -I/opt/local/include -I/usr/include -Wl,-search_paths_first -o .libs/wireshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o airpcap_loader.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o -flat_namespace .libs/wiresharkS.o -Wl,-search_paths_first -framework ApplicationServices -framework CoreFoundation -L/opt/local/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.dylib epan/.libs/libwireshark.dylib -L/usr/lib /opt/local/lib/libnetsnmp.dylib -lcrypto -lpcap -L/usr/X11R6/lib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /opt/local/lib/libiconv.dylib -lz /usr/bin/ld: multiple definitions of symbol _wireshark_svnversion version_info.o definition of _wireshark_svnversion in section (DATA,data) gtk/libui.a(main.o) definition of _wireshark_svnversion in section (DATA,common) gtk/libui.a(about_dlg.o) definition of _wireshark_svnversion in section (DATA,common) collect2: ld returned 1 exit status make[2]: * [wireshark] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for wireshark): com.apple.build Error: Status 1 encountered during processing.

Bill.

comment:4 Changed 18 years ago by ghosthound

Hmm, I recently rebuilt 0.99.4 and just did 0.99.5 with "port build +adns +ipv6 +net_snmp +pcre" and it worked fine. Can you try again with the 0.99.5 update? Also, any special options set for macports?

comment:5 Changed 18 years ago by ghosthound

Resolution: fixed
Status: assignedclosed

Closing as I believe this problem is fixed. Please (re-)open if it does not work for you.

Note: See TracTickets for help on using tickets.