SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Or not.. I built a new SDL2 from source and upgradedpkg to SDL2-2.28.3-x86_64-1.txz - but I'm still getting the same error:
Code:
CMake Version: 3.21.4
CMake System Name: Linux
Build Type: Release
CMake Error at CMakeLists.txt:50 (find_package):
Could not find a configuration file for package "SDL2" that is compatible
with requested version "2.28.5".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/SDL2/sdl2-config.cmake, version: 2.28.3
/usr/X11R6/lib64/cmake/SDL2/sdl2-config.cmake, version: 2.28.3
-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/duckstation-0.1-6232/build/CMakeFiles/CMakeOutput.log".
Or not.. I built a new SDL2 from source and upgradedpkg to SDL2-2.28.3-x86_64-1.txz - but I'm still getting the same error:
Code:
CMake Version: 3.21.4
CMake System Name: Linux
Build Type: Release
CMake Error at CMakeLists.txt:50 (find_package):
Could not find a configuration file for package "SDL2" that is compatible
with requested version "2.28.5".
The following configuration files were considered but not accepted:
/usr/lib64/cmake/SDL2/sdl2-config.cmake, version: 2.28.3
/usr/X11R6/lib64/cmake/SDL2/sdl2-config.cmake, version: 2.28.3
-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/duckstation-0.1-6232/build/CMakeFiles/CMakeOutput.log".
Looks like it's requesting 2.28.5. This is the version that is in -current. Have you tried grabbing the sources from the current tree and compiling them on 15.0? I assume you are using Slackware 15.0?
Looks like it's requesting 2.28.5. This is the version that is in -current. Have you tried grabbing the sources from the current tree and compiling them on 15.0? I assume you are using Slackware 15.0?
I am running 15.0 yes, and I just went into sources for /d , and downloaded cmake-3.28.1.tar.gz (https://github.com/libsdl-org/SDL/re...release-2.28.5) ... and now i'm doing the same shit with the slackbuilds for cmake......
all I changed was $PKGNAM-*.tar.?z to $PKGNAM-*.tar.gz , since the download doesn't have a lz file... and of course I'm getting this
Code:
CMake-3.28.1/Utilities/std/cmext/enum_set
CMake-3.28.1/Utilities/std/cmext/iterator
CMake-3.28.1/Utilities/std/cmext/memory
CMake-3.28.1/Utilities/std/cmext/string_view
CMake-3.28.1/Utilities/std/cmext/type_traits
CMake-3.28.1/bootstrap
CMake-3.28.1/cmake_uninstall.cmake.in
CMake-3.28.1/configure
./cmake.SlackBuild: line 68: cd: cmake-3.28.1: No such file or directory
root@slackmachine:/home/slackuser/source/cmake# ./cmake.SlackBuild
tar: /home/slackuser/source/cmake/cmake-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@slackmachine:/home/slackuser/source/cmake#
If this rabbit hole gets too deep, remember you still have the option of using the flatpak verison. The flatpak version is at 0.1-6283-g1d751d33 and Alien Bob provides flatpak packages that work flawlessly. I always prefer to compile my programs but it's nice to have flatpak for those rare packages that are a pain for one reason or another.
I mean to make my life easier should I just download from current? my only worry is has it deviated enough from 15.0? I don't mess with --current that much.
Also you could run Slackware-current live and test your script that way since it has all the updated libraries you need. If it works them you can at least see if the newest version of Duckstation fixes your controller issue. Maybe not the most elegant solution but one that would work for testing purposes.
Edit: just saw your post, I would run Slackware-current live first before I committed to a current full install.
If this rabbit hole gets too deep, remember you still have the option of using the flatpak verison. The flatpak version is at 0.1-6283-g1d751d33 and Alien Bob provides flatpak packages that work flawlessly. I always prefer to compile my programs but it's nice to have flatpak for those rare packages that are a pain for one reason or another.
I'm going to stubbornly avoid flatpak ... I tried an appimage, but this is all that happens when I try to run it in console:
Code:
slackuser@slackmachine:~/source$ ./duckstation.appimage
Forcing X11 instead of Wayland, due to various protocol limitations
and Qt issues. If you want to use Wayland, launch DuckStation with
I_WANT_A_BROKEN_WAYLAND_UI=YES set.
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_duckst0r2eoD/AppRun.wrapped)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/AppRun.wrapped)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Widgets.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Network.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libSDL2-2.0.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libdbus-1.so.3)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libcurl.so.4)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Gui.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Gui.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Core.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Core.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Core.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libsystemd.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libcrypto.so.3)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libldap-2.5.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libglib-2.0.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/liblzma.so.5)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libunistring.so.2)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libgnutls.so.30)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libkrb5.so.3)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libkrb5support.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libsasl2.so.2)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libp11-kit.so.0)
slackuser@slackmachine:~/source$
Also you could run Slackware-current live and test your script that way since it has all the updated libraries you need. If it works them you can at least see if the newest version of Duckstation fixes your controller issue. Maybe not the most elegant solution but one that would work for testing purposes.
Edit: just saw your post, I would run Slackware-current live first before I committed to a current full install.
I'm not going to run --current , but can I get away with just updating CMake only? if not how should I properly modify the current slackbuild for cmake?
I'm going to stubbornly avoid flatpak ... I tried an appimage, but this is all that happens when I try to run it in console:
Code:
slackuser@slackmachine:~/source$ ./duckstation.appimage
Forcing X11 instead of Wayland, due to various protocol limitations
and Qt issues. If you want to use Wayland, launch DuckStation with
I_WANT_A_BROKEN_WAYLAND_UI=YES set.
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_duckst0r2eoD/AppRun.wrapped)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/AppRun.wrapped)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Widgets.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Network.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libSDL2-2.0.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libdbus-1.so.3)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libcurl.so.4)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Gui.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Gui.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Core.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Core.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libQt6Core.so.6)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libsystemd.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libcrypto.so.3)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libldap-2.5.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libglib-2.0.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/liblzma.so.5)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libunistring.so.2)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libgnutls.so.30)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libkrb5.so.3)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libkrb5support.so.0)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libsasl2.so.2)
/tmp/.mount_duckst0r2eoD/AppRun.wrapped: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_duckst0r2eoD/usr/bin/../lib/libp11-kit.so.0)
slackuser@slackmachine:~/source$
Fair enough, but I assure you flatpak is dead simple. Once you get Alien Bob's packages installed its as simple as
Code:
flatpak install org.duckstation.DuckStation
flatpak run org.duckstation.DuckStation
Fair enough, but I assure you flatpak is dead simple. Once you get Alien Bob's packages installed its as simple as
Code:
flatpak install org.duckstation.DuckStation
flatpak run org.duckstation.DuckStation
Ok I will not totally discount, but I am already too deep and if I can just solve my CMake - so in your opinion, is --current still as close to 15.0 that I can just upgrade my CMake from that? Or should I just compile? I'm just getting stuck here:
Code:
CMake-3.28.1/bootstrap
CMake-3.28.1/cmake_uninstall.cmake.in
CMake-3.28.1/configure
./cmake.SlackBuild: line 68: cd: cmake-3.28.1: No such file or directory
root@slackmachine:/home/slackuser/source/cmake#
Ok I will not totally discount, but I am already too deep and if I can just solve my CMake - so in your opinion, is --current still as close to 15.0 that I can just upgrade my CMake from that? Or should I just compile? I'm just getting stuck here:
Code:
CMake-3.28.1/bootstrap
CMake-3.28.1/cmake_uninstall.cmake.in
CMake-3.28.1/configure
./cmake.SlackBuild: line 68: cd: cmake-3.28.1: No such file or directory
root@slackmachine:/home/slackuser/source/cmake#
I honestly can't tell you. Almost 2 years separate 15.0 and -current so upgrading cmake might be as easy as grabbing the source from -current and compiling it on 15.0, then again it may not. There might be a web of other packages that have to be upgraded to make it work. maybe someone else who has tried it can chime in.
I honestly can't tell you. Almost 2 years separate 15.0 and -current so upgrading cmake might be as easy as grabbing the source from -current and compiling it on 15.0, then again it may not. There might be a web of other packages that have to be upgraded to make it work. maybe someone else who has tried it can chime in.
Ah well YOLO, I downloaded the source from --current and building cmake right now.......On my 15.0-x64
-- Found OpenGL: /usr/lib64/libOpenGL.so
CMake Error at Utilities/Sphinx/CMakeLists.txt:50 (message):
SPHINX_EXECUTABLE (sphinx-build) is not found!
-- Configuring incomplete, errors occurred!
---------------------------------------------
I give up ..... But why won't the appimage run then..... , chmod to +x and thats it usually, works for other appimages i have downloaded...but not this one...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.