agateau/nanonote

Unable to install on Debian stable

Closed this issue · 3 comments

Here is the output from dpkg --install:

Preparing to unpack nanonote_1.1.0-0agc1_amd64.deb ...
Unpacking nanonote (1.1.0-0agc1) ...
dpkg: dependency problems prevent configuration of nanonote:
 nanonote depends on libqt5core5a (>= 5.9.0~beta); however:
  Version of libqt5core5a:amd64 on system is 5.7.1+dfsg-3+deb9u1.

I also tried to build using tarball provided but the cmake version required by nanonote is higher than what is available on Debian stable:

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  CMake 3.10 or higher is required.  You are running version 3.7.2

Are libqt5core5a and cmake versions hard dependencies? Will the previous versions work?

I believe the app should work with Qt 5.6, so Qt should not be a problem. The build indeed requires CMake 3.10, but you can install it by downloading a prebuilt binary from cmake.org and install it alongside your system.

I am going to try to switch the Docker used to build the app from Ubuntu 18.04 to Debian 9. If it works that should produce a usable Debian package for you and other Debian stable users.

Sorry I haven't posted more on that. My Docker experience failed, because the C++ compiler on Debian 9 is too old. I could make things work by not using C++17 features, but Nanonote is also a small project where I can experiment with these features, so I'd rather keep them there.