RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.06k stars 1.39k forks source link

sdl2 needs libpulse-dev as dependency #1926

Closed DuBistKomisch closed 7 years ago

DuBistKomisch commented 7 years ago

I'm trying to set up RetroPie on a SolidRun Cubox-i. I'm using their official jessie image as a starting point. I get the impression from the wiki that compatibility with non-Pi platforms is at least considered.

When I try to install the core modules, sdl2 fails to build:

= = = = = = = = = = = = = = = = = = = = =
Building 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
= = = = = = = = = = = = = = = = = = = = =

dpkg-buildpackage: source package libsdl2
dpkg-buildpackage: source version 2.0.5+5
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Jools Wills <buzz@exotica.org.uk>
 dpkg-source --before-build 2.0.5+5
dpkg-buildpackage: host architecture armhf
dpkg-checkbuilddeps: Unmet build dependencies: libpulse-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

apt-get install libpulse-dev fixed it, so I'm assuming it just needs to be added to the depends in the script.

DuBistKomisch commented 7 years ago

However there is this warning after it builds:

dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libsdl2-2.0-0/usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0.4.1 was not linked against libpulse-simple.so.0 (it uses none of the library's symbols)

Maybe it's an issue with sdl2's configuration?