LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2024, 09:29 PM   #31
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,731

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393

Quote:
Originally Posted by Jeebizz View Post
Ah well YOLO, I downloaded the source from --current and building cmake right now.......On my 15.0-x64
I hear you lol. This is why I always keep a 15.0 and -current VM ready to go in virt-manager. So I can try things exactly like this but don't have to worry about breaking anything on my bare metal install.
 
Old 01-10-2024, 09:34 PM   #32
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by Jeebizz View Post
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...
It needs glibc 2.34. The version in Slackware-15.0 is 2.33.

It'd probably work in -current, but I'd only advocate trying it on a spare partition or VM as advised above.
 
1 members found this post helpful.
Old 01-10-2024, 09:36 PM   #33
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Quote:
Originally Posted by rkelsen View Post
It needs glibc 2.34. The version in Slackware-15.0 is 2.33.

It'd probably work in -current, but I'd only advocate trying it on a spare partition or VM as advised above.
I just don't have that kind of time to even bother ....... I was hoping I could just get away with compiling cmake if need be ..... *sigh*
 
Old 01-10-2024, 10:14 PM   #34
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
I went back to the cmake source for 15.0 , and tweaked the slackbuild again..... cmake3.28.1 is now compiling *fingers crossed*

Code:
GlobalCommonGenerator.cxx.o
[ 42%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalGenerator.cxx.o
[ 42%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobalUnixMakefileGenerator3.cxx.o
[ 42%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGlobVerificationManager.cxx.o
[ 42%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGraphVizWriter.cxx.o
[ 42%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmImportedCxxModuleInfo.cxx.o
[ 43%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmInstallGenerator.cxx.o
[ 43%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmInstallGetRuntimeDependenciesGenerator.cxx.o
[ 43%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmInstallExportGenerator.cxx.o
[ 43%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmInstalledFile.cxx.o
[ 43%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmInstallFileSetGenerator.cxx.o

Last edited by Jeebizz; 01-10-2024 at 10:16 PM.
 
Old 01-10-2024, 10:22 PM   #35
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
success...

Code:
usr/share/mime/packages/
usr/share/mime/packages/cmakecache.xml
usr/share/vim/
usr/share/vim/vimfiles/
usr/share/vim/vimfiles/indent/
usr/share/vim/vimfiles/indent/cmake.vim
usr/share/vim/vimfiles/syntax/
usr/share/vim/vimfiles/syntax/cmake.vim
WARNING:  zero length file usr/share/cmake-3.28/Modules/IntelVSImplicitPath/hello.f

Slackware package /tmp/cmake-3.28.1-x86_64-1.txz created.

root@slackmachine:/home/slackuser/source/cmake# upgradepkg /tmp/cmake-3.28.1-x86_64-1.txz && /sbin/ldconfig


-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Version: 3.28.1
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!
root@slackmachine:/home/slackuser/source/duckstation#


Code:
...
...
  --> Deleting empty directory /usr/doc/cmake-3.21.4/cmsys/
  --> Deleting empty directory /usr/doc/cmake-3.21.4/cmlibuv/
  --> Deleting empty directory /usr/doc/cmake-3.21.4/cmlibrhash/
  --> Deleting empty directory /usr/doc/cmake-3.21.4/
Verifying package cmake-3.28.1-x86_64-1.txz.
Installing package cmake-3.28.1-x86_64-1.txz:
PACKAGE DESCRIPTION:
# cmake (cross-platform, open-source make system)
#
# CMake is used to control the software process using simple platform
# and compiler independent configuration files. CMake generates
# native makefiles and workspaces that can be used in the
# compiler environment of your choice.
#
# Homepage: http://www.cmake.org
#
Package cmake-3.28.1-x86_64-1.txz installed.
Package cmake-3.21.4-x86_64-1 upgraded with new package /tmp/cmake-3.28.1-x86_64-1.txz.
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!
root@slackmachine:/home/slackuser/source/duckstation# 

root@slackmachine:/home/slackuser/source/cmake#
.....lol

Last edited by Jeebizz; 01-10-2024 at 10:28 PM.
 
Old 01-10-2024, 10:38 PM   #36
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Code:
usr/lib64/pkgconfig/sdl2.pc
usr/share/
usr/share/aclocal/
usr/share/aclocal/sdl2.m4

Slackware package /tmp/SDL2-2.28.5-x86_64-1.txz created.

root@slackmachine:/home/slackuser/source/SDL2/SDL2# upgradepkg /tmp/SDL2-2.28.5-x86_64-1.txz 

+==============================================================================
| Upgrading SDL2-2.28.3-x86_64-1 package using /tmp/SDL2-2.28.5-x86_64-1.txz
+==============================================================================
Pre-installing package SDL2-2.28.5-x86_64-1...
Removing package: SDL2-2.28.3-x86_64-1-upgraded-2024-01-10,22:35:06
  --> Deleting /usr/doc/SDL2-2.28.3/BUGS.txt
  --> Deleting /usr/doc/SDL2-2.28.3/CREDITS.txt
  --> Deleting /usr/doc/SDL2-2.28.3/README-SDL.txt
  --> Deleting /usr/doc/SDL2-2.28.3/README.md
  --> Deleting /usr/doc/SDL2-2.28.3/TODO.txt
  --> Deleting /usr/doc/SDL2-2.28.3/WhatsNew.txt
  --> Deleting /usr/lib64/libSDL2-2.0.so.0.2800.3
  --> Deleting empty directory /usr/doc/SDL2-2.28.3/
Verifying package SDL2-2.28.5-x86_64-1.txz.
Installing package SDL2-2.28.5-x86_64-1.txz:
PACKAGE DESCRIPTION:
# SDL2 (Simple DirectMedia Layer Version 2)
#
# Simple DirectMedia Layer is a cross-platform development library
# designed to provide low-level access to audio, keyboard, mouse,
# joystick, and graphics hardware ia via OpenGL. It is used by
# video playback software, emulators, and games.
#
# Homepage: http://www.libsdl.org
#
Executing install script for SDL2-2.28.5-x86_64-1.txz.
Package SDL2-2.28.5-x86_64-1.txz installed.
Package SDL2-2.28.3-x86_64-1 upgraded with new package /tmp/SDL2-2.28.5-x86_64-1.txz.
root@slackmachine:/home/slackuser/source/SDL2/SDL2#

and now...

Code:
-- Could NOT find Libbacktrace (missing: LIBBACKTRACE_LIBRARY LIBBACKTRACE_INCLUDE_DIR) 
CMake Warning at CMakeLists.txt:57 (message):
  libbacktrace not found, crashes will not produce backtraces.


CMake Error at CMakeLists.txt:62 (find_package):
  Could not find a configuration file for package "Qt6" that is compatible
  with requested version "6.5.3".

  The following configuration files were considered but not accepted:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake, version: 6.5.2
    /usr/X11R6/lib64/cmake/Qt6/Qt6Config.cmake, version: 6.5.2



-- Configuring incomplete, errors occurred!
root@slackmachine:/home/slackuser/source/duckstation#
...I have qt6.5.2 .....Do I really need to recompile 6.5.3? I'll do it....just for everyone's amusement at this point


Click image for larger version

Name:	general-melchett-blackadder-quotes.jpg
Views:	16
Size:	26.0 KB
ID:	42377

Last edited by Jeebizz; 01-10-2024 at 10:43 PM.
 
Old 01-10-2024, 10:55 PM   #37
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
...Compiling qt 6.5.3 .....so i'll let it run, i'll check in the morning....
Code:
features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Python3: /usr/bin/python3.9 (found version "3.9.18") found components: Interpreter 
-- Found Ninja: /usr/bin/ninja (found suitable version "1.10.2", minimum required is "1.7.2") 
-- Configuring done (3.1s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/SBo/qt-everywhere-src-6.5.3/build/qtwebengine/src/gn
[814/11672] Performing build step for 'gn'
[0/1] Generating gn
ninja: Entering directory `/tmp/SBo/qt-everywhere-src-6.5.3/build/qtwebengine/src/gn/Release'
[54/195] CXX src/gn/commands.o
 
Old 01-11-2024, 06:41 AM   #38
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Quote:
-- Up-to-date: /tmp/SBo/package-qt6/usr/lib64/libQt6WebView.prl
-- Up-to-date: /tmp/SBo/package-qt6/usr/lib64/libQt6WebViewQuick.prl
-- Up-to-date: /tmp/SBo/package-qt6/usr/lib64/libQt6Pdf.prl
-- Up-to-date: /tmp/SBo/package-qt6/usr/lib64/libQt6PdfWidgets.prl
rm: cannot remove '/tmp/SBo/package-qt6/usr/lib64/cmake/Qt6/QtBuildInternals': No such file or directory

So it stopped there....now I gotta wait for a proper qt6.5.3 slackbuild......
 
Old 01-11-2024, 06:34 PM   #39
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
So, please tell me that qt6.5.3 will be possible for 15.0 ? .......I'm so damn close...
 
Old 01-13-2024, 11:51 AM   #40
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Now that I finally resolved my cmake, SDL2 and QT6.5.3 problem..... I run into this:


Code:
[ 80%] Building CXX object src/core/CMakeFiles/core.dir/spu.cpp.o
[ 81%] Building CXX object src/core/CMakeFiles/core.dir/system.cpp.o
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp: In function ‘void System::CheckForSettingsChanges(const Settings&)’:
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3725:8: warning: variable ‘controllers_updated’ set but not used [-Wunused-but-set-variable]
 3725 |   bool controllers_updated = false;
      |        ^~~~~~~~~~~~~~~~~~~
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp: At global scope:
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3728:5: error: expected declaration before ‘}’ token
 3728 |     }
      |     ^
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3729:3: error: expected declaration before ‘}’ token
 3729 |   }
      |   ^
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3731:3: error: expected unqualified-id before ‘if’
 3731 |   if (IsValid() && !controllers_updated)
      |   ^~
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3734:3: error: expected unqualified-id before ‘if’
 3734 |   if (g_settings.multitap_mode != old_settings.multitap_mode)
      |   ^~
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3737:31: error: expected constructor, destructor, or type conversion before ‘(’ token
 3737 |   Achievements::UpdateSettings(old_settings);
      |                               ^
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3739:38: error: expected constructor, destructor, or type conversion before ‘(’ token
 3739 |   FullscreenUI::CheckForConfigChanges(old_settings);
      |                                      ^
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3742:3: error: expected unqualified-id before ‘if’
 3742 |   if (g_settings.enable_discord_presence != old_settings.enable_discord_presence)
      |   ^~
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3751:3: error: expected unqualified-id before ‘if’
 3751 |   if (g_settings.log_level != old_settings.log_level || g_settings.log_filter != old_settings.log_filter ||
      |   ^~
/tmp/SBo/duckstation-0.1-6232/src/core/system.cpp:3759:1: error: expected declaration before ‘}’ token
 3759 | }
      | ^
make[2]: *** [src/core/CMakeFiles/core.dir/build.make:861: src/core/CMakeFiles/core.dir/system.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1329: src/core/CMakeFiles/core.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
 
Old 01-13-2024, 12:36 PM   #41
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 709
Blog Entries: 1

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
https://slackware.uk/slackdce/15.0/x...s/duckstation/
why dont you try to install binary? maybe it works...

deps are ok in your system?
Code:
sudo slpkg -t duckstation 
Database loading... ✔️
The list below shows the packages 'duckstation' with dependencies:

duckstation
 └─ python3-webencodings
    md4c
    html5lib
    double-conversion
    qt6

Last edited by rizitis; 01-13-2024 at 12:37 PM.
 
Old 01-13-2024, 12:57 PM   #42
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Quote:
Originally Posted by rizitis View Post
https://slackware.uk/slackdce/15.0/x...s/duckstation/
why dont you try to install binary? maybe it works...

deps are ok in your system?
Code:
sudo slpkg -t duckstation 
Database loading... ✔️
The list below shows the packages 'duckstation' with dependencies:

duckstation
 └─ python3-webencodings
    md4c
    html5lib
    double-conversion
    qt6
I can compile 0.1.6217 and that binary is the same. I am trying to compile the latest stable 0.1-6232
 
Old 01-14-2024, 02:53 PM   #43
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
So, can ANYONE even compile 0.1.6232 for 15.0 x64? I solved my cmake, SDL2 and QT6 problems - I got QT6.5.3 compiled and installed - I can't compile QT 6.6.0 or 6.6.1 - but that shouldn't be an issue for duckstation at this point. I just want the next stable version to see if my controller issue is resolved or not.

Last edited by Jeebizz; 01-14-2024 at 03:08 PM.
 
Old 01-15-2024, 08:37 AM   #44
mickski56
Member
 
Registered: Mar 2018
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
Have you tried building with clang

cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
 
Old 01-15-2024, 09:12 AM   #45
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,196

Original Poster
Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Quote:
Originally Posted by mickski56 View Post
Have you tried building with clang

cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
I know just enough to be dangerous - that said, how would I just put that in the slackbuild?

Code:
mkdir -p build
cd build
  cmake \
    -Wno-dev \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_INSTALL_LIBDIR=./lib${LIBDIRSUFFIX} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DENABLE_DISCORD_PRESENCE=$DISCORD \
    -DUSE_WAYLAND=ON \
    -DCMAKE_BUILD_TYPE=Release ..
  make
  make install/strip DESTDIR=$PKG
cd ..

Last edited by Jeebizz; 01-15-2024 at 11:09 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help installing Duckstation emulator please kernelhead Linux - Newbie 1 06-08-2022 08:12 PM
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
LXer: Technology Changes Us, Changes Society, and Changes Governments LXer Syndicated Linux News 0 10-10-2016 02:00 PM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
svn MPlayer slackbuild script: r29363 changes = no more docs andrew.46 Slackware 2 06-20-2009 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration