#39291: Wireshark upgrade fails ---------------------+-------------------------------- Reporter: dersh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: wireshark ---------------------+-------------------------------- I have wireshark 1.8.6_1 installed and just tried to upgrade to 1.8.6_2, but it fails in the configuration stage: {{{ ---> Computing dependencies for wireshark ---> Configuring wireshark Error: org.macports.configure for port wireshark returned: configure failure: command execution failed Please see the log file for port wireshark for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/main.log Error: Unable to upgrade port: 1 }}} My log file concludes as follows: {{{ :info:configure checking for pkg-config... /opt/local/bin/pkg-config :info:configure checking for GTK+ - version >= 2.12.0 and < 3.0... no :info:configure *** Could not run GTK+ test program, checking why... :info:configure *** The test program compiled, but did not run. This usually means :info:configure *** that the run-time linker is not finding GTK+ or finding the wrong :info:configure *** version of GTK+. If it is not finding GTK+, you'll need to set your :info:configure *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point :info:configure *** to the installed location Also, make sure you have run ldconfig if that :info:configure *** is required on your system :info:configure *** :info:configure *** If you have an old version installed, it is best to remove it, although :info:configure *** you may also be able to get things to work by modifying LD_LIBRARY_PATH :info:configure configure: error: Neither Qt nor GTK+ 2.12 or later are available, so Wireshark can't be compiled :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.8.6" && ./configure --prefix=/opt/local --with-libsmi=/opt/local --disable-usr- local --with-adns=/opt/local --without-c-ares --with-geoip=/opt/local --with-gnutls=yes --with-libgcrypt-prefix=/opt/local --with-lua=/opt/local --enable-ipv6 --with-pcap=/opt/local --with-ssl=/opt/local --with- zlib=/opt/local --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --with-portaudio=/opt/local --disable- warnings-as-errors --with-krb5=/opt/local --without-python :info:configure Exit code: 1 :error:configure org.macports.configure for port wireshark returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "$procedure $targetname" :info:configure Warning: targets not executed for wireshark: org.macports.install org.macports.configure org.macports.build org.macports.destroot :notice:configure Please see the log file for port wireshark for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/main.log }}} But I do have a normal macports install of gtk+ and Qt: qt4-mac @4.8.4_6 (active) gtk2 @2.24.18_0+universal+x11 (active) So, it seems that wireshark is somehow not looking in the right place when it is building? Thanks, -- Ticket URL: <https://trac.macports.org/ticket/39291> MacPorts <http://www.macports.org/> Ports system for OS X