5

I'm trying to build something from source using CMake that is intended for the current (16.04 - Xenial) build. It seems to depend on ECM which seems to be Extra CMake Modules (aka extra-cmake-modules on Xenial). It doesn't seem to be available for 14.04.

Any ideas how to get it, or instructions as to where I can download the source and build a package for Trusty, that I could install?

sibaz
  • 811

2 Answers2

5

Edit (Brought to top)

git clone git://anongit.kde.org/extra-cmake-modules
cd extra-cmake-modules
mkdir build
cd build
cmake .. # or run : cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
make
sudo make install

You can install the latest qt version as follows:

wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
chmod +x qt-opensource-linux-x64-5.7.0.run
./qt-opensource-linux-x64-5.7.0.run

Original answer

The extra-cmake-modules is available on Ubuntu 16.04 , 16.10 and 17.04 version.

No summary available for extra-cmake-modules in ubuntu utopic.

You can install it on Ubuntu 14.04 but it is not recommended , it can break your System.

You can edit your /etc/apt/sources.list then add the following line:

deb http://cz.archive.ubuntu.com/ubuntu xenial main universe

Then update your system some dependencies will be upgraded

to install it run:

sudo apt install extra-cmake-modules
ALM
  • 55
GAD3R
  • 3,748
0

Additional to the previous answer from GAD3R that does not work for me cloning the extra-cmake-modules repository, here is an alternative solution:

git clone https://github.com/KDE/extra-cmake-modules.git