Very difficult time getting Kalendar going. MAKE error

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
tanstaafl72555
Posts: 9
Joined: Sat Jun 05, 2021 4:27 pm

Very difficult time getting Kalendar going. MAKE error

#1 Post by tanstaafl72555 »

So, in order to try and install what looks like a very nice KALENDAR app, I followed the following instructions:

kalendar.zip file, unarchive it, and move into the resultant kalendar-master and then down to the /src file

then the docs said some conflicting stuff. Said I needed to run qmake. Not installed so ran the following command:

sudo apt-get install qtbase5-dev

NOTE: the qt in the instructions referenced qtbase3 not five. I attempted to run sudo apt-get install qtbase3-dev but was told no such package existed.

Then ran qmake. No errors.

then ran make. Got the following return

$ make
g++ -c -pipe -std=c++11 -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp
In file included from ./persistence/securepmanager.h:4,
from ./view/eventdialog.h:24,
from view/monthview.h:21,
from main.cpp:1:
./persistence/pmanager.h:4:10: fatal error: sqlite3.h: No such file or directory
4 | #include <sqlite3.h> /* Version: 3.9.2 */
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:640: main.o] Error 1

I have ZERO idea what I am doing here. It appears to me that either I have a qt base 3 on my system and boogered it up by installing qt5, OR the make command looks for qt3 and did not find it, OR... something else :)

Do I need to remove some packages from my system (if so, how? I already removed sqlite3 since it was stated as the offending party).

Anyone willing to take the time to explain to me the errors above ... what the machine is telling me, as well as how to fix... I will buy you a cup of your fave coffee!

Thanks in advance.

tanstaafl72555
Posts: 9
Joined: Sat Jun 05, 2021 4:27 pm

Re: Very difficult time getting Kalendar going. MAKE error

#2 Post by tanstaafl72555 »

PS. I reinstalled sqlite3, and then retried the make command. same error

User avatar
siamhie
Global Moderator
Posts: 3774
Joined: Fri Aug 20, 2021 5:45 pm

Re: Very difficult time getting Kalendar going. MAKE error

#3 Post by siamhie »

I think you will need to install libsqlite3-dev.

from the GitHub page

Code: Select all

Compilation

You need to have qmake. In Fedora you can find it inside the qt-devel package.

You need to install also sqlite3 developer package. In Fedora the package is called sqlite-devel.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Stevo
Developer
Posts: 14865
Joined: Fri Dec 15, 2006 7:07 pm

Re: Very difficult time getting Kalendar going. MAKE error

#4 Post by Stevo »

It's very complicated, to say the least. You should also install cmake, learn how to preprocess the code with that, and take a look inside the CmakeLists.txt file in the source for necessary packages and minimum versions of same. Bad news--the name of the Debian -dev packages usually are rather different from those in that file.

User avatar
markol
Posts: 416
Joined: Sat Jan 30, 2021 8:33 am

Re: Very difficult time getting Kalendar going. MAKE error

#5 Post by markol »

It worked for me (in the first try), just follow the instructions.

BTW... Norbert has Kalendar in his repos, but you have to upgrade Plasma to more recent version

User avatar
Stevo
Developer
Posts: 14865
Joined: Fri Dec 15, 2006 7:07 pm

Re: Very difficult time getting Kalendar going. MAKE error

#6 Post by Stevo »

To use his build, you'll need a newer Plasma, but I'll check to see if I can backport his debianization on MX 21's.

User avatar
markol
Posts: 416
Joined: Sat Jan 30, 2021 8:33 am

Re: Very difficult time getting Kalendar going. MAKE error

#7 Post by markol »

Stevo wrote: Wed May 04, 2022 6:29 pm To use his build, you'll need a newer Plasma, but I'll check to see if I can backport his debianization on MX 21's.
That would be great, however
Kalendar requires KFrameworks 5.88 and version 21.12 of the KDE PIM-related dependencies (e.g. Akonadi, kdepim-runtime) to be installed.

User avatar
Stevo
Developer
Posts: 14865
Joined: Fri Dec 15, 2006 7:07 pm

Re: Very difficult time getting Kalendar going. MAKE error

#8 Post by Stevo »

I did some checking, and even Kalendar 1.0 needs a newer Plasma framework than we have in Bullseye's 5.72: 5.86. And 22.04 needs plasma 5.92.

The only way I can see for this to happen is to add the third-party Plasma update repos mentioned above to MX 21's, and I'm pretty sure Kalendar is in those repos, so you'll just need to install it with normal methods. You'll probably want to backup your system by making a snapshot or with Timeshift first, just to be safe.

User avatar
markol
Posts: 416
Joined: Sat Jan 30, 2021 8:33 am

Re: Very difficult time getting Kalendar going. MAKE error

#9 Post by markol »

Kalendar is now included in Gear 22.04 -> https://kde.org/announcements/gear/22.04.0/

Post Reply

Return to “MX KDE Official Release”