Unable to compile Kurento media server

2,765 views
Skip to first unread message

Cs Lee

unread,
Oct 14, 2014, 6:32:07 AM10/14/14
to kur...@googlegroups.com
I was trying to follow the instruction to compile Kurento media server source but it failed.

Error was:

cmake ../
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
If KurentoHelpers is not found, then it is necessary to install
          kms-cmake-utils package from the kurento repository
CMake Error at CMakeLists.txt:8 (find_package):
  By not providing "FindKurentoHelpers.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "KurentoHelpers", but CMake did not find one.

  Could not find a package configuration file provided by "KurentoHelpers"
  with any of the following names:

    KurentoHelpersConfig.cmake
    kurentohelpers-config.cmake


I had installed kms-cmake-utils package but it still could not find the KurentoHelpers module. Anyone can help on this?



Jose Antonio Santos Cadenas

unread,
Oct 14, 2014, 7:11:16 AM10/14/14
to kurento

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cs Lee

unread,
Oct 15, 2014, 12:03:59 AM10/15/14
to kur...@googlegroups.com
yes, I followed exactly the instructions. I was compiling on Ubuntu 14.04. 

--
You received this message because you are subscribed to a topic in the Google Groups "kurento" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kurento/JwwrJUHzjfU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kurento+u...@googlegroups.com.

Jose Antonio Santos Cadenas

unread,
Oct 15, 2014, 2:54:44 AM10/15/14
to kurento
What version of kms-cmake-utils have you installed? (execute dpkg -l | grep kms-cmake)

And what version on media server are you trying to compile (commit hash).

Cs Lee

unread,
Oct 15, 2014, 3:17:25 AM10/15/14
to kur...@googlegroups.com
Here are the versions of kms-cmake  and media server 

-------------------------------------------------------------------------------
dpkg -l | grep kms-cmake
ii  kms-cmake-utils                                       1.0.2~1.20141006190813.g28cdee6                     all          Kurento cmake utils
-------------------------------------------------------------------------------------
git log -n 1
commit a7988aa9a7cdf405ac26c7452fe967aa9c057203
Author: Javier Lopez <fjl...@gsyc.es>
Date:   Sat Oct 11 20:58:36 2014 +0200

    Fix action status in init.d script
    
    Change-Id: I9d9b942742469e8886bc9e22a9cd0210f29c89af

Jose Antonio Santos Cadenas

unread,
Oct 15, 2014, 4:50:58 AM10/15/14
to kurento
I cannot understand why it doesn't work, we have tested this instructions in a clean ubuntu 14.04 without problem, could you please remove build folder and try again, just in case CMakeCache.txt has some corrupted value.

Cs Lee

unread,
Oct 16, 2014, 4:52:29 AM10/16/14
to kur...@googlegroups.com
Ok. I have tested with another clean Ubuntu 14.04 and it run smoothly. I have no idea why it doesn't work on my machine. Thanks for your help.  

jmal...@gmail.com

unread,
Oct 28, 2014, 10:17:57 PM10/28/14
to kur...@googlegroups.com
Hm, while trying to rebuild he Ubuntu packages on jessie, I'm seeing the same error as Lee reported:

http://paste.debian.net/129174/

when trying to build kms-jsonrpc on a clean chroot. Any ideas?

El dijous 16 d’octubre de 2014 10:52:29 UTC+2, Lee va escriure:

Ivan Gracia

unread,
Oct 29, 2014, 5:20:07 AM10/29/14
to Kurento Public
Hi, 

Do you have kms-cmake-utils installed? What version of kms-cmake-utils have you installed? (execute dpkg -l | grep kms-cmake)

Cheers,


Ivan Gracia


jmal...@gmail.com

unread,
Oct 29, 2014, 5:36:39 AM10/29/14
to kur...@googlegroups.com
Hola Ivan,

El dimecres 29 d’octubre de 2014 10:20:07 UTC+1, igracia va escriure:

Do you have kms-cmake-utils installed? What version of kms-cmake-utils have you installed? (execute dpkg -l | grep kms-cmake)

Yeah.

root@penyagolosa:/tmp/buildd/kms-jsonrpc-0.1.2# dpkg -l |grep -E "(kms|kurento)"
ii  kms-cmake-utils                1.0.1-trusty           all          Kurento cmake utils
ii  kurento-module-creator         3.0.6-trusty           all          Kurento module creator

This is a just created chroot using cowbuilder, which is a very common setup to build packages cleanly in Debian.
Unfortunately I'm quite illiterate on CMake so I'm not sure where to look.

Thanks!

jmal...@gmail.com

unread,
Oct 29, 2014, 5:47:50 AM10/29/14
to kur...@googlegroups.com, jmal...@gmail.com


El dimecres 29 d’octubre de 2014 10:36:39 UTC+1, jmal...@gmail.com va escriure:

Ok, I see now: Debian jessie ships cmake 3.x and apparently that expects its modules in /usr/share/cmake-3.0/Modules.

However, kms-cmake-utils hardcodes a cmake-2.8 path, which won't work in newer versions. As I said, I know little about CMake so I can't provide a clean patch that will work with both versions.

Ivan Gracia

unread,
Oct 29, 2014, 6:03:34 AM10/29/14
to Kurento Public, jmal...@gmail.com
Thanks for the info! The supported version is Ubuntu 14.04, which is the one we sue for development, so we hadn't realised this.

Cheers,


Ivan Gracia



Message has been deleted

chandra...@gmail.com

unread,
Mar 6, 2015, 5:25:18 PM3/6/15
to kur...@googlegroups.com
1. Trying to build ..-server-master:

osboxes@osboxes:~/kms/kurento-media-server-master$ mkdir -p build
osboxes@osboxes:~/kms/kurento-media-server-master$ cd build
osboxes@osboxes:~/kms/kurento-media-server-master/build$ cmake ..

-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
If KurentoHelpers is not found, then it is necessary to install
          kms-cmake-utils package from the kurento repository
CMake Error at CMakeLists.txt:8 (find_package):
  By not providing "FindKurentoHelpers.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "KurentoHelpers", but CMake did not find one.

  Could not find a package configuration file provided by "KurentoHelpers"
  with any of the following names:

    KurentoHelpersConfig.cmake
    kurentohelpers-config.cmake

  Add the installation prefix of "KurentoHelpers" to CMAKE_PREFIX_PATH or set
  "KurentoHelpers_DIR" to a directory containing one of the above files.  If
  "KurentoHelpers" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!


2. Installing kms-cmake-utils package.

2.1. cmake
osboxes@osboxes:~/kms/kms-cmake-utils-master$ mkdir -p build
osboxes@osboxes:~/kms/kms-cmake-utils-master$ cd build
osboxes@osboxes:~/kms/kms-cmake-utils-master/build$ cmake ..

-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/osboxes/kms/kms-cmake-utils-master/build
osboxes@osboxes:~/kms/kms-cmake-utils-master/build$

2.2. make ( OMG ! does nothing ? )
osboxes@osboxes:~/kms/kms-cmake-utils-master/build$ make
osboxes@osboxes:~/kms/kms-cmake-utils-master/build$

2.3 verify cmake : nothing found
osboxes@osboxes:~/kms/kurento-media-server-master/build$ dpkg -l | grep kms-cmake
osboxes@osboxes:~/kms/kurento-media-server-master/build$

3. .. and so still getting same error as 1. above.

Some additional info:
a. OS etc: uname -a =>
Linux osboxes 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

b. cmake version 2.8.12.2

c. All modules were downloaded as zip files.

Could someone make me see what I am doing wrong ?
Thanks !

xuguiz...@gmail.com

unread,
May 7, 2015, 8:17:16 AM5/7/15
to kur...@googlegroups.com
Could you provide the new URL for the compilation-instructions ?
The old one is obsolete.

Thanks!

在 2014年10月14日星期二 UTC+8下午7:11:16,Jose Antonio Santos Cadenas写道:

xuguiz...@gmail.com

unread,
May 7, 2015, 8:17:42 AM5/7/15
to kur...@googlegroups.com, chandra...@gmail.com

I think "make install" will do something for the utils.

In fact, "sudo make install"

在 2015年3月7日星期六 UTC+8上午6:25:18,chandra...@gmail.com写道:

Ranjeet Kuruvilla

unread,
Apr 15, 2018, 11:11:59 AM4/15/18
to kurento
I have the same problem.

$cmake ..
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMake project: kms-jsonrpc
If KurentoHelpers is not found, you need to install 'kms-cmake-utils' from the Kurento repository
CMake Error at CMakeLists.txt:12 (find_package):
  By not providing "FindKurentoHelpers.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "KurentoHelpers", but CMake did not find one.

  Could not find a package configuration file provided by "KurentoHelpers"
  with any of the following names:

    KurentoHelpersConfig.cmake
    kurentohelpers-config.cmake

  Add the installation prefix of "KurentoHelpers" to CMAKE_PREFIX_PATH or set
  "KurentoHelpers_DIR" to a directory containing one of the above files.  If
  "KurentoHelpers" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/ranju/Downloads/kms-jsonrpc/build/CMakeFiles/CMakeOutput.log".

I use CMake 3.10.

Thanks

Claudio Avila

unread,
May 28, 2018, 2:40:07 PM5/28/18
to kurento
After installing the utils package, try something like this:

cmake . -DCMAKE_MODULE_PATH=/usr/local/share/cmake-3.7/Modules/
Reply all
Reply to author
Forward
0 new messages