Linphone compilation error no ./prepare.py

1

I downloaded the linux project from git, installed all necessary dependencies and configured everything correctly (I believe) but when executing the command

./prepare.py

It ends in the middle of the build at this point

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using toolchain file '/home/jasar/StudioProjects/linphone-android/submodules/cmake-builder/toolchains/toolchain-android-arm.cmake'
-- Using configuration file '/home/jasar/StudioProjects/linphone-android/submodules/cmake-builder/configs/config-android.cmake'
-- Found PythonInterp: /usr/bin/python (found version "2.7.9") 
CMake Error at cmake/CheckBuildTools.cmake:147 (message):
  Could not find the pkg-config program.
Call Stack (most recent call first):
  builders/CMakeLists.txt:66 (include)
  configs/config-android.cmake:61 (include)
  CMakeLists.txt:67 (include)


-- Configuring incomplete, errors occurred!
See also "/home/jasar/StudioProjects/linphone-android/WORK/android-arm/cmake/CMakeFiles/CMakeOutput.log".

follows the cmakeoutput log - > link

Could someone please give me guidance on the subject?

    
asked by anonymous 22.09.2016 / 19:45

1 answer

0

Try to run this command on the terminal as root or using sudo

apt-get install pkg-config -y

then use

./perape.py --list-features

If you list the features then it can already be compiled without errors.

    
22.09.2016 / 22:23