Hello Soeren, Thank you so much for your valuable insight into this issue.
I have downloaded the image for MacOS, the nightly build from 2018-09-29. It does work but there is an issue with it crashing on launching and also if the run period is long (say more than 15 seconds about but I have not really quantified it yet). I looked on the Bugzilla list and found that this problem is already being looked at by Uwe under bug #1284. He suggested a fix editing CMakeLists.txt but I am assuming that will only work if I build it myself. The binary I downloaded cannot be fixed, can it? When I first started using Pulseview on my Mac over a year ago it had to be built with Homebrew. When I did an update and upgrade with Homebrew, it tried to build Pulseview and got the error I described before. I do much prefer simply downloading an image now that it is a possible, but sometimes there are issues with that as well… Thanks again, Paul > On Oct 2, 2018, at 07:51, Soeren Apel <soe...@apelpie.net> wrote: > > Hello Paul, > > The error you encounter is neither pkg-config nor CMake-related. > You cannot build PulseView by itself, you must always build a > suitable libsigrok beforehand. The error message tries to tell > you that the libsigrok available on your system is not suitable > and you should have a look at its configure output to see why. > > With that, I'm not sure you want to be building from source. > What's your motivation for doing so? > > Also, did you see this? > https://sigrok.org/wiki/Mac_OS_X#Binary_Disk_Images_.28DMG.29 > It provides the current state of PulseView without a need to > build from source. > > Regards, > -Soeren > > > On Tue, 2018-10-02 at 07:30 -0400, paulcrawfordgm wrote: >> Hello Soeren, >> >> I just looked at /usr/bin/pkg-config but it seems to be mostly a >> binary file although there is some plain text in it. >> >> This is line 84-88 in CMakeLists.txt: >> >> pkg_check_modules(LIBSRCXX QUIET ${LIBSR_CXX_BINDING}) >> if(NOT LIBSRCXX_FOUND OR NOT LIBSRCXX_VERSION) >> message(FATAL_ERROR "libsigrok C++ bindings missing, check >> libsigrok's 'configure' output (missing dependencies?)") >> endif() >> pkg_check_modules(PKGDEPS REQUIRED ${PKGDEPS}) >> >> Does that help anything? >> >> Thanks, >> >> Paul >> >>> On Oct 2, 2018, at 07:17, Soeren Apel <soe...@apelpie.net> wrote: >>> >>> Hello Paul, >>> >>>> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") >>>> CMake Error at CMakeLists.txt:86 (message): >>>> libsigrok C++ bindings missing, check libsigrok's 'configure' >>>> output >>>> (missing dependencies?) >>> >>> Did you see this? Did you check? >>> >>> Regards, >>> -Soeren >>> >>> >>> On Tue, 2018-10-02 at 07:10 -0400, paulcrawfordgm wrote: >>>> Hi, >>>> >>>> I just tried to build Pulseview on a new installation of Ubuntu >>>> 16.04. I followed the wiki exactly from here: >>>> >>>> https://sigrok.org/wiki/Linux#PulseView >>>> >>>> to install the requirements and build. All went well until "cmake >>>> .” >>>> and then I got the following error: >>>> >>>> -- The C compiler identification is GNU 5.4.0 >>>> -- The CXX compiler identification is GNU 5.4.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 >>>> -- Detecting C compile features >>>> -- Detecting C compile features - 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 >>>> -- Detecting CXX compile features >>>> -- Detecting CXX compile features - done >>>> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") >>>> CMake Error at CMakeLists.txt:86 (message): >>>> libsigrok C++ bindings missing, check libsigrok's 'configure' >>>> output >>>> (missing dependencies?) >>>> >>>> >>>> -- Configuring incomplete, errors occurred! >>>> See also >>>> "/home/paulcrawford/pulseview/CMakeFiles/CMakeOutput.log". >>>> >>>> The pertinent part of the CMakeOutput.log file is: >>>> >>>> Run Build Command:"/usr/bin/make" "cmTC_dc6a5/fast" >>>> /usr/bin/make -f CMakeFiles/cmTC_dc6a5.dir/build.make >>>> CMakeFiles/cmTC_dc6a5.dir/build >>>> make[1]: Entering directory >>>> '/home/paulcrawford/pulseview/CMakeFiles/CMakeTmp' >>>> Building CXX object CMakeFiles/cmTC_dc6a5.dir/feature_tests.cxx.o >>>> /usr/bin/c++ -std=c++98 -o >>>> CMakeFiles/cmTC_dc6a5.dir/feature_tests.cxx.o -c >>>> /home/paulcrawford/pulseview/CMakeFiles/feature_tests.cxx >>>> Linking CXX executable cmTC_dc6a5 >>>> /usr/bin/cmake -E cmake_link_script >>>> CMakeFiles/cmTC_dc6a5.dir/link.txt --verbose=1 >>>> /usr/bin/c++ CMakeFiles/cmTC_dc6a5.dir/feature_tests.cxx.o >>>> -o >>>> cmTC_dc6a5 -rdynamic >>>> make[1]: Leaving directory >>>> '/home/paulcrawford/pulseview/CMakeFiles/CMakeTmp' >>>> >>>> >>>> Feature record: >>>> CXX_FEATURE:0cxx_aggregate_default_initializers >>>> Feature record: CXX_FEATURE:0cxx_alias_templates >>>> Feature record: CXX_FEATURE:0cxx_alignas >>>> Feature record: CXX_FEATURE:0cxx_alignof >>>> Feature record: CXX_FEATURE:0cxx_attributes >>>> Feature record: CXX_FEATURE:0cxx_attribute_deprecated >>>> Feature record: CXX_FEATURE:0cxx_auto_type >>>> Feature record: CXX_FEATURE:0cxx_binary_literals >>>> Feature record: CXX_FEATURE:0cxx_constexpr >>>> Feature record: CXX_FEATURE:0cxx_contextual_conversions >>>> Feature record: CXX_FEATURE:0cxx_decltype >>>> Feature record: CXX_FEATURE:0cxx_decltype_auto >>>> Feature record: >>>> CXX_FEATURE:0cxx_decltype_incomplete_return_types >>>> Feature record: >>>> CXX_FEATURE:0cxx_default_function_template_args >>>> Feature record: CXX_FEATURE:0cxx_defaulted_functions >>>> Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers >>>> Feature record: CXX_FEATURE:0cxx_delegating_constructors >>>> Feature record: CXX_FEATURE:0cxx_deleted_functions >>>> Feature record: CXX_FEATURE:0cxx_digit_separators >>>> Feature record: CXX_FEATURE:0cxx_enum_forward_declarations >>>> Feature record: CXX_FEATURE:0cxx_explicit_conversions >>>> Feature record: CXX_FEATURE:0cxx_extended_friend_declarations >>>> Feature record: CXX_FEATURE:0cxx_extern_templates >>>> Feature record: CXX_FEATURE:0cxx_final >>>> Feature record: CXX_FEATURE:0cxx_func_identifier >>>> Feature record: CXX_FEATURE:0cxx_generalized_initializers >>>> Feature record: CXX_FEATURE:0cxx_generic_lambdas >>>> Feature record: CXX_FEATURE:0cxx_inheriting_constructors >>>> Feature record: CXX_FEATURE:0cxx_inline_namespaces >>>> Feature record: CXX_FEATURE:0cxx_lambdas >>>> Feature record: CXX_FEATURE:0cxx_lambda_init_captures >>>> Feature record: CXX_FEATURE:0cxx_local_type_template_args >>>> Feature record: CXX_FEATURE:0cxx_long_long_type >>>> Feature record: CXX_FEATURE:0cxx_noexcept >>>> Feature record: CXX_FEATURE:0cxx_nonstatic_member_init >>>> Feature record: CXX_FEATURE:0cxx_nullptr >>>> Feature record: CXX_FEATURE:0cxx_override >>>> Feature record: CXX_FEATURE:0cxx_range_for >>>> Feature record: CXX_FEATURE:0cxx_raw_string_literals >>>> Feature record: CXX_FEATURE:0cxx_reference_qualified_functions >>>> Feature record: CXX_FEATURE:0cxx_relaxed_constexpr >>>> Feature record: CXX_FEATURE:0cxx_return_type_deduction >>>> Feature record: CXX_FEATURE:0cxx_right_angle_brackets >>>> Feature record: CXX_FEATURE:0cxx_rvalue_references >>>> Feature record: CXX_FEATURE:0cxx_sizeof_member >>>> Feature record: CXX_FEATURE:0cxx_static_assert >>>> Feature record: CXX_FEATURE:0cxx_strong_enums >>>> Feature record: CXX_FEATURE:1cxx_template_template_parameters >>>> Feature record: CXX_FEATURE:0cxx_thread_local >>>> Feature record: CXX_FEATURE:0cxx_trailing_return_types >>>> Feature record: CXX_FEATURE:0cxx_unicode_literals >>>> Feature record: CXX_FEATURE:0cxx_uniform_initialization >>>> Feature record: CXX_FEATURE:0cxx_unrestricted_unions >>>> Feature record: CXX_FEATURE:0cxx_user_literals >>>> Feature record: CXX_FEATURE:0cxx_variable_templates >>>> Feature record: CXX_FEATURE:0cxx_variadic_macros >>>> Feature record: CXX_FEATURE:0cxx_variadic_templates >>>> >>>> Interestingly I have had the same error trying install Pulseview >>>> under Homebrew on MacOS 10.13.6. >>>> >>>> Is there something fundamentally wrong here? >>>> >>>> Thanks, >>>> >>>> Paul Crawford >>>> _______________________________________________ >>>> sigrok-devel mailing list >>>> sigrok-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/sigrok-devel >> >> _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel