THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

Unable to generate Xcode project file

I was able to compile wireshark 4.0.1 on Mac M1 running Mac OS 12.6.

Then I tried to run cmake to generate Xcode project file and it failed with this error message.


cmake -G Xcode ../
-- Generating build using CMake 3.21.4
-- Using "Xcode" generator (multi-config)
-- LTO/IPO is not enabled
-- V: 4.0.1, MaV: 4, MiV: 0, PL: 1, EV: .
-- Linker flags: 
-- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6")
-- Checking for one of the modules 'libpcap'
-- Could NOT find Sparkle: Found unsuitable version "1", but required is at least "2" (found SPARKLE_INCLUDE_DIR-NOTFOUND)
-- Could NOT find MaxMindDB (missing: MAXMINDDB_LIBRARY MAXMINDDB_INCLUDE_DIR) 
-- Could NOT find SMI (missing: SMI_LIBRARY SMI_INCLUDE_DIR) 
-- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5'
-- Could NOT find Minizip (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR) (found version "")
-- Could NOT find BROTLI (missing: BROTLIDEC_LIBRARY BROTLI_INCLUDE_DIR) 
-- Checking for one of the modules 'lz4;liblz4'
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR) 
-- Could NOT find SNAPPY (missing: SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) 
-- Checking for one of the modules 'libzstd'
-- Could NOT find ZSTD: Found unsuitable version "", but required is at least "1.0.0" (found ZSTD_LIBRARY-NOTFOUND)
-- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51'
-- Checking for one of the modules 'lua<=5.2.99'
-- Could NOT find LUA (missing: LUA_VERSION_NUM) (Required is at least version "5.1")
-- Could NOT find SBC (missing: SBC_LIBRARY SBC_INCLUDE_DIR) 
-- Checking for one of the modules 'spandsp'
-- Could NOT find SPANDSP (missing: SPANDSP_LIBRARY SPANDSP_INCLUDE_DIR) 
-- Could NOT find BCG729 (missing: BCG729_LIBRARY BCG729_INCLUDE_DIR) 
-- Checking for one of the modules 'libilbc'
-- Could NOT find ILBC (missing: ILBC_LIBRARY ILBC_INCLUDE_DIR) 
-- Checking for one of the modules 'opus'
-- Could NOT find OPUS (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR) 
-- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "")
-- Building for Mac OS X/OS X/macOS 10.13 using SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
-- SSE4.2 compiler flag: -msse4.2
-- C-Flags: -fvisibility=hidden  -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Wno-pointer-sign  -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= 
-- CXX-Flags:  -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wextra-semi  -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= 
-- Warnings as errors disabled
-- The following OPTIONAL packages have been found:

 * Git
 * GMODULE2
 * Perl
 * Gettext
 * PCAP
 * Qt5Network (required version >= 5.15.6)
 * Qt5Multimedia
 * GNUTLS (required version >= 3.5.8)
 * KERBEROS
 * ZLIB
 * NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, 
   Header decompression in HTTP2
 * LibXml2
 * Asciidoctor (required version >= 1.5)
 * XSLTPROC

-- The following REQUIRED packages have been found:

 * GLIB2 (required version >= 2.50.0)
 * GTHREAD2
 * GCRYPT (required version >= 1.8.0)
 * CARES (required version >= 1.13.0), Library for asynchronous DNS requests, 
   DNS name resolution for captures
 * LEX
 * PCRE2, Regular expression pattern matching using the same syntax and semantics as Perl 5, 
   Support for regular expressions
 * Python3 (required version >= 3.6)
 * M
 * Qt5Core
 * Qt5Gui
 * Qt5LinguistTools
 * Qt5PrintSupport
 * Qt5Widgets
 * Qt5Concurrent

-- The following OPTIONAL packages have not been found:

 * LIBSSH (required version >= 0.6), Library for implementing SSH clients, 
   extcap remote SSH interfaces (sshdump, ciscodump, wifidump)
 * Sparkle (required version >= 2)
 * MaxMindDB, C library for the MaxMind DB file format, 
   Support for GeoIP lookup
 * SMI, Library to access SMI management information, 
   Support MIB and PIB parsing and OID resolution
 * Minizip, Mini zip and unzip based on zlib, 
   Support for profiles import/export
 * BROTLI
 * LZ4, LZ4 is a fast lossless compression algorithm, 
   LZ4 decompression in CQL and Kafka dissectors, read compressed capture files
 * SNAPPY, A fast compressor/decompressor from Google, 
   Snappy decompression in CQL and Kafka dissectors
 * ZSTD (required version >= 1.0.0), A compressor/decompressor from Facebook providing better compression than Snappy at a cost of speed, 
   Zstd decompression in Kafka dissector, read compressed capture files
 * LUA (required version >= 5.1)
 * SBC, Bluetooth low-complexity, subband codec (SBC) decoder, 
   Support for playing SBC codec in RTP player
 * SPANDSP, a library of many DSP functions for telephony, 
   Support for G.722 and G.726 codecs in RTP player
 * BCG729, G.729 decoder, 
   Support for G.729 codec in RTP player
 * ILBC, iLBC decoder, 
   Support for iLBC codec in RTP player
 * OPUS, opus decoder, 
   Support for opus codec in RTP player
 * DOXYGEN
 * SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, 
   RTP audio resampling

-- Configuring done
-- Generating done
CMake Error in doc/CMakeLists.txt:
  The custom command generating

    /Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/doc/wireshark.1

  is attached to multiple targets:

    docs
    manpages

  but none of these is a common dependency of the other(s).  This is not
  allowed by the Xcode "new build system".

Unable to generate Xcode project file

I was able to compile wireshark 4.0.1 on Mac M1 running Mac OS 12.6.

Then I tried to run cmake to generate Xcode project file and it failed with this error message.


cmake -G Xcode ../
-- Generating build using CMake 3.21.4
-- Using "Xcode" generator (multi-config)
-- LTO/IPO is not enabled
-- V: 4.0.1, MaV: 4, MiV: 0, PL: 1, EV: .
-- Linker flags: 
-- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6")
-- Checking for one of the modules 'libpcap'
-- Could NOT find Sparkle: Found unsuitable version "1", but required is at least "2" (found SPARKLE_INCLUDE_DIR-NOTFOUND)
-- Could NOT find MaxMindDB (missing: MAXMINDDB_LIBRARY MAXMINDDB_INCLUDE_DIR) 
-- Could NOT find SMI (missing: SMI_LIBRARY SMI_INCLUDE_DIR) 
-- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5'
-- Could NOT find Minizip (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR) (found version "")
-- Could NOT find BROTLI (missing: BROTLIDEC_LIBRARY BROTLI_INCLUDE_DIR) 
-- Checking for one of the modules 'lz4;liblz4'
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR) 
-- Could NOT find SNAPPY (missing: SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) 
-- Checking for one of the modules 'libzstd'
-- Could NOT find ZSTD: Found unsuitable version "", but required is at least "1.0.0" (found ZSTD_LIBRARY-NOTFOUND)
-- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51'
-- Checking for one of the modules 'lua<=5.2.99'
-- Could NOT find LUA (missing: LUA_VERSION_NUM) (Required is at least version "5.1")
-- Could NOT find SBC (missing: SBC_LIBRARY SBC_INCLUDE_DIR) 
-- Checking for one of the modules 'spandsp'
-- Could NOT find SPANDSP (missing: SPANDSP_LIBRARY SPANDSP_INCLUDE_DIR) 
-- Could NOT find BCG729 (missing: BCG729_LIBRARY BCG729_INCLUDE_DIR) 
-- Checking for one of the modules 'libilbc'
-- Could NOT find ILBC (missing: ILBC_LIBRARY ILBC_INCLUDE_DIR) 
-- Checking for one of the modules 'opus'
-- Could NOT find OPUS (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR) 
-- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "")
-- Building for Mac OS X/OS X/macOS 10.13 using SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
-- SSE4.2 compiler flag: -msse4.2
-- C-Flags: -fvisibility=hidden  -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Wno-pointer-sign  -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= 
-- CXX-Flags:  -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wextra-semi  -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= 
-- Warnings as errors disabled
-- The following OPTIONAL packages have been found:

 * Git
 * GMODULE2
 * Perl
 * Gettext
 * PCAP
 * Qt5Network (required version >= 5.15.6)
 * Qt5Multimedia
 * GNUTLS (required version >= 3.5.8)
 * KERBEROS
 * ZLIB
 * NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, 
   Header decompression in HTTP2
 * LibXml2
 * Asciidoctor (required version >= 1.5)
 * XSLTPROC

-- The following REQUIRED packages have been found:

 * GLIB2 (required version >= 2.50.0)
 * GTHREAD2
 * GCRYPT (required version >= 1.8.0)
 * CARES (required version >= 1.13.0), Library for asynchronous DNS requests, 
   DNS name resolution for captures
 * LEX
 * PCRE2, Regular expression pattern matching using the same syntax and semantics as Perl 5, 
   Support for regular expressions
 * Python3 (required version >= 3.6)
 * M
 * Qt5Core
 * Qt5Gui
 * Qt5LinguistTools
 * Qt5PrintSupport
 * Qt5Widgets
 * Qt5Concurrent

-- The following OPTIONAL packages have not been found:

 * LIBSSH (required version >= 0.6), Library for implementing SSH clients, 
   extcap remote SSH interfaces (sshdump, ciscodump, wifidump)
 * Sparkle (required version >= 2)
 * MaxMindDB, C library for the MaxMind DB file format, 
   Support for GeoIP lookup
 * SMI, Library to access SMI management information, 
   Support MIB and PIB parsing and OID resolution
 * Minizip, Mini zip and unzip based on zlib, 
   Support for profiles import/export
 * BROTLI
 * LZ4, LZ4 is a fast lossless compression algorithm, 
   LZ4 decompression in CQL and Kafka dissectors, read compressed capture files
 * SNAPPY, A fast compressor/decompressor from Google, 
   Snappy decompression in CQL and Kafka dissectors
 * ZSTD (required version >= 1.0.0), A compressor/decompressor from Facebook providing better compression than Snappy at a cost of speed, 
   Zstd decompression in Kafka dissector, read compressed capture files
 * LUA (required version >= 5.1)
 * SBC, Bluetooth low-complexity, subband codec (SBC) decoder, 
   Support for playing SBC codec in RTP player
 * SPANDSP, a library of many DSP functions for telephony, 
   Support for G.722 and G.726 codecs in RTP player
 * BCG729, G.729 decoder, 
   Support for G.729 codec in RTP player
 * ILBC, iLBC decoder, 
   Support for iLBC codec in RTP player
 * OPUS, opus decoder, 
   Support for opus codec in RTP player
 * DOXYGEN
 * SpeexDSP, SpeexDSP is a patent-free, Open Source/Free Software DSP library, 
   RTP audio resampling

-- Configuring done
-- Generating done

CMake Error in doc/CMakeLists.txt: The custom command generating generating

/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/doc/wireshark.1
 

is attached to multiple targets: targets:

docs
 manpages
 

but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system". system".

Unable to generate Xcode project file

I was able to compile wireshark 4.0.1 on Mac M1 running Mac OS 12.6.

Then I tried to run cmake to generate Xcode project file and it failed with this error message.


cmake -G Xcode ../ -- Generating build using CMake 3.21.4 -- Using "Xcode" generator (multi-config) -- LTO/IPO is not enabled -- V: 4.0.1, MaV: 4, MiV: 0, PL: 1, EV: . -- Linker flags: -- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6") -- Checking for one of the modules 'libpcap' -- Could NOT find Sparkle: Found unsuitable version "1", but required is at least "2" (found SPARKLE_INCLUDE_DIR-NOTFOUND) -- Could NOT find MaxMindDB (missing: MAXMINDDB_LIBRARY MAXMINDDB_INCLUDE_DIR) -- Could NOT find SMI (missing: SMI_LIBRARY SMI_INCLUDE_DIR) -- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5' -- Could NOT find Minizip (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR) (found version "") -- Could NOT find BROTLI (missing: BROTLIDEC_LIBRARY BROTLI_INCLUDE_DIR) -- Checking for one of the modules 'lz4;liblz4' -- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR) -- Could NOT find SNAPPY (missing: SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) -- Checking for one of the modules 'libzstd' -- Could NOT find ZSTD: Found unsuitable version "", but required is at least "1.0.0" (found ZSTD_LIBRARY-NOTFOUND) -- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51' -- Checking for one of the modules 'lua<=5.2.99' -- Could NOT find LUA (missing: LUA_VERSION_NUM) (Required is at least version "5.1") -- Could NOT find SBC (missing: SBC_LIBRARY SBC_INCLUDE_DIR) -- Checking for one of the modules 'spandsp' -- Could NOT find SPANDSP (missing: SPANDSP_LIBRARY SPANDSP_INCLUDE_DIR) -- Could NOT find BCG729 (missing: BCG729_LIBRARY BCG729_INCLUDE_DIR) -- Checking for one of the modules 'libilbc' -- Could NOT find ILBC (missing: ILBC_LIBRARY ILBC_INCLUDE_DIR) -- Checking for one of the modules 'opus' -- Could NOT find OPUS (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR) -- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) -- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "") -- Building for Mac OS X/OS X/macOS 10.13 using SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -- SSE4.2 compiler flag: -msse4.2 -- C-Flags: -fvisibility=hidden -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Wno-pointer-sign -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= -- CXX-Flags: -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wextra-semi -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= -- Warnings as errors disabled -- The following OPTIONAL packages have been found: * Git * GMODULE2 * Perl * Gettext * PCAP * found:

  • Git
  • GMODULE2
  • Perl
  • Gettext
  • PCAP
  • Qt5Network (required version >= 5.15.6) * Qt5Multimedia * 5.15.6)
  • Qt5Multimedia
  • GNUTLS (required version >= 3.5.8) * KERBEROS * ZLIB * 3.5.8)
  • KERBEROS
  • ZLIB
  • NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, https://nghttp2.org Header decompression in HTTP2 * LibXml2 * HTTP2
  • LibXml2
  • Asciidoctor (required version >= 1.5) * XSLTPROC 1.5)
  • XSLTPROC

-- The following REQUIRED packages have been found: * found:

  • GLIB2 (required version >= 2.50.0) * GTHREAD2 * 2.50.0)
  • GTHREAD2
  • GCRYPT (required version >= 1.8.0) * 1.8.0)
  • CARES (required version >= 1.13.0), Library for asynchronous DNS requests, https://c-ares.org/ DNS name resolution for captures * LEX * captures
  • LEX
  • PCRE2, Regular expression pattern matching using the same syntax and semantics as Perl 5, https://www.pcre.org Support for regular expressions * expressions
  • Python3 (required version >= 3.6) * M * Qt5Core * Qt5Gui * Qt5LinguistTools * Qt5PrintSupport * Qt5Widgets * Qt5Concurrent 3.6)
  • M
  • Qt5Core
  • Qt5Gui
  • Qt5LinguistTools
  • Qt5PrintSupport
  • Qt5Widgets
  • Qt5Concurrent

-- The following OPTIONAL packages have not been found: * found:

-- Configuring done -- Generating done

CMake Error in doc/CMakeLists.txt: The custom command generating

/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/doc/wireshark.1

is attached to multiple targets:

docs
manpages

but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system".

Unable to generate Xcode project file

I was able to compile wireshark 4.0.1 on Mac M1 running Mac OS 12.6.

Then I tried to run cmake to generate Xcode project file and it failed with this error message.

"cmake -G Xcode ../"


cmake -G Xcode ../ -- Generating build using CMake 3.21.4 -- Using "Xcode" generator (multi-config) -- LTO/IPO is not enabled -- V: 4.0.1, MaV: 4, MiV: 0, PL: 1, EV: . -- Linker flags: -- Could NOT find LIBSSH (missing: LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIRS LIBSSH_VERSION) (Required is at least version "0.6") -- Checking for one of the modules 'libpcap' -- Could NOT find Sparkle: Found unsuitable version "1", but required is at least "2" (found SPARKLE_INCLUDE_DIR-NOTFOUND) -- Could NOT find MaxMindDB (missing: MAXMINDDB_LIBRARY MAXMINDDB_INCLUDE_DIR) -- Could NOT find SMI (missing: SMI_LIBRARY SMI_INCLUDE_DIR) -- Checking for one of the modules 'krb5;mit-krb5;heimdal-krb5' -- Could NOT find Minizip (missing: MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR) (found version "") -- Could NOT find BROTLI (missing: BROTLIDEC_LIBRARY BROTLI_INCLUDE_DIR) -- Checking for one of the modules 'lz4;liblz4' -- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR) -- Could NOT find SNAPPY (missing: SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) -- Checking for one of the modules 'libzstd' -- Could NOT find ZSTD: Found unsuitable version "", but required is at least "1.0.0" (found ZSTD_LIBRARY-NOTFOUND) -- Checking for one of the modules 'lua5.2;lua-5.2;lua52;lua5.1;lua-5.1;lua51' -- Checking for one of the modules 'lua<=5.2.99' -- Could NOT find LUA (missing: LUA_VERSION_NUM) (Required is at least version "5.1") -- Could NOT find SBC (missing: SBC_LIBRARY SBC_INCLUDE_DIR) -- Checking for one of the modules 'spandsp' -- Could NOT find SPANDSP (missing: SPANDSP_LIBRARY SPANDSP_INCLUDE_DIR) -- Could NOT find BCG729 (missing: BCG729_LIBRARY BCG729_INCLUDE_DIR) -- Checking for one of the modules 'libilbc' -- Could NOT find ILBC (missing: ILBC_LIBRARY ILBC_INCLUDE_DIR) -- Checking for one of the modules 'opus' -- Could NOT find OPUS (missing: OPUS_LIBRARY OPUS_INCLUDE_DIR) -- Could NOT find DOXYGEN (missing: DOXYGEN_EXECUTABLE) -- Could NOT find SpeexDSP (missing: SPEEXDSP_LIBRARY SPEEXDSP_INCLUDE_DIR) (found version "") -- Building for Mac OS X/OS X/macOS 10.13 using SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -- SSE4.2 compiler flag: -msse4.2 -- C-Flags: -fvisibility=hidden -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Wno-pointer-sign -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= -- CXX-Flags: -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larger-than=32768 -Wextra-semi -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/= -fmacro-prefix-map=/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/= -fmacro-prefix-map=../= -- Warnings as errors disabled -- The following OPTIONAL packages have been found:

  • Git
  • GMODULE2
  • Perl
  • Gettext
  • PCAP
  • Qt5Network (required version >= 5.15.6)
  • Qt5Multimedia
  • GNUTLS (required version >= 3.5.8)
  • KERBEROS
  • ZLIB
  • NGHTTP2 (required version >= 1.11.0), HTTP/2 C library and tools, https://nghttp2.org Header decompression in HTTP2
  • LibXml2
  • Asciidoctor (required version >= 1.5)
  • XSLTPROC

-- The following REQUIRED packages have been found:

  • GLIB2 (required version >= 2.50.0)
  • GTHREAD2
  • GCRYPT (required version >= 1.8.0)
  • CARES (required version >= 1.13.0), Library for asynchronous DNS requests, https://c-ares.org/ DNS name resolution for captures
  • LEX
  • PCRE2, Regular expression pattern matching using the same syntax and semantics as Perl 5, https://www.pcre.org Support for regular expressions
  • Python3 (required version >= 3.6)
  • M
  • Qt5Core
  • Qt5Gui
  • Qt5LinguistTools
  • Qt5PrintSupport
  • Qt5Widgets
  • Qt5Concurrent

-- The following OPTIONAL packages have not been found:

-- Configuring done -- Generating done CMake Error in doc/CMakeLists.txt: The custom command generating

/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/doc/wireshark.1

is attached to multiple targets:

docs
manpages

but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system".

Unable to generate Xcode project file

I was able to compile wireshark 4.0.1 on Mac M1 running Mac OS 12.6.

Then I tried to run cmake to generate Xcode project file and it failed with this error message.

"cmake -G Xcode ../"


-- Generating done CMake Error in doc/CMakeLists.txt: The custom command generating

/Users/AnawatChankhunthod/Lucid/LucidDepot/wireshark/XBuild/doc/wireshark.1

is attached to multiple targets:

docs
manpages

but none of these is a common dependency of the other(s). This is not allowed by the Xcode "new build system".