roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.06k stars 213 forks source link

Tests can not be run without openfec #501

Closed dvzrv closed 1 year ago

dvzrv commented 1 year ago

Hi! I'm currently trying to build 0.2.1 from the tarball.

Using --disable-openfec and running scons test leads to:

scons: Reading SConscript files ...
Searching CXX executable... (cached) /usr/bin/g++
Searching CXX executable... (cached) /usr/bin/g++
Searching CC executable... (cached) /usr/bin/gcc
Searching CXXLD executable... (cached) /usr/bin/g++
Searching CCLD executable... (cached) /usr/bin/gcc
Searching LD executable... (cached) /usr/bin/ld
Searching AR executable... (cached) /usr/bin/ar
Searching RANLIB executable... (cached) /usr/bin/ranlib
Searching STRIP executable... (cached) /usr/bin/strip
Searching OBJCOPY executable... (cached) /usr/bin/objcopy
Searching for system library directory... (cached) /usr/lib64
Searching PKG_CONFIG... (cached) pkg-config
Searching PKG_CONFIG_PATH...(cached) /usr/lib/pkgconfig
Searching pkg-config package libuv...(cached) not found
Checking for C library uv... (cached) yes
Searching pkg-config package libunwind...(cached) not found
Checking for C library unwind... (cached) yes
Searching pkg-config package openfec...(cached) not found
Checking for C library openfec... no
error: openfec not found (see 'config.log' for details)
gavv commented 1 year ago

Hi,

Did you run scons --disable-openfec test or just scons test? The former should work as expected, and the latter will try to build roc with openfec and then run tests.

gavv commented 1 year ago

Closing, but feel free to reopen if needed!