I was successful with previous versions (e.g., 3.7.0) but the new prerequisite bctoolbox troubles me.
I have
git clone git://git.linphone.org/bctoolbox.git in
/opt and run
cmake . -DCMAKE_INSTALL_PREFIX=/usr.
Then make and make install with the following output:
address@hidden:/opt/bctoolbox# make
[ 50%] Building C object src/CMakeFiles/bctoolbox.dir/crypto/polarssl.c.o
Linking CXX shared library libbctoolbox.so
[ 50%] Built target bctoolbox
[100%] Building C object src/CMakeFiles/bctoolbox-static.dir/crypto/polarssl.c.o
Linking C static library libbctoolbox.a
[100%] Built target bctoolbox-static
address@hidden:/opt/bctoolbox# make install
[ 50%] Built target bctoolbox
[100%] Built target bctoolbox-static
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/lib/pkgconfig/bctoolbox.pc
-- Up-to-date: /usr/lib/pkgconfig/bctoolbox-tester.pc
-- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxTargets.cmake
-- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxTargets-noconfig.cmake
-- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxConfig.cmake
-- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxConfigVersion.cmake
-- Up-to-date: /usr/include/bctoolbox/crypto.h
-- Up-to-date: /usr/include/bctoolbox/tester.h
-- Installing: /usr/lib/libbctoolbox.a
-- Installing: /usr/lib/libbctoolbox.so.0
-- Up-to-date: /usr/lib/libbctoolbox.so
-- Set runtime path of "/usr/lib/libbctoolbox.so.0" to "/usr/lib/i386-linux-gnu"
Then the make exits with the following error:
CCLD mediastreamer2_tester
/usr/bin/ld: cannot find -lbctoolbox-tester
collect2: error: ld returned 1 exit status
The bctoolbox module does not creates any bctoolbox-tester.so library and /configure --disable-test does not helps.
Any ideas will be highly appreciated.
King regards,
Giannis