Wireshark-dev: Re: [Wireshark-dev] CMake Error [CMAKE_MAKE_PROGRAM is not set] while building w
From: Abhisek Techie <abhisek.study2016@xxxxxxxxx>
Date: Thu, 18 Apr 2019 11:07:31 -0400
Thanks a lot for the suggestions . I tried installing ninja it solved the previous error but I got stuck with some other piece of binary . Finally , running
debian-setup.sh [present under wireshark source folder/tool] installed all prerequisites and I could successfully build the project from source .
Regards,
Abhisek
On Thu, Apr 18, 2019 at 7:58 AM Dario Lombardo <lomato@xxxxxxxxx> wrote:
There is a complimentary script under tools, that does that dirty job. It's debian-setup.sh and supports Ubuntu.On Thu, Apr 18, 2019 at 1:16 PM Abhisek Techie <abhisek.study2016@xxxxxxxxx> wrote:___________________________________________________________________________Hi ,I am trying to build wireshark from source in Ubuntu 18.04.2 LTS and getting Cmake error . I am following the instructions from the link https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcBuildFirstTime.html#_building_on_unix1.Error details -I am getting the below error when I am issuing cmake commanduws@ubuntu:~/wireshark-ninja$ cmake -G Ninja ../wiresharkCMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.CMake Error: CMAKE_C_COMPILER not set, after EnableLanguageCMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage-- Configuring incomplete, errors occurred!See also "/home/uws/wireshark-ninja/CMakeFiles/CMakeOutput.log".2.CMakeOutput.log has just the below line- .The system is: Linux - 4.18.0-17-generic - x86_643.Below are the contents of CMakeCache.txt for your reference# This is the CMakeCache file.# For build in directory: /home/uws/wireshark-ninja# It was generated by CMake: /usr/bin/cmake# You can edit this file to change values found and used by cmake.# If you do not want to change any of the values, simply exit the editor.# If you do want to change a value, simply edit, save, and exit the editor.# The syntax for the file is as follows:# KEY:TYPE=VALUE# KEY is the name of a variable in the cache.# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.# VALUE is the current value for the KEY.######################### EXTERNAL cache entries########################//Program used to build from build.ninja files.CMAKE_MAKE_PROGRAM:FILEPATH=CMAKE_MAKE_PROGRAM-NOTFOUND//Value Computed by CMakeCMAKE_PROJECT_NAME:STATIC=wireshark//Value Computed by CMakewireshark_BINARY_DIR:STATIC=/home/uws/wireshark-ninja//Value Computed by CMakewireshark_SOURCE_DIR:STATIC=/home/uws/wireshark######################### INTERNAL cache entries########################//This is the directory where this CMakeCache.txt was createdCMAKE_CACHEFILE_DIR:INTERNAL=/home/uws/wireshark-ninja//Major version of cmake used to create the current loaded cacheCMAKE_CACHE_MAJOR_VERSION:INTERNAL=3//Minor version of cmake used to create the current loaded cacheCMAKE_CACHE_MINOR_VERSION:INTERNAL=10//Patch version of cmake used to create the current loaded cacheCMAKE_CACHE_PATCH_VERSION:INTERNAL=2//Path to CMake executable.CMAKE_COMMAND:INTERNAL=/usr/bin/cmake//Path to cpack program executable.CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack//Path to ctest program executable.CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest//Name of external makefile project generator.CMAKE_EXTRA_GENERATOR:INTERNAL=//Name of generator.CMAKE_GENERATOR:INTERNAL=Ninja//Name of generator platform.CMAKE_GENERATOR_PLATFORM:INTERNAL=//Name of generator toolset.CMAKE_GENERATOR_TOOLSET:INTERNAL=//Source directory with the top level CMakeLists.txt file for this// projectCMAKE_HOME_DIRECTORY:INTERNAL=/home/uws/wireshark//ADVANCED property for variable: CMAKE_MAKE_PROGRAMCMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1//number of local generatorsCMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1//Platform information initializedCMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1//Path to CMake installation.CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.10//uname commandCMAKE_UNAME:INTERNAL=/bin/unamePlease suggest if I am missing something or what value should i set for CMAKE_MAKE_PROGRAMRegards,Abhisek
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe--___________________________________________________________________________Naima is online.
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
- References:
- Prev by Date: Re: [Wireshark-dev] Script extcap on macOS
- Next by Date: Re: [Wireshark-dev] Script extcap on macOS
- Previous by thread: Re: [Wireshark-dev] CMake Error [CMAKE_MAKE_PROGRAM is not set] while building wireshark from source
- Next by thread: [Wireshark-dev] Not seeing FOO Dissector in wireshark after successful build
- Index(es):