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.
and it compiled fine. Howerver i have a controller issue with that
version so i need to an older version of dolphin. I'm trying to
compile dolphin-emu-6502. At 93% i get
Just tested your dolphin-emu.SlackBuild in Slackware Current 64 bit. It created a package but all
that was in it was dolphin icons.
This is what happens when you forget to put "set -e" in SlackBuilds...
Incidentally, do you have any plans to buy a Steam Controller? I hear it's great for both Wii and GameCube games running in Dolphin, and that's the main reason I'm interested in one.
Dolphin-emu doesn't maintain their source tarballs very well, its best to compile it directly from their github which is maintained.
Here is a slackbuild that does that which works, however only in current since 14.1 is a bit too old. At least not without changing the slackbuild a bit.
Can you share the cmake configure output? More context for the error may prove useful as well.
What optional dependencies listed in the README did you install?
Are you sure you aren't trying to build it in the middle of a bunch of commits? Try using 'git pull' on a cloned repo before and after you run the script to make sure.
Do you have a full install or can you share your blacklist?
It works on my main system with all of the optional dependencies installed excluding pulseaudio.
It also works on a clean Slackware64-current chroot that was freshly updated with none of the optional dependencies except for pulseaudio which even though is now included in Slackware is still entirely optional as far as I am concerned.
Dolphin-emu will use static versions of the required dependencies if you do not install them, though if you do this you will need to remove dolphin-emu before recompiling it because there is a bug where it will install mbedtls libraries and then try to compile against the old ones which will be removed when the package is actually upgraded... https://bugs.dolphin-emu.org/issues/9208
If none of this provides any clues, try running the following script and then investigating any broken libraries it finds which may or may not be relevant, you can ignore multilib issues. Lastly you can try taking it upstream to either #dolphin-emu @ freenode or to their github page. Which is kind of the point of my git based slackbuilds, to get a bleeding edge package, all new features and bugs included! https://github.com/dolphin-emu/dolphin
Code:
#!/bin/sh
# 2004/08/22 K. Piche Find missing library references.
# 2015/11/27 orbea Refreshed script
ifs=$IFS
IFS=':'
ARCH=$(uname -m)
libdirs="/lib:/usr/lib:/usr/X11R6/lib:/usr/libexec:/usr/$ARCH-slackware-linux:/lib64:/usr/lib64:/usr/X11R6/lib64"
extras=
# Check ELF binaries in the PATH and specified dir trees.
for tree in $PATH $libdirs $extras
do
echo DIR $tree
# Get list of files in tree.
files=$(find $tree -type f)
IFS=$ifs
for i in $files
do
if [ `file $i | grep -c 'ELF'` -ne 0 ]; then
# Is an ELF binary.
if [ `ldd $i 2>/dev/null | grep -c 'not found'` -ne 0 ]; then
# Missing lib.
echo "$i:"
ldd $i 2>/dev/null | grep 'not found'
fi
fi
done
done
exit
Also, set -e should be in the slackbuild, you can look at mine or most slackbuilds at SBo to see it.
I meant that I should have done it when writing the SlackBuild. I've taken care of it, and now, if the compile fails, it will stop there instead of continuing and giving you a package with just the icons.
@Orbea I don't remember if i have dolphin installed when i compiled. I will try and uninstall
dolphin before compiling to see if that helps. And if it does not compile i will post the
cmake configure output. I believe i all optional depencies expect for pulseaudio.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 6fb8ce5... Honor logging settings at startup
patch: **** Only garbage was found in the patch input.
bash-4.3#
Are you sure you aren't trying to build it in the middle of a bunch of commits? Try using 'git pull' on a cloned repo before and after you run the script to make sure.
As soon as i run your dolphin-emu.SlackBuild it starts trying to compile.
Last edited by GreenFireFly; 02-02-2016 at 11:22 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.