tumic0 / GPXSee

GPS log file viewer and analyzer with support for GPX, TCX, KML, FIT, IGC, NMEA, SLF, SML, LOC, GPI, GeoJSON and OziExplorer files.
https://www.gpxsee.org
GNU General Public License v3.0
937 stars 129 forks source link

Unable to either compile code or install .deb file. #541

Closed cascmptrski closed 3 months ago

cascmptrski commented 3 months ago

Attempts to install the Ubuntu 22.04 .deb file fail with the following unmet dependencies. At this point I have been unable to find any library that contains these files.

$ sudo apt install ~/Downloads/Applications/GPS/gpxsee_13.19-1_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'gpxsee' instead of '/home/corky/Downloads/Applications/GPS/gpxsee_13.19-1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gpxsee : Depends: libqt5concurrent5t64 (>= 5.6.0~rc) but it is not installable
          Depends: libqt5core5t64 (>= 5.15.1) but it is not installable
          Depends: libqt5gui5t64 (>= 5.14.1) but it is not installable or
                   libqt5gui5-gles (>= 5.14.1) but it is not going to be installed
          Depends: libqt5network5t64 (>= 5.15.1) but it is not installable
          Depends: libqt5printsupport5t64 (>= 5.0.2) but it is not installable
          Depends: libqt5sql5t64 (>= 5.0.2) but it is not installable
          Depends: libqt5widgets5t64 (>= 5.14.1) but it is not installable
          Depends: qtbase-abi-5-15-13 but it is not installable
          Recommends: qt5-image-formats-plugins but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

The qt5 packages that are currently installed are as follows:

$ apt list --installed | grep qt5

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libqt5concurrent5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5core5a/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed]
libqt5dbus5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5designer5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5designercomponents5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5gui5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5help5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5multimedia5-plugins/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5multimedia5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5multimediagsttools5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5multimediawidgets5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5network5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5opengl5-dev/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5opengl5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5positioning5-plugins/jammy,now 5.15.3+dfsg-3 amd64 [installed,auto-removable]
libqt5positioning5/jammy,now 5.15.3+dfsg-3 amd64 [installed,automatic]
libqt5positioningquick5/jammy,now 5.15.3+dfsg-3 amd64 [installed,auto-removable]
libqt5printsupport5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5qml5/jammy,now 5.15.3+dfsg-1 amd64 [installed,automatic]
libqt5qmlmodels5/jammy,now 5.15.3+dfsg-1 amd64 [installed,automatic]
libqt5qmlworkerscript5/jammy,now 5.15.3+dfsg-1 amd64 [installed,auto-removable]
libqt5quick5-gles/jammy,now 5.15.3+dfsg-1 amd64 [installed,automatic]
libqt5quickcontrols2-5/jammy,now 5.15.3+dfsg-1 amd64 [installed,auto-removable]
libqt5quickparticles5/jammy,now 5.15.3+dfsg-1 amd64 [installed,auto-removable]
libqt5quickshapes5/jammy,now 5.15.3+dfsg-1 amd64 [installed,auto-removable]
libqt5quicktemplates2-5/jammy,now 5.15.3+dfsg-1 amd64 [installed,auto-removable]
libqt5quicktest5/jammy,now 5.15.3+dfsg-1 amd64 [installed,auto-removable]
libqt5quickwidgets5/jammy,now 5.15.3+dfsg-1 amd64 [installed,automatic]
libqt5sensors5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5serialport5-dev/jammy,now 5.15.3-1 amd64 [installed]
libqt5serialport5/jammy,now 5.15.3-1 amd64 [installed]
libqt5sql5-sqlite/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5sql5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5svg5-dev/jammy,now 5.15.3-1 amd64 [installed]
libqt5svg5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5test5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
libqt5waylandclient5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5webchannel5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5webengine-data/jammy,jammy,now 5.15.9+dfsg-1 all [installed,automatic]
libqt5webengine5/jammy,now 5.15.9+dfsg-1 amd64 [installed,auto-removable]
libqt5webenginecore5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
libqt5webenginewidgets5/jammy,now 5.15.9+dfsg-1 amd64 [installed]
libqt5webkit5/jammy,now 5.212.0~alpha4-15ubuntu1 amd64 [installed,automatic]
libqt5widgets5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed]
libqt5x11extras5/jammy,now 5.15.3-1 amd64 [installed,automatic]
libqt5xml5/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
qdoc-qt5/jammy,now 5.15.3-1 amd64 [installed,automatic]
qhelpgenerator-qt5/jammy,now 5.15.3-1 amd64 [installed,automatic]
qt5-assistant/jammy,now 5.15.3-1 amd64 [installed,automatic]
qt5-gtk-platformtheme/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
qt5-qmake-bin/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed,automatic]
qt5-qmake/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64 [installed]
qt5-qmltooling-plugins/jammy,now 5.15.3+dfsg-1 amd64 [installed,automatic]
qtattributionsscanner-qt5/jammy,now 5.15.3-1 amd64 [installed,automatic]

Additionally, when I attempt to compile from source. I get the following errors:

$ lrelease gpxsee.pro
WARNING: Project ERROR: Unknown module(s) in QT: positioning openglwidgets core5compat
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_en.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_cs.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_sv.qm'...
    Generated 470 translation(s) (470 finished and 0 unfinished)
    Ignored 4 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_de.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_ru.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_fi.qm'...
    Generated 458 translation(s) (458 finished and 0 unfinished)
    Ignored 16 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_fr.qm'...
    Generated 465 translation(s) (464 finished and 1 unfinished)
    Ignored 9 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_pl.qm'...
    Generated 397 translation(s) (393 finished and 4 unfinished)
    Ignored 77 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_nb.qm'...
    Generated 466 translation(s) (466 finished and 0 unfinished)
    Ignored 8 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_da.qm'...
    Generated 466 translation(s) (466 finished and 0 unfinished)
    Ignored 8 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_tr.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_es.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_pt_BR.qm'...
    Generated 377 translation(s) (372 finished and 5 unfinished)
    Ignored 97 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_uk.qm'...
    Generated 471 translation(s) (471 finished and 0 unfinished)
    Ignored 3 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_hu.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_it.qm'...
    Generated 417 translation(s) (416 finished and 1 unfinished)
    Ignored 57 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_eo.qm'...
    Generated 443 translation(s) (443 finished and 0 unfinished)
    Ignored 31 untranslated source text(s)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_zh.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_ca.qm'...
    Generated 474 translation(s) (474 finished and 0 unfinished)
Updating '/home/corky/Downloads/Applications/GPS/GPXSee-13.19/lang/gpxsee_ko.qm'...
    Generated 466 translation(s) (466 finished and 0 unfinished)
    Ignored 8 untranslated source text(s)

The end result is that I am unable to install this on my system. Can you please provide a complete list of dependencies for this software ideally for both the source install and the .deb install.

Thanks

tumic0 commented 3 months ago

Attempts to install the Ubuntu 22.04 .deb file fail with the following unmet dependencies. At this point I have been unable to find any library that contains these files.

You are trying to install the wrong package (looks like Debian testing). You must download/install the package for Ubuntu 22.04. Installing Debian packages on Ubuntu will not work.

Additionally, when I attempt to compile from source. I get the following errors:

There are no errors. This is the expected output. But this is just the first step of building GPXSee - generating the translation files. You have to run the qmake and make steps as well.

cascmptrski commented 3 months ago

Okay, so when I attempt to run make, I receive the following error which would seem to indicate that something is missing:

-I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o src/common/dem.o src/common/dem.cpp
src/common/dem.cpp:19:10: fatal error: private/qzipreader_p.h: No such file or directory
   19 | #include <private/qzipreader_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2779: src/common/dem.o] Error 1
cascmptrski commented 3 months ago

Indeed I downloaded the .deb for the wrong version of Ubuntu (version 24.04 when it should have been 22.04)

Thanks