root wrote:
[...]
> You should run:
>
> slpkg -F qt5
>
> to find if any repository has a version later than 5.7.1
>
> I find no repository has 5.8 for 14.2.
Thanks for the 'slpkg -F xyz' tip.
Meanwhile, I found qt5-5.11.2 at
http://www.slackware.com/~alien/slackbuilds/qt5/pkg/current/ and installed
it by installpkg:
While trying to solve each dependency to make QMapShack compile using
qmapshack-1.12.0.tar.gz from
https://bitbucket.org/maproom/qmapshack/downloads/ the make procedure
appears to fail starting with a request for libproj.so.12:
/usr/bin/ld: warning: libproj.so.12, needed by /usr/lib64/gcc/x86_64-
slackware-linux/8.2.0/../../../../lib64/libgdal.so, not found (try using -
rpath or -rpath-link)
The complete output of the failed make is at
https://pastebin.com/hUskhs0v
The error above is on line 369, followed by various requests for libraries
which do however exist on the system.
I looked into Proj and as far as I understand libproj.so.12 comes with
proj-4.9.3-x86_64-1_slonly.txz while my Slackware current now has a newer
version of Proj.
I also installed proj-4.9.3-x86_64-1_slonly.txz since the program requests
it, resulting in a /usr/lib/libproj.so.12 file as well as a
/usr/lib64/libproj.so.13
I don't have multilibs set up on my 64 current installation, but as far as I
understand, QMapShack is not a 32-bit compatible application anyway.
Before I ran 'make' I did 'ccmake ../QMapShack' against the sources from
https://bitbucket.org/maproom/qmapshack/downloads/ following the procedure
at
https://bitbucket.org/maproom/qmapshack/overview
These were the autogenerated variables (which can modified) or added to:
-----------------------------------------------------------
IN_INSTALL_DIR */usr/local/bin
BUILD_FOR_LOCAL_SYSTEM *OFF
BUILD_QMAPSHACK *ON
BUILD_QMAPTOOL *ON
CMAKE_BUILD_TYPE *RelWithDebInfo
CMAKE_INSTALL_PREFIX */usr/local
DATA_INSTALL_DIR */usr/local/share
DATA_INSTALL_PREFIX */usr/local/share
EXEC_INSTALL_PREFIX */usr/local
GDAL_INCLUDE_DIR */usr/include
GDAL_LIBRARY */usr/lib64/libgdal.so
HTML_INSTALL_DIR */usr/local/share/doc/HTML
ICON_INSTALL_DIR */usr/local/share/icons
INCLUDE_INSTALL_DIR */usr/local/include
INFO_INSTALL_DIR */usr/local/share/info
KEEP_OLD_TRANSLATIONS *ON
LIBEXEC_INSTALL_DIR */usr/local/libexec
LIB_INSTALL_DIR */usr/local/lib
LIB_SUFFIX *
LOCALE_INSTALL_DIR */usr/local/share/locale
MAN_INSTALL_DIR */usr/local/share/man
PLUGIN_INSTALL_DIR */usr/local/lib/qmapshack
Qt5Core_DIR */usr/lib64/cmake/Qt5Core
Qt5DBus_DIR */usr/lib64/cmake/Qt5DBus
Qt5Gui_DIR */usr/lib64/cmake/Qt5Gui
Qt5LinguistTools_DIR */usr/lib64/cmake/Qt5LinguistTools
Qt5Network_DIR */usr/lib64/cmake/Qt5Network
Qt5Positioning_DIR */usr/lib64/cmake/Qt5Positioning
Qt5PrintSupport_DIR */usr/lib64/cmake/Qt5PrintSupport
Qt5Qml_DIR */usr/lib64/cmake/Qt5Qml
Qt5Quick_DIR */usr/lib64/cmake/Qt5Quick
Qt5Sql_DIR */usr/lib64/cmake/Qt5Sql
Qt5UiTools_DIR */usr/lib64/cmake/Qt5UiTools
Qt5WebChannel_DIR */usr/lib64/cmake/Qt5WebChannel
Qt5WebEngineCore_DIR */usr/lib64/cmake/Qt5WebEngineCore
Qt5WebEngineWidgets_DIR */usr/lib64/cmake/Qt5WebEngineWidgets
Qt5Widgets_DIR */usr/lib64/cmake/Qt5Widgets
Qt5Xml_DIR */usr/lib64/cmake/Qt5Xml
SBIN_INSTALL_DIR */usr/local/sbin
SHARE_INSTALL_PREFIX */usr/local/share
SOUND_INSTALL_DIR */usr/local/share/sounds
SYSCONF_INSTALL_DIR */usr/local/etc
UPDATE_TRANSLATIONS *OFF
USE_QT5DBus *ON
XDG_APPS_DIR */usr/local/share/applications
XDG_DIRECTORY_DIR */usr/local/share/desktop-directories
Press [enter] to edit option Press [d] to delete an entry
CMake Version 3.12.1
Press [c] to configure Press [g] to generate and exit
Press [h] for help Press [q] to quit without generating
Press [t] to toggle advanced mode (Currently Off)
------------------------------------------------------------
I pressed 'g' and thereafter ran 'make' but the compilation didn't work.
I can install an older version of QMapShack from a precompiled package by:
installpkg qmapshack-1.11.1-x86_64-1_slonly.txz
...
Executing install script...
Package qmapshack-1.11.1-x86_64-1_slonly.txz installed.
But when running 'qmapshack' after, there's the following error relating to
libproj.so.12: ...
qmapshack: error while loading shared libraries: libproj.so.12: cannot open
shared object file: No such file or directory
... but the file exist on the system in /usr/lib/libproj.so.12
While still having qmapshack-1.11.1 installed, doing: ...
ldd /usr/bin/qmapshack |grep "not found"
... returns:
libproj.so.12 => not found
libpoppler.so.68 => not found
libxerces-c-3.1.so => not found
libicui18n.so.56 => not found
libicuuc.so.56 => not found
libicudata.so.56 => not found
libpq.so.5 => not found
In case anyone has QMapShack installed on a Slackware current 64, how did
you go about installing it? I guess it can be a very complex installation
since it's a GIS program which utilises many libraries and toolkits.
At the same time, on previous 14.2 Slackware 64 stable, installing
QMapShack-1.11.1 was breeze, but that was a different system with a
different collection of installed libraries including multilib (in case that
may make some difference after all.)
Many thanks any random advise!
Tuxedo
Dependencies installed including optional ones in the new Slackware 64
current:
gdal (installed via slpkg)
geos (installed via slpkg)
proj (intsalled via slpkg)
qt5-webkit (installed version from
http://www.slackware.com/~alien/slackbuilds/qt5-webkit/pkg64/current/)
qt5 (sbopkg did not work but installpkg with version from
http://www.slackware.com/~alien/slackbuilds/qt5/pkg/current/ did)
libxkbcommon (installed 0.7.1 via slpkg)
libinput (exists in /usr/bin/libinput)
libwacom (exists in /usr/share/libwacom)
meson (exists in /usr/bin/meson)
python3 (python 3.6 exists in /usr/bin/python3.6)
ninja (ninja-1-8-2 appears to exist although slpkg wants to upgrade and list
1.7.2 as a new version!?)
graphviz (install via slpkg) / optional dependency: gts (installed)
python-evdev (installed)
pyudev (installed)
routino (installed via sbopkg)
quazip (installed via slpkg)
updated 'proj' to version 5.20
installed poppler-qt5 via sbo (poppler on system was for qt4)
installed freexl via slpkg
installed xerces-c 3.2.0 via sbo
libicui (/usr/lib64/libicui18n.so) but what is icu4c-61.1?
installed netcdf (4.4.1.1) via slpkg which also installed the hdf5
(1.1.15_patch1) dependency
hdf4 exists in sbo but with note on top that netcdf is installed
installed htf (4.2.13) via slpkg
libdf.so exists in /usr/lib64/libdf.so