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.
Very difficult time getting Kalendar going. MAKE error
-
- Posts: 9
- Joined: Sat Jun 05, 2021 4:27 pm
-
- Posts: 9
- Joined: Sat Jun 05, 2021 4:27 pm
Re: Very difficult time getting Kalendar going. MAKE error
PS. I reinstalled sqlite3, and then retried the make command. same error
Re: Very difficult time getting Kalendar going. MAKE error
I think you will need to install libsqlite3-dev.
from the GitHub page
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.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: Very difficult time getting Kalendar going. MAKE error
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.
Re: Very difficult time getting Kalendar going. MAKE error
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
BTW... Norbert has Kalendar in his repos, but you have to upgrade Plasma to more recent version
Re: Very difficult time getting Kalendar going. MAKE error
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.
Re: Very difficult time getting Kalendar going. MAKE error
That would be great, howeverStevo 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.
Kalendar requires KFrameworks 5.88 and version 21.12 of the KDE PIM-related dependencies (e.g. Akonadi, kdepim-runtime) to be installed.
Re: Very difficult time getting Kalendar going. MAKE error
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.
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.
Re: Very difficult time getting Kalendar going. MAKE error
Kalendar is now included in Gear 22.04 -> https://kde.org/announcements/gear/22.04.0/