Thursday, April 16, 2020

Re: Problem in installing from Source

-- Build type set to Release.
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring testing-support support...
-- Enabling testing-support support.
-- Override with -DENABLE_TESTING=ON/OFF
-- Extracting version information from git describe...
-- Compiler Version: cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Compiler Flags: /usr/bin/cc:::-O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
/usr/bin/c++:::-O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-- ADDING PERF COUNTERS
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- date_time
-- program_options
-- filesystem
-- system
-- regex
-- thread
-- unit_test_framework
-- chrono
-- atomic
-- User set python executable /usr/bin/python3
-- Python checking for six - python 2 and 3 compatibility library - found
--
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
--
-- Configuring python-support support...
-- Dependency PYTHONLIBS_FOUND = TRUE
-- Dependency SWIG_FOUND = TRUE
-- Dependency SWIG_VERSION_CHECK = TRUE
-- Dependency SIX_FOUND = TRUE
-- Enabling python-support support.
-- Override with -DENABLE_PYTHON=ON/OFF
--
-- Configuring VOLK support...
-- Build type set to Release.
-- Extracting version information from git describe...
--
-- Python checking for python >= 3.4
-- Python checking for python >= 3.4 - found
--
-- Python checking for mako >= 0.4.2
-- Python checking for mako >= 0.4.2 - found
-- Checking for module 'orc-0.4 > 0.4.11'
-- No package 'orc-0.4' found
-- orc files (missing: ORC_LIBRARY ORC_INCLUDE_DIR ORCC_EXECUTABLE)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- QA Testing is enabled.
-- Modify using: -DENABLE_TESTING=ON/OFF
-- System profiling is disabled.
-- Modify using: -DENABLE_PROFILING=ON/OFF
-- Compiler name: GNU
-- x86* CPU detected
-- Compiler doesn't support NEON, Overruled arch neon
-- Compiler doesn't support NEON, Overruled arch neonv7
-- Compiler doesn't support NEON, Overruled arch neonv8
-- ORC support not found, Overruled arch orc
-- CPU width is 64 bits, Overruled arch 32
-- Available architectures: generic;64;3dnow;abm;popcount;mmx;fma;sse;sse2;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx;avx2;avx512f;avx512cd
-- Available machines: generic;sse2_64_mmx;sse3_64_mmx;ssse3_64_mmx;sse4_a_64_mmx;sse4_1_64_mmx;sse4_2_64_mmx;avx_64_mmx;avx2_64_mmx;avx512f_64_mmx;avx512cd_64_mmx
-- BUILD TYPE = RELEASE
-- Base cflags = -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall
-- BUILD INFO ::: generic ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall
-- BUILD INFO ::: sse2_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2
-- BUILD INFO ::: sse3_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3
-- BUILD INFO ::: ssse3_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3
-- BUILD INFO ::: sse4_a_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -msse4a -mpopcnt
-- BUILD INFO ::: sse4_1_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1
-- BUILD INFO ::: sse4_2_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt
-- BUILD INFO ::: avx_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx
-- BUILD INFO ::: avx2_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2
-- BUILD INFO ::: avx512f_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f
-- BUILD INFO ::: avx512cd_64_mmx ::: GNU ::: -O3 -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f -mavx512cd
-- Compiler Version: cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- c flags: -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall;
-- asm flags:
-- c flags: -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -Wall;
-- asm flags:
-- Did not find liborc and orcc, disabling orc support...
-- Loading version 2.2.1 into constants...
-- Using install prefix: /usr/local
--
-- Configuring volk support...
-- Enabling volk support.
-- Override with -DENABLE_VOLK=ON/OFF
-- Override with -DENABLE_INTERNAL_VOLK=ON/OFF
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Could NOT find GMP (missing: GMPXX_LIBRARY GMP_LIBRARY GMP_INCLUDE_DIR)
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Could NOT find MPLIB (missing: MPLIBXX_LIBRARY MPLIB_LIBRARY MPLIB_INCLUDE_DIR)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
--
-- Configuring doxygen support...
-- Dependency DOXYGEN_FOUND = NO
-- Disabling doxygen support.
-- Override with -DENABLE_DOXYGEN=ON/OFF
--
-- Configuring sphinx support...
-- Dependency SPHINX_FOUND = TRUE
-- Enabling sphinx support.
-- Override with -DENABLE_SPHINX=ON/OFF
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Could NOT find GMP (missing: GMPXX_LIBRARY GMP_LIBRARY GMP_INCLUDE_DIR)
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find MPLIB (missing: MPLIBXX_LIBRARY MPLIB_LIBRARY
MPLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindMPLIB.cmake:26 (find_package_handle_standard_args)
gnuradio-runtime/CMakeLists.txt:26 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/sid/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/home/sid/gnuradio/build/CMakeFiles/CMakeError.log".

Thanks for the help,I tried building maint-3.8 and PFA the cmake output. Also I executed the following sa mentioned here [1]

cd
cd gnuradio
git checkout maint-3.8
cd volk
git checkout v2.2.1
cd ..
mkdir build
cd build

Uptil here it's working fine, it's failing at
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../


On Thu, Apr 16, 2020, 8:00 PM Michael Dickens <michael.dickens@ettus.com> wrote:
Oh ... just noticed you provided the cmake command itself already ... my bad & you obviously don't need to supply it!

What we do need to know is: which version of GR are you trying to build? A release? A GIT branch & if so which one?


On Thu, Apr 16, 2020 at 10:28 AM Michael Dickens <michael.dickens@ettus.com> wrote:
Hi Siddhartha - The logs are unfortunately not greatly useful here. What would be useful is noting the specific "cmake" command you're using, and then the output from that command. - MLD

On Thu, Apr 16, 2020 at 3:44 AM Siddhartha Kapoor <siddharthakapoor2@gmail.com> wrote:
I tried installing gnuradio from source as mentioned here [1] but encountered problem while doing 
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../

OS is ubuntu 18, PFA the log and error files from CMake, any help would be appreciated.

Regards
Siddharth Kapoor

No comments:

Post a Comment