Dear sigrokers, I'm having some issues building pulseview from git.
I first build libsigrok, libsigrokdecode and sigrokcli from git. No problems whatsoever. My configure lines are: (libsigrok): ./configure --prefix=/home/joe/bin/sigrok --enable-bindings --enable-cxx --disable-python --disable-java --enable-fx2lafw --enable-sysclk-lwla --enable-rigol-ds and (libsigrokdecode) ./configure --prefix=/home/joe/bin/sigrok and (sigrokcli) PKG_CONFIG_PATH=/home/joe/bin/sigrok/lib/pkgconfig ./configure --prefix=/home/joe/bin/sigrok respectively. Short interjection, while I could yesterday build sigrokcli successfully, I now get (with the latest git version) when running my build script: [...] CC anykey.o CC options.o CCLD sigrok-cli /home/joe/bin/sigrok/lib/libsigrok.so: undefined reference to `er_err' collect2: error: ld returned 1 exit status make[1]: *** [sigrok-cli] Error 1 But I'm guessing that's just some minor hiccup. Yesterday's git built fine. To configure pulseview, I'm doing export PKG_CONFIG_PATH="/home/joe/bin/sigrok/lib/pkgconfig" cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/joe/bin/sigrok . Which fails: -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- 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 -- checking for modules 'libsigrokxx>=0.3.0;libsigrokdecode>=0.3.0' -- package 'libsigrokxx>=0.3.0' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal) CMakeLists.txt:79 (pkg_check_modules) Sure enough, my pkgconfig only holds three files: $ ls ~/bin/sigrok/lib/pkgconfig/ total 12K -rw-r--r-- 1 joe joe 322 28.11.2015 21:42:10 libsigrokcxx.pc -rw-r--r-- 1 joe joe 509 28.11.2015 21:42:27 libsigrokdecode.pc -rw-r--r-- 1 joe joe 412 28.11.2015 21:42:10 libsigrok.pc And "libsigrokxx" is not among them. Is there maybe a misspelling between libsigrokcxx and libsigrokxx? Or what's going on here? Any help would be greatly appreciated :-) Thanks, Johannes ------------------------------------------------------------------------------ _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel