Has anyone gotten the widget to install on Debian Jessie?


#1

The installation script for Debian doesn’t install all of the components that are needed. Specifically, I had to install these manually:

  • automake (for aclocal)
  • cmake
  • g++
  • make
  • python-setuptools
  • python-virtualenv
  • python-sphinx
  • qml-module-qtquick2
  • qml-module-qtml-models2
  • qtdeclarative5-dev
  • qtdeclarative-dev-tools
  • virtualenv
  • virtualenvwrapper

(A couple of those may have been installed by the script. However, just to be sure, I installed all of the dependencies listed in the “git clone install” documentation manually.)

However, there are two dependencies that I had trouble with:

  • extra-cmake-modules
  • A couple of qt5 and libkf5 components.

I also got this error:

error: cannot open .git/FETCH_HEAD: Permission denied

I tried building and installing extra-cmake-modules from source (it’s not available in the Debian Jessie repositories), but the script still returned the error:

Could not find a package configuration file provided by "ECM"

After spending a day just trying to get the dependencies installed, I gave up. Has anyone gotten Mycroft installed successfully on Debian Jessie?


#2

Hi,

extra-cmake-modules is available in debian testing (stretch) and unstable (sid):

https://packages.debian.org/search?keywords=extra-cmake-modules

no package in jessie should have this one in its dependency list. Do you known which package is requesting this one?

Kind regards.


#3

While running install_plasmoid_kde.sh, I get two errors. The first is more of a warning. After installing cryptography (pyOpenSSL==16.0.0), this appears after the mimic download:

You  are not currently on a branch.
Please specify which branch you want to merch with.
See git-pull(1) for details.

The next messages are errors:

E: Unable to locate packate qml-module-qtquick-controls2
E: Unable to locate package libkf5plasma-dev

Then, after configuring the C++ compiler,

CMake Error at (CMakeLists.txt: 10 (find_package):
  Could not find a package configuration file provided by "ECM" with any of
  the following names:

    ECMConfig.cmake
    ecm-config.cmake

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

-- Configuring incomplete!, errors occurred!

None of the two missing packages in the first two errors nor the extra-cmake-modules (“ECM”) package exist in Debian Jessies repositories. (They also don’t exist in Ubuntu 16 repositories, and I get the same errors in Ubuntu, but I’m addressing that in a different post.)