signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.64k stars 1.44k forks source link

mod_silk compile fail #1012

Open volga629-1 opened 3 years ago

volga629-1 commented 3 years ago

Hello Everyone, mod_silk is not detect library properly and library installed in system path.

OS: Fedora Server 31/32 Arch: x86_64 Freeswitch version: 1.10.5

Makefile:957: *** You must install libsilk-dev to build mod_silk.  Stop.

Error

making all mod_silk
make[3]: Entering directory '/home/volga629/rpmbuild/BUILD/freeswitch-1.10.5/src/mod/codecs/mod_silk'
Makefile:957: *** You must install libsilk-dev to build mod_silk.  Stop.
make[3]: Leaving directory '/home/volga629/rpmbuild/BUILD/freeswitch-1.10.5/src/mod/codecs/mod_silk'
make[2]: *** [Makefile:711: mod_silk-all] Error 1
make[2]: Leaving directory '/home/volga629/rpmbuild/BUILD/freeswitch-1.10.5/src/mod'
make[1]: *** [Makefile:778: mod_silk] Error 2
make[1]: Leaving directory '/home/volga629/rpmbuild/BUILD/freeswitch-1.10.5/src/mod'
make: *** [Makefile:4289: mod_silk] Error 2
[volga629@canldev01-fedora31 freeswitch-1.10.5]$ rpm -qa | grep libsilk
libsilk-1.0.8-1.fc31.x86_64
libsilk-devel-1.0.8-1.fc31.x86_64

[volga629@canldev01-fedora31 freeswitch-1.10.5]$ 
[volga629@canldev01-fedora31 freeswitch-1.10.5]$ rpm -ql libsilk
/usr/bin/Decoder
/usr/bin/Encoder
/usr/bin/signalCompare
/usr/doc/libsilk
/usr/doc/libsilk/AUTHORS
/usr/doc/libsilk/COPYING
/usr/doc/libsilk/ChangeLog
/usr/doc/libsilk/NEWS
/usr/doc/libsilk/README
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/664183735ad3b038bc43f295a199f84d800df0
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/58566111cd42654ed9587e5fcbc63c36292140
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/1448eb8c3c6bc89cf7f39e84b198f8dedb3588
/usr/lib/.build-id/f0/e2534f29545fb19530e5836393f9d8dd230849
/usr/lib64/libSKP_SILK_SDK.so.0
/usr/lib64/libSKP_SILK_SDK.so.0.0.0

[volga629@canldev01-fedora31 freeswitch-1.10.5]$ rpm -ql libsilk-devel
/usr/include/silk
/usr/include/silk/SKP_Silk_Inlines.h
/usr/include/silk/SKP_Silk_PLC.h
/usr/include/silk/SKP_Silk_SDK_API.h
/usr/include/silk/SKP_Silk_SigProc_FIX.h
/usr/include/silk/SKP_Silk_common_pitch_est_defines.h
/usr/include/silk/SKP_Silk_control.h
/usr/include/silk/SKP_Silk_define.h
/usr/include/silk/SKP_Silk_errors.h
/usr/include/silk/SKP_Silk_macros.h
/usr/include/silk/SKP_Silk_main.h
/usr/include/silk/SKP_Silk_main_FIX.h
/usr/include/silk/SKP_Silk_pitch_est_defines.h
/usr/include/silk/SKP_Silk_resampler_private.h
/usr/include/silk/SKP_Silk_resampler_rom.h
/usr/include/silk/SKP_Silk_resampler_structs.h
/usr/include/silk/SKP_Silk_setup_complexity.h
/usr/include/silk/SKP_Silk_structs.h
/usr/include/silk/SKP_Silk_structs_FIX.h
/usr/include/silk/SKP_Silk_tables.h
/usr/include/silk/SKP_Silk_tables_NLSF_CB0_10.h
/usr/include/silk/SKP_Silk_tables_NLSF_CB0_16.h
/usr/include/silk/SKP_Silk_tables_NLSF_CB1_10.h
/usr/include/silk/SKP_Silk_tables_NLSF_CB1_16.h
/usr/include/silk/SKP_Silk_tuning_parameters.h
/usr/include/silk/SKP_Silk_typedef.h
/usr/lib64/libSKP_SILK_SDK.a
/usr/lib64/libSKP_SILK_SDK.so
/usr/lib64/pkgconfig/silk.pc
dragos-oancea commented 3 years ago

see if you have the .pc file (pkg-config) in the right location. Also, after the lib is installed do ./bootstrap.sh again and then ./configure .