This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Cannot build Kurento 6.1.1 on Ubuntu 14.04 #27
Copy link
Copy link
Closed
Description
Hello,
We are running into some issues with Kurento 6.3.2 related to the TURN server. So, we are trying to downgrade to the last-known version which worked well for us – 6.1.1.
We tried to build Kurento 6.1.1 on Ubuntu 14.04 with GCC version 4.8.5, but we ran into a build error as follow:
[ 63%] Building CXX object server/CMakeFiles/kurento-media-server.dir/ServerMethods.cpp.o
/home/pac/Desktop/kurento-media-server-6.1.1/server/ServerMethods.cpp: In constructor ‘kurento::ServerMethods::ServerMethods(const ptree&)’:
/home/pac/Desktop/kurento-media-server-6.1.1/server/ServerMethods.cpp:92:94: error: no matching function for call to ‘kurento::ModuleInfo::ModuleInfo(std::string, std::string, std::vector<std::basic_string<char> >&)’
moduleIt.second->getVersion(), moduleIt.second->getName(), factories) ) );
^
/home/pac/Desktop/kurento-media-server-6.1.1/server/ServerMethods.cpp:92:94: note: candidates are:
In file included from /home/pac/Desktop/kurento-media-server-6.1.1/server/ServerMethods.cpp:35:0:
/usr/include/kurento/modules/core/ModuleInfo.hpp:85:3: note: kurento::ModuleInfo::ModuleInfo()
ModuleInfo() {};
^
/usr/include/kurento/modules/core/ModuleInfo.hpp:85:3: note: candidate expects 0 arguments, 3 provided
In file included from /home/pac/Desktop/kurento-media-server-6.1.1/server/ServerMethods.cpp:35:0:
/usr/include/kurento/modules/core/ModuleInfo.hpp:31:3: note: kurento::ModuleInfo::ModuleInfo(const string&, const string&, const string&, const std::vector<std::basic_string<char> >&)
ModuleInfo (const std::string &version, const std::string &name, const std::string &generationTime, const std::vector<std::string> &factories) {
^
/usr/include/kurento/modules/core/ModuleInfo.hpp:31:3: note: candidate expects 4 arguments, 3 provided
/usr/include/kurento/modules/core/ModuleInfo.hpp:26:7: note: kurento::ModuleInfo::ModuleInfo(const kurento::ModuleInfo&)
class ModuleInfo : public RegisterParent
^
/usr/include/kurento/modules/core/ModuleInfo.hpp:26:7: note: candidate expects 1 argument, 3 provided
/usr/include/kurento/modules/core/ModuleInfo.hpp:26:7: note: kurento::ModuleInfo::ModuleInfo(kurento::ModuleInfo&&)
/usr/include/kurento/modules/core/ModuleInfo.hpp:26:7: note: candidate expects 1 argument, 3 provided
make[2]: *** [server/CMakeFiles/kurento-media-server.dir/ServerMethods.cpp.o] Error 1
make[1]: *** [server/CMakeFiles/kurento-media-server.dir/all] Error 2
make: *** [all] Error 2
The exact commands are as follow:
506 lsb_release -a
507 echo "deb http://ubuntu.kurento.org trusty-dev kms6" | sudo tee /etc/apt/sources.list.d/kurento-dev.list
508 sudo apt-get update
509 sudo apt-get install $(cat debian/control | sed -e "s/$/\!\!/g" | tr -d '\n' | sed "s/\!\! / /g" | sed "s/\!\!/\n/g" | grep "Build-Depends" | sed "s/Build-Depends: //g" | sed "s/([^)]*)//g" | sed "s/, */ /g")
510 wget https://github.com/Kurento/kurento-media-server/archive/6.1.1.tar.gz
511 tar xvzf 6.1.1.tar.gz
512 cd kurento-media-server-6.1.1/
513 mkdir -p build
514 cd build
515 cmake ..
519 make -j2
520 g++ --version
Here's the complete build steps that led to the above error for your review.
PS: Thanks for such a great work! You guys rock!
Metadata
Metadata
Assignees
Labels
No labels
Activity
jcaden commentedon Feb 1, 2016
If you try to build 6.1.1 The versions of kms-core, kms-elements and kms-filters should be the appropriate, otherwise it won't compile correctly.
Please report this on the list since this is not a bug but a support request.