Wireshark-dev: Re: [Wireshark-dev] macosx-setup.sh fails now
From: Roland Knall <rknall@xxxxxxxxx>
Date: Thu, 22 Jan 2015 18:52:51 +0100
Hi

To look for Qt, set a environment variable namend QT_DIR to the folder of your qt install, which contains the bin folder containing qmake, and also add the path for qmake for your path. That way all Qt5 libraries will be found. CAP or at least SETCAP could be the capabilites utility for Linux, I did not need it on Mac. GTK3 does not get activated, as you have GTK2 installed. To choose GTK3 you must enable the corresponding line in the *setup.sh

regards

On Thu, Jan 22, 2015 at 6:45 PM, Anders Broman <a.broman58@xxxxxxxxx> wrote:
Running make it seems to not find all the modules, I do have a Qt package installed. What is CAP? it seems to find libpcap…
Anderss-MacBook-Pro:wireshark andersbroman$ cmake /Users/andersbroman/wireshark/
-- The C compiler identification is Clang 6.0.0
-- The CXX compiler identification is Clang 6.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- No custom file found in /Users/andersbroman/wireshark
-- Configuration types: 
-- RelWithDebInfo: -O2 -g -DNDEBUG 
-- V: 1.99.2, MaV: 1, MiV: 99, PL: 2, EV: .
-- Performing Test WERROR
-- Performing Test WERROR - Success
-- Checking for c-compiler flag: -Wall
-- Performing Test C__Wall_VALID
-- Performing Test C__Wall_VALID - Success
-- Checking for c-compiler flag: -W
-- Performing Test C__W_VALID
-- Performing Test C__W_VALID - Success
-- Checking for c-compiler flag: -Wextra
-- Performing Test C__Wextra_VALID
-- Performing Test C__Wextra_VALID - Success
-- Checking for c-compiler flag: -Wendif-labels
-- Performing Test C__Wendif_labels_VALID
-- Performing Test C__Wendif_labels_VALID - Success
-- Checking for c-compiler flag: -Wpointer-arith
-- Performing Test C__Wpointer_arith_VALID
-- Performing Test C__Wpointer_arith_VALID - Success
-- Checking for c-compiler flag: -Warray-bounds
-- Performing Test C__Warray_bounds_VALID
-- Performing Test C__Warray_bounds_VALID - Success
-- Checking for c-compiler flag: -Wformat-security
-- Performing Test C__Wformat_security_VALID
-- Performing Test C__Wformat_security_VALID - Success
-- Checking for c-compiler flag: -fwrapv
-- Performing Test C__fwrapv_VALID
-- Performing Test C__fwrapv_VALID - Success
-- Checking for c-compiler flag: -fno-strict-overflow
-- Performing Test C__fno_strict_overflow_VALID
-- Performing Test C__fno_strict_overflow_VALID - Failed
-- Checking for c-compiler flag: -fno-delete-null-pointer-checks
-- Performing Test C__fno_delete_null_pointer_checks_VALID
-- Performing Test C__fno_delete_null_pointer_checks_VALID - Failed
-- Checking for c-compiler flag: -fsanitize=undefined
-- Performing Test C__fsanitize_undefined_VALID
-- Performing Test C__fsanitize_undefined_VALID - Failed
-- Checking for c-compiler flag: -Wvla
-- Performing Test C__Wvla_VALID
-- Performing Test C__Wvla_VALID - Success
-- Checking for c-compiler flag: -Waddress
-- Performing Test C__Waddress_VALID
-- Performing Test C__Waddress_VALID - Success
-- Checking for c-compiler flag: -Wattributes
-- Performing Test C__Wattributes_VALID
-- Performing Test C__Wattributes_VALID - Success
-- Checking for c-compiler flag: -Wdiv-by-zero
-- Performing Test C__Wdiv_by_zero_VALID
-- Performing Test C__Wdiv_by_zero_VALID - Success
-- Checking for c-compiler flag: -Wignored-qualifiers
-- Performing Test C__Wignored_qualifiers_VALID
-- Performing Test C__Wignored_qualifiers_VALID - Success
-- Checking for c-compiler flag: -Wpragmas
-- Performing Test C__Wpragmas_VALID
-- Performing Test C__Wpragmas_VALID - Failed
-- Checking for c-compiler flag: -Wno-overlength-strings
-- Performing Test C__Wno_overlength_strings_VALID
-- Performing Test C__Wno_overlength_strings_VALID - Success
-- Checking for c-compiler flag: -Wwrite-strings
-- Performing Test C__Wwrite_strings_VALID
-- Performing Test C__Wwrite_strings_VALID - Success
-- Checking for c-compiler flag: -Wno-long-long
-- Performing Test C__Wno_long_long_VALID
-- Performing Test C__Wno_long_long_VALID - Success
-- Checking for c-compiler flag: -Wheader-guard
-- Performing Test C__Wheader_guard_VALID
-- Performing Test C__Wheader_guard_VALID - Success
-- Checking for c-compiler flag: -Wunused-const-variable
-- Performing Test C__Wunused_const_variable_VALID
-- Performing Test C__Wunused_const_variable_VALID - Success
-- Checking for c-compiler flag: -Wc++-compat
-- Performing Test C__Wc_compat_VALID
-- Performing Test C__Wc_compat_VALID - Success
-- Checking for c-compiler flag: -Wdeclaration-after-statement
-- Performing Test C__Wdeclaration_after_statement_VALID
-- Performing Test C__Wdeclaration_after_statement_VALID - Success
-- Checking for c-compiler flag: -Wshadow
-- Performing Test C__Wshadow_VALID
-- Performing Test C__Wshadow_VALID - Success
-- Checking for c-compiler flag: -Wno-pointer-sign
-- Performing Test C__Wno_pointer_sign_VALID
-- Performing Test C__Wno_pointer_sign_VALID - Success
-- Checking for c-compiler flag: -Wold-style-definition
-- Performing Test C__Wold_style_definition_VALID
-- Performing Test C__Wold_style_definition_VALID - Success
-- Checking for c-compiler flag: -Wstrict-prototypes
-- Performing Test C__Wstrict_prototypes_VALID
-- Performing Test C__Wstrict_prototypes_VALID - Success
-- Checking for c-compiler flag: -Wlogical-op
-- Performing Test C__Wlogical_op_VALID
-- Performing Test C__Wlogical_op_VALID - Failed
-- Checking for c-compiler flag: -Wjump-misses-init
-- Performing Test C__Wjump_misses_init_VALID
-- Performing Test C__Wjump_misses_init_VALID - Failed
-- Checking for c-compiler flag: -Wshorten-64-to-32
-- Performing Test C__Wshorten_64_to_32_VALID
-- Performing Test C__Wshorten_64_to_32_VALID - Success
-- Checking for c++-compiler flag: -Wall
-- Performing Test CPP__Wall_VALID
-- Performing Test CPP__Wall_VALID - Success
-- Checking for c++-compiler flag: -W
-- Performing Test CPP__W_VALID
-- Performing Test CPP__W_VALID - Success
-- Checking for c++-compiler flag: -Wextra
-- Performing Test CPP__Wextra_VALID
-- Performing Test CPP__Wextra_VALID - Success
-- Checking for c++-compiler flag: -Wendif-labels
-- Performing Test CPP__Wendif_labels_VALID
-- Performing Test CPP__Wendif_labels_VALID - Success
-- Checking for c++-compiler flag: -Wpointer-arith
-- Performing Test CPP__Wpointer_arith_VALID
-- Performing Test CPP__Wpointer_arith_VALID - Success
-- Checking for c++-compiler flag: -Warray-bounds
-- Performing Test CPP__Warray_bounds_VALID
-- Performing Test CPP__Warray_bounds_VALID - Success
-- Checking for c++-compiler flag: -Wformat-security
-- Performing Test CPP__Wformat_security_VALID
-- Performing Test CPP__Wformat_security_VALID - Success
-- Checking for c++-compiler flag: -fwrapv
-- Performing Test CPP__fwrapv_VALID
-- Performing Test CPP__fwrapv_VALID - Success
-- Checking for c++-compiler flag: -fno-strict-overflow
-- Performing Test CPP__fno_strict_overflow_VALID
-- Performing Test CPP__fno_strict_overflow_VALID - Success
-- Checking for c++-compiler flag: -fno-delete-null-pointer-checks
-- Performing Test CPP__fno_delete_null_pointer_checks_VALID
-- Performing Test CPP__fno_delete_null_pointer_checks_VALID - Failed
-- Checking for c++-compiler flag: -fsanitize=undefined
-- Performing Test CPP__fsanitize_undefined_VALID
-- Performing Test CPP__fsanitize_undefined_VALID - Failed
-- Checking for c++-compiler flag: -Wvla
-- Performing Test CPP__Wvla_VALID
-- Performing Test CPP__Wvla_VALID - Success
-- Checking for c++-compiler flag: -Waddress
-- Performing Test CPP__Waddress_VALID
-- Performing Test CPP__Waddress_VALID - Success
-- Checking for c++-compiler flag: -Wattributes
-- Performing Test CPP__Wattributes_VALID
-- Performing Test CPP__Wattributes_VALID - Success
-- Checking for c++-compiler flag: -Wdiv-by-zero
-- Performing Test CPP__Wdiv_by_zero_VALID
-- Performing Test CPP__Wdiv_by_zero_VALID - Success
-- Checking for c++-compiler flag: -Wignored-qualifiers
-- Performing Test CPP__Wignored_qualifiers_VALID
-- Performing Test CPP__Wignored_qualifiers_VALID - Success
-- Checking for c++-compiler flag: -Wpragmas
-- Performing Test CPP__Wpragmas_VALID
-- Performing Test CPP__Wpragmas_VALID - Failed
-- Checking for c++-compiler flag: -Wno-overlength-strings
-- Performing Test CPP__Wno_overlength_strings_VALID
-- Performing Test CPP__Wno_overlength_strings_VALID - Success
-- Checking for c++-compiler flag: -Wwrite-strings
-- Performing Test CPP__Wwrite_strings_VALID
-- Performing Test CPP__Wwrite_strings_VALID - Success
-- Checking for c++-compiler flag: -Wno-long-long
-- Performing Test CPP__Wno_long_long_VALID
-- Performing Test CPP__Wno_long_long_VALID - Success
-- Checking for c++-compiler flag: -Wheader-guard
-- Performing Test CPP__Wheader_guard_VALID
-- Performing Test CPP__Wheader_guard_VALID - Success
-- Checking for c++-compiler flag: -Wunused-const-variable
-- Performing Test CPP__Wunused_const_variable_VALID
-- Performing Test CPP__Wunused_const_variable_VALID - Success
-- Checking for c++-compiler flag: -Qunused-arguments
-- Performing Test CPP__Qunused_arguments_VALID
-- Performing Test CPP__Qunused_arguments_VALID - Success
-- Performing Test FVHIDDEN
-- Performing Test FVHIDDEN - Success
statuscheck linker flag - test linker flags: -Wl,--as-needed
-- Performing Test WS_LD_FLAG_VALID0
-- Performing Test WS_LD_FLAG_VALID0 - Failed
-- Packagelist: CAP;CARES;GCRYPT;GEOIP;GLIB2;GMODULE2;GNUTLS;GTHREAD2;GTK3;Gettext;HtmlViewer;KERBEROS;LEX;LUA;M;PCAP;POD;PORTAUDIO;Perl;PythonInterp;Qt5Core;Qt5LinguistTools;Qt5MacExtras;Qt5MultimediaWidgets;Qt5PrintSupport;Qt5Widgets;SBC;SED;SETCAP;SH;SMI;YACC;YAPP;ZLIB
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28") 
-- checking for one of the modules 'libcap'
-- Could NOT find CAP (missing:  CAP_LIBRARY CAP_INCLUDE_DIR) 
CAP NOT FOUND
-- Found CARES: /usr/local/lib/libcares.dylib  
CARES FOUND
-- CARES includes: /usr/local/include
-- CARES libs: /usr/local/lib/libcares.dylib
-- Found GCRYPT: /usr/local/lib/libgcrypt.dylib  
GCRYPT FOUND
-- GCRYPT includes: /usr/local/include
-- GCRYPT libs: /usr/local/lib/libgcrypt.dylib;/usr/local/lib/libgpg-error.dylib
-- checking for one of the modules 'geoip'
-- Found GEOIP: /usr/local/lib/libGeoIP.dylib  
-- Looking for GeoIP_country_name_by_ipnum_v6
-- Looking for GeoIP_country_name_by_ipnum_v6 - found
GEOIP FOUND
-- GEOIP includes: /usr/local/include
-- GEOIP libs: /usr/local/lib/libGeoIP.dylib
-- checking for one of the modules 'glib-2.0>=2.14.0'
-- Found GLIB2: /usr/local/lib/libglib-2.0.dylib  
GLIB2 FOUND
-- GLIB2 includes: /usr/local/include/glib-2.0;/usr/local/lib/glib-2.0/include
-- GLIB2 libs: /usr/local/lib/libglib-2.0.dylib
-- checking for one of the modules 'gmodule-2.0'
GMODULE2 FOUND
-- GMODULE2 includes: /usr/local/include/glib-2.0;/usr/local/lib/glib-2.0/include
-- GMODULE2 libs: gmodule-2.0;glib-2.0;intl
-- checking for one of the modules 'gnutls'
-- Found GNUTLS: /usr/local/lib/libgnutls.dylib  
GNUTLS FOUND
-- GNUTLS includes: /usr/local/include
-- GNUTLS libs: /usr/local/lib/libgnutls.dylib
-- checking for one of the modules 'gthread-2.0'
GTHREAD2 FOUND
-- GTHREAD2 includes: /usr/local/include/glib-2.0;/usr/local/lib/glib-2.0/include
-- GTHREAD2 libs: gthread-2.0;glib-2.0;intl
-- Could NOT find GTK3 (missing:  GTK3_LIBRARY GTK3_INCLUDE_DIR) 
GTK3 NOT FOUND
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.18.2") 
GETTEXT FOUND
-- Gettext includes: 
-- Gettext libs: 
-- Found HtmlViewer: /usr/bin/open  
HTML_VIEWER NOT FOUND
-- checking for one of the modules 'krb5'
-- Found KERBEROS: /usr/lib/libkrb5.dylib  
KERBEROS FOUND
-- KERBEROS includes: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Kerberos.framework/Headers
-- KERBEROS libs: /usr/lib/libkrb5.dylib
-- Found LEX: /usr/bin/flex  
LEX FOUND
-- LEX includes: 
-- LEX libs: 
-- LEX executable: /usr/bin/flex
-- checking for one of the modules 'lua'
LUA INCLUDE SUFFIX: 
-- Found LUA: /usr/local/lib/liblua.a  
LUA INCLUDEs version: 502
LUA FOUND
-- LUA includes: /usr/local/include
-- LUA libs: /usr/local/lib/liblua.a
-- Found M: /usr/lib/libm.dylib  
M FOUND
-- M includes: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
-- M libs: /usr/lib/libm.dylib
-- Found PCAP: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include  
-- Looking for pcap_open_dead
-- Looking for pcap_open_dead - found
-- Looking for pcap_freecode
-- Looking for pcap_freecode - found
-- Looking for pcap_breakloop
-- Looking for pcap_breakloop - found
-- Looking for pcap_create
-- Looking for pcap_create - found
-- Looking for pcap_datalink_name_to_val
-- Looking for pcap_datalink_name_to_val - found
-- Looking for pcap_datalink_val_to_description
-- Looking for pcap_datalink_val_to_description - found
-- Looking for pcap_datalink_val_to_name
-- Looking for pcap_datalink_val_to_name - found
-- Looking for pcap_findalldevs
-- Looking for pcap_findalldevs - found
-- Looking for pcap_free_datalinks
-- Looking for pcap_free_datalinks - found
-- Looking for pcap_get_selectable_fd
-- Looking for pcap_get_selectable_fd - found
-- Looking for pcap_lib_version
-- Looking for pcap_lib_version - found
-- Looking for pcap_list_datalinks
-- Looking for pcap_list_datalinks - found
-- Looking for pcap_set_datalink
-- Looking for pcap_set_datalink - found
-- Looking for bpf_image
-- Looking for bpf_image - found
-- Looking for pcap_setsampling
-- Looking for pcap_setsampling - not found
-- Looking for pcap_set_tstamp_precision
-- Looking for pcap_set_tstamp_precision - found
-- Looking for pcap_open
-- Looking for pcap_open - not found
PCAP FOUND
-- PCAP includes: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
-- PCAP libs: /usr/lib/libpcap.dylib
-- Found POD: /usr/bin/pod2man  
POD FOUND
-- POD includes: 
-- POD libs: 
-- checking for one of the modules 'portaudio-2.0'
-- Found PORTAUDIO: /usr/local/lib/libportaudio.dylib  
-- Looking for Pa_GetVersion
-- Looking for Pa_GetVersion - found
PORTAUDIO FOUND
-- PORTAUDIO includes: /usr/local/include
-- PORTAUDIO libs: /usr/local/lib/libportaudio.dylib
-- Found Perl: /usr/bin/perl (found version "5.18.2") 
PERL FOUND
-- Perl includes: 
-- Perl libs: 
-- Perl executable: /usr/bin/perl
-- Found PythonInterp: /usr/bin/python (found suitable version "2.7.6", minimum required is "2") 
PYTHONINTERP FOUND
-- PythonInterp includes: 
-- PythonInterp libs: 
CMake Warning at CMakeLists.txt:669 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.


Qt5Core NOT FOUND
CMake Warning at CMakeLists.txt:669 (find_package):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


Qt5LinguistTools NOT FOUND
CMake Warning at CMakeLists.txt:669 (find_package):
  By not providing "FindQt5MacExtras.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5MacExtras", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5MacExtras" with
  any of the following names:

    Qt5MacExtrasConfig.cmake
    qt5macextras-config.cmake

  Add the installation prefix of "Qt5MacExtras" to CMAKE_PREFIX_PATH or set
  "Qt5MacExtras_DIR" to a directory containing one of the above files.  If
  "Qt5MacExtras" provides a separate development package or SDK, be sure it
  has been installed.


Qt5MacExtras NOT FOUND
CMake Warning at CMakeLists.txt:669 (find_package):
  By not providing "FindQt5MultimediaWidgets.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5MultimediaWidgets", but CMake did not find one.

  Could not find a package configuration file provided by
  "Qt5MultimediaWidgets" with any of the following names:

    Qt5MultimediaWidgetsConfig.cmake
    qt5multimediawidgets-config.cmake

  Add the installation prefix of "Qt5MultimediaWidgets" to CMAKE_PREFIX_PATH
  or set "Qt5MultimediaWidgets_DIR" to a directory containing one of the
  above files.  If "Qt5MultimediaWidgets" provides a separate development
  package or SDK, be sure it has been installed.


Qt5MultimediaWidgets NOT FOUND
CMake Warning at CMakeLists.txt:669 (find_package):
  By not providing "FindQt5PrintSupport.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5PrintSupport", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5PrintSupport"
  with any of the following names:

    Qt5PrintSupportConfig.cmake
    qt5printsupport-config.cmake

  Add the installation prefix of "Qt5PrintSupport" to CMAKE_PREFIX_PATH or
  set "Qt5PrintSupport_DIR" to a directory containing one of the above files.
  If "Qt5PrintSupport" provides a separate development package or SDK, be
  sure it has been installed.


Qt5PrintSupport NOT FOUND
CMake Warning at CMakeLists.txt:669 (find_package):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

  Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
  "Qt5Widgets_DIR" to a directory containing one of the above files.  If
  "Qt5Widgets" provides a separate development package or SDK, be sure it has
  been installed.


Qt5Widgets NOT FOUND
-- Could NOT find SBC (missing:  SBC_INCLUDE_DIR SBC_LIBRARY) 
SBC NOT FOUND
-- Found SED: /usr/bin/sed  
SED FOUND
-- SED includes: 
-- SED libs: 
-- SED executable: /usr/bin/sed
-- Could NOT find SETCAP (missing:  SETCAP_EXECUTABLE) 
SETCAP NOT FOUND
-- Found SH: /bin/bash  
SH FOUND
-- SH includes: 
-- SH libs: 
-- SH executable: /bin/bash
-- Found SMI: /usr/local/lib/libsmi.dylib  
SMI FOUND
-- SMI includes: /usr/local/include
-- SMI libs: /usr/local/lib/libsmi.dylib
-- Found YACC: /usr/bin/bison  
YACC FOUND
-- YACC includes: 
-- YACC libs: 
-- YACC executable: /usr/bin/bison
-- Could NOT find YAPP (missing:  YAPP_EXECUTABLE) 
YAPP NOT FOUND
-- checking for one of the modules 'zlib'
-- Looking for inflatePrime
-- Looking for inflatePrime - found
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
ZLIB FOUND
-- ZLIB includes: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include
-- ZLIB libs: /usr/lib/libz.dylib
-- C-Flags:  -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32  -fvisibility=hidden
-- CXX-Flags:  -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Qunused-arguments 
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for arpa/nameser.h
-- Looking for arpa/nameser.h - found
-- Looking for direct.h
-- Looking for direct.h - not found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for grp.h
-- Looking for grp.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for netdb.h
-- Looking for netdb.h - found
-- Looking for portaudio.h
-- Looking for portaudio.h - found
-- Looking for pwd.h
-- Looking for pwd.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/sockio.h
-- Looking for sys/sockio.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/utsname.h
-- Looking for sys/utsname.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for winsock2.h
-- Looking for winsock2.h - not found
-- Looking for chown
-- Looking for chown - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for floorl
-- Looking for floorl - found
-- Looking for gethostbyname2
-- Looking for gethostbyname2 - found
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for optreset
-- Looking for optreset - found
-- Looking for getprotobynumber
-- Looking for getprotobynumber - found
-- Looking for inet_aton
-- Looking for inet_aton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for issetugid
-- Looking for issetugid - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for mprotect
-- Looking for mprotect - found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for popcount
-- Looking for popcount - not found
-- Looking for setresgid
-- Looking for setresgid - not found
-- Looking for setresuid
-- Looking for setresuid - not found
-- Looking for strptime
-- Looking for strptime - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for CFPropertyListCreateWithStream
-- Looking for CFPropertyListCreateWithStream - found
-- Performing Test HAVE_SA_LEN
-- Performing Test HAVE_SA_LEN - Success
-- Performing Test HAVE_ST_FLAGS
-- Performing Test HAVE_ST_FLAGS - Success
-- Performing Test HAVE_TM_ZONE
-- Performing Test HAVE_TM_ZONE - Success
-- Looking for tzname
-- Looking for tzname - found
-- Performing Test HAVE_GLIB_PRINTF_GROUPING
-- Performing Test HAVE_GLIB_PRINTF_GROUPING - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found python module asn2wrs: /Users/andersbroman/wireshark/tools/asn2wrs.py
-- Found LYNX: /usr/bin/true  
-- html2text: true
-- Found XSLTPROC: /usr/bin/xsltproc  
-- Found XMLLINT: /usr/bin/xmllint  
-- Could NOT find ASCIIDOC (missing:  RUNA2X) 
-- No custom file found in /Users/andersbroman/wireshark/epan
-- Found python module make-dissector-reg: /Users/andersbroman/wireshark/tools/make-dissector-reg.py
-- Checking for c-compiler flag: -msse4.2
-- Performing Test HAVE_SSE4_2
-- Performing Test HAVE_SSE4_2 - Success
-- Looking for nmmintrin.h
-- Looking for nmmintrin.h - found
-- docdir: 
-- Checking for 64-bit off_t
-- Checking for 64-bit off_t - present
-- Checking for fseeko/ftello
-- Checking for fseeko/ftello - present
-- 
-- The following OPTIONAL packages have been found:

 * CARES
 * GCRYPT
 * GEOIP
 * GMODULE2
 * GNUTLS
 * Gettext
 * HtmlViewer
 * KERBEROS
 * LUA
 * PCAP
 * POD
 * PORTAUDIO
 * Perl
 * SED
 * SH
 * SMI
 * PkgConfig
 * ZLIB
 * LYNX
 * XSLTPROC
 * XMLLINT
 * PythonInterp

-- The following REQUIRED packages have been found:

 * GLIB2
 * GTHREAD2
 * LEX
 * M
 * YACC

-- The following OPTIONAL packages have not been found:

 * CAP
 * GTK3
 * Qt5Core
 * Qt5LinguistTools
 * Qt5MacExtras
 * Qt5MultimediaWidgets
 * Qt5PrintSupport
 * Qt5Widgets
 * SBC , SBC Codec for Bluetooth A2DP stream playing , <www: http://git.kernel.org/cgit/bluetooth/sbc.git>
 * SETCAP
 * YAPP
 * ASCIIDOC

-- Configuring done
-- Generating done

On 22 Jan 2015, at 12:04, Guy Harris <guy@xxxxxxxxxxxx> wrote:


On Jan 22, 2015, at 1:08 AM, Anders Broman <a.broman58@xxxxxxxxx> wrote:

Hi,
I reran the script and now it fails...
:
Making install in .
./install-sh -c -d '/usr/local/bin'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c pkg-config '/usr/local/bin'
libtool: install: /usr/bin/install -c pkg-config /usr/local/bin/pkg-config
/Applications/Xcode.app/Contents/Developer/usr/bin/make  install-exec-hook
cd /usr/local/bin && ln pkg-config x86_64-apple-darwin13.4.0-pkg-config
ln: x86_64-apple-darwin13.4.0-pkg-config: File exists

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8855

Not a new problem.  I don't know why /usr/local/bin/pkg-config is there, if pkg-config hasn't been installed, or why it's trying to install it if it *is* installed, but try removing /usr/local/bin/pkg-config and then re-running the script.

Then, if the script completes successfully, try running it again to make sure it doesn't try installing pkg-config again.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe