LINUX.ORG.RU

Компиляция linphone 3.12.0 - Компиляция bctoolbox - Непонятно где брать Decaf

 ,


0

1

Продолжаю свои N-ые попытки собрать linphone версии 3.12.0.

Выяснить, на какой коммит надо откатиться, чтобы получить получить проект в состоянии v.3.12.0, мне не удалось: На какой коммит откатиться, чтобы собрать Linphone 3.12.0 ? .

Поэтому приходится собирать linphone по кускам.

Я скачиваю linphone:

wget https://www.linphone.org/releases/sources/linphone/linphone-3.12.0.tar.gz

Но при сборке имею ошибку:
checking for BCTOOLBOX... no
configure: error: "Could not find bctoolbox (required dependency)"

Это из-за того, что linphone - большой проект, с кучей подпроектов, а в архиве лежит только сам linphone. Хорошо, попробуем установить bctoolbox отдельно:
cd /home/user/work/develop/c
git clone --recursive https://github.com/BelledonneCommunications/bctoolbox.git
cd /home/user/work/develop/c/bctoolbox
cmake . -DCMAKE_INSTALL_PREFIX=/opt/linphone

Имеем ошибки:
CMake Warning at CMakeLists.txt:76 (find_package):
  Could not find a package configuration file provided by "Decaf" with any of
  the following names:
    DecafConfig.cmake
    decaf-config.cmake
  Add the installation prefix of "Decaf" to CMAKE_PREFIX_PATH or set
  "Decaf_DIR" to a directory containing one of the above files.  If "Decaf"
  provides a separate development package or SDK, be sure it has been
  installed.

-- DTLS SRTP not available
CMake Error at CMakeLists.txt:112 (find_package):
  Could not find a package configuration file provided by "BcUnit" with any
  of the following names:
    BcUnitConfig.cmake
    bcunit-config.cmake
  Add the installation prefix of "BcUnit" to CMAKE_PREFIX_PATH or set
  "BcUnit_DIR" to a directory containing one of the above files.  If "BcUnit"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!

Пытаемся сделать поиск в google, yandex, duckduckgo по фразе:
"Could not find a package configuration file provided by" "Decaf"

И ничего не находим. Что это за уникальная ошибка, которая только у меня возникла, и нигде больше в интернете не встречается? Как ее обойти?

★★★★★

Пытаемся сделать поиск в google, yandex, duckduckgo по фразе:

«Could not find a package configuration file provided by» «Decaf»

А нужно по фразе:

Could not find a package configuration file provided by «BcUnit» with any

Потому что первое всего-лишь предупреждение и наверное необязательная зависимость, а второе – ошибка.

https://github.com/BelledonneCommunications/bcunit

EXL ★★★★★
()
Ответ на: комментарий от EXL

bcunit

У этого проекта в README.md написаны каке-то устаревшие сведения по сборке. Похоже, что собирать надо путем запуска autogen.sh.

Однако сборка завершается ошибкой:

$ ./autogen.sh
+ libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize:   '/usr/share/aclocal/libtool.m4'
libtoolize:   '/usr/share/aclocal/ltoptions.m4'
libtoolize:   '/usr/share/aclocal/ltsugar.m4'
libtoolize:   '/usr/share/aclocal/ltversion.m4'
libtoolize:   '/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
+ aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
+ autoheader
+ automake --force-missing --add-missing --copy
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:158: installing './compile'
configure.in:161: installing './config.guess'
configure.in:161: installing './config.sub'
configure.in:4: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
BCUnit/Sources/Automated/Makefile.am: installing './depcomp'
BCUnit/Sources/Framework/Makefile.am:20: warning: '%'-style pattern rules are a GNU make extension
BCUnit/Sources/Test/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Examples/AutomatedTest/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Examples/BasicTest/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Examples/ConsoleTest/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Examples/CursesTest/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am: error: required file './README' not found
+ autoconf

Что здесь не так?

Xintrea ★★★★★
() автор топика
Ответ на: комментарий от EXL

В принципе, с ошибкой отсутствия файла README, исполнимый файл configure создается. Но его запуск завершается такой ошибкой:

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Jamrules
config.status: error: cannot find input file: `Makefile.in'

В каталоге видно, что есть файл Makefile.am, а вот Makefile.in нет. Это можно как-то обойти?

Xintrea ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.