File: INSTALL-linux

package info (click to toggle)
klog 2.4.2-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 12,228 kB
  • sloc: cpp: 51,678; makefile: 15
file content (74 lines) | stat: -rw-r--r-- 2,391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Follow these steps to build KLog.

KLog requires Qt6 to be built.

Currently, many distributions are still distributing Qt4 as a default Qt
version so it may be needed that you install Qt6 to be able to build KLog in
your system.

install may depend on your distribution, however, check for similar names &
versions and it will probably work :-)

If you have any suggestion for this file, please contact me. (Contact
details in the AUTHORS file).


1. Install the KLog dependencies

There are dependencies to build KLog and dependencies to run KLog.

The dependencies to build KLog are:
        - make qmake6 qt6-base-dev qt6-declarative-dev libhamlib-dev build-essential libgl1-mesa-dev qt6-serialport-dev qt6-positioning-dev qt6-charts-dev qt6-l10n-tools

In Debian it is done with: 
         apt install -y --fix-missing make qmake6 qt6-location-plugins qt6-base-dev qt6-declarative-dev libhamlib-dev build-essential libgl1-mesa-dev qt6-serialport-dev qt6-positioning-dev qt6-charts-dev qt6-l10n-tools

*** TO BE UPDATED: The dependencies to run KLog once installed are:
        - libqt5sql5-sqlite, qml-module-qtquick-window2, qml-module-qtlocation, qml-module-qtpositioning, qml-module-qtquick2 & qml-module-qtquick-controls2

Again in Debian, it is done with:
         apt-get install libqt5sql5-sqlite qml-module-qtquick-window2 qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick2 qml-module-qtquick-controls2

If your are using the Debian KLog package the dependencies to run KLog will be automatically installed when installing the KLog package.


In your distribution, you should know how to install new packages :-)


Make sure you have qt6 available. You can do it with the qtchooser command.
The output should be something like:

        user@debian:~$ qmake6 -v
        QMake version 3.1
        Using Qt version 6.4.2 in /usr/lib/x86_64-linux-gnu

If Qt is not at least Qt6, check your instalallation as one of the previous packages may be missing.


2.- Untar klog

    tar xvzf klog-version.tar.gz

    enter the KLog directory

    cd klog-version


3.- Generate the Makefile

    qmake6 PREFIX=/usr/local src.pro

4. Make everything.

    make

If everything goes OK, you should have the klog executable in the folder.

5.- To install KLog, execute the following from the root account.

    make install

Now you are done. Just execute klog and enjoy!


73