Registered Member
|
running amarok after the 'make install' I get the popup message "Amarok couldn't find any plugins. This indicates....."
The debug output is as follows
Thanks, Leo |
Manager
|
Check your environment variable and paths. Especially if you build locally, you need to tell Amarok where to find all the dependencies.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
The last few lines of the output for 'make install' are
All the plugins are in /home/llist/kde/lib/x86_64-linux-gnu/plugins/ My environment variables are:
What am I missing? Thanks, Leo |
Registered Member
|
Have gone through the various instructions re. the amarok build and have found missing packages which are now installed.
The error I know get is
Looks like it still finds 0 plugins although they are all in $KDEDIRS/lib/x86_64-linux-gnu/plugins Thanks, Leo |
Manager
|
Just to make sure: which exact Amarok version do you try to install, and what is your distribution and Plasma version?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Originally I tried to build amarok cloned from https://github.com/KDE/amarok.git on the latest version of Ubuntu with all the required per-requisites.
cmake completes but I get a few warnings similar to
I have now created a VM with Kubuntu 19.04 Plasma 5.15.4 KDE Framework 5.56.0 Qt Version 5.12.2 After the build I get the same popup window indicating that no amarok couldn't find any plugins and this output
Thanks, Leo |
Registered Member
|
Still no luck getting this to work but assume it's got something to do with the environment.
Find it a bit hard to resolve as I don't know what environment variable(s) might be missing My path is /usr/lib/ccache:/home/llist/kde/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin My library path is /home/llist/kde/lib: my KDE environment in ~/.kde/env/myenv.sh is
The (edited) output from 'make install' is
Thanks Leo |
Registered Member
|
As I didn't make any progress building amarok from the commandline, I built amarok in Qt Creator.
I get a lot further when I run amarok in the IDE (not sure why given the starting point is the same CMakeLists.txt file I use for the commandline build). Still no joy, though
Thanks Leo |
Manager
|
Crashes on start, but doesn't tell why, could you try getting a backtrace using these instructions and file it as a bug report in https://bugs.kde.org?
please run it with the argument
see https://community.kde.org/Guidelines_an ... s#Crash.21 for more details
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Running 'amarok --debug' from the command line I get the following and a pop up window indicating no plugins were found
When I run amarok in Qt Creator I get the output I posted before your last reply |
Registered Member
|
Just deleted all amarok (run) related config files and now get the following output in Qt Creator
|
Manager
|
which is exactly the same output you had last time, please provide a backtrace in a bug report, this is not something that can be solved in the forum. See the link I gave you on how to get a backtrace we can work with
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Ok. I managed to get amarok to work.
I'm building amarok in ~/kde/build/amarok with the source in ~/kde/src/amarok with the following cmake
'make install' created a whole bunch of shared objects in the bin folder under build , but when the make copies these objects, they all ended up under
Running ~/kde/bin/amarok fails Running ~kde/build/amarok/bin works Looks like I'm missing the correct definition for one of the environment variables for an installation under my user rather than system Thanks, Leo |
Manager
|
I can only copy-paste from my cheat sheet for creating a build environment:
My used folders are: $HOME/kde $HOME/kde/src $HOME/kde/build $HOME/kde/build/amarok My paths are the following export PATH=$HOME/kde/bin:$PATH export PATH=/usr/lib/ccache:$PATH export LD_LIBRARY_PATH=$HOME/kde/lib:$LD_LIBRARY_PATH Then to make sure Amarok finds the plugins I do echo 'export KDEDIR=$HOME/kde' >> $HOME/.kde/env/myenv.sh echo 'export KDEDIRS=$KDEDIR' >> $HOME/.kde/env/myenv.sh echo 'export XDG_DATA_DIRS=$HOME/kde/share:$XDG_DATA_DIRS' >> $HOME/.kde/env/myenv.sh I created the myenv.sh file for this purpose. Restarting plasma to make sure the environment variables are correct. make install without sudo should install a purely local copy.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Weird.
Created a new user and did the following the (default) environment for this user is
Created myenv.sh
added the following to .bashrc
logged out The environment now looks like this
Built amarok as follows
deleted everyting in ~/kde I'm not sure what invokes myenv.sh but I thought I source it just in case to see if that makes any difference The environment now looks like this
clone and build amarok again
the path to amarok that fails is $HOME/kde/bin/amarok if I run $HOME/kde/build/amarok/bin/amarok everything works as expected. Both executables are the same
Thanks Leo |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]