Error installing Retropie on Ubuntu 16.04
-
Hello all, i'm having some strange difficulties installing retropie on Ubuntu 16.04
i am using the official instructions from https://retropie.org.uk/docs/Debian/
I am receiving the following errors :
"Could not successfully build sdl2 - SDL (Simple DirectMedia Layer) v2.x (/home/darcalus/retropie/RetroPie-Setup/tmp/build/sdl2/libsdl2-dev_2.0.5+5_amd64.db not found)."
and
"Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/darcalus/retropie/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found)."
anyone have an idea as to why it isn't downloading the files necessary to complete the installation?
thanks!
-
Same problem here. Could be something wrong with the build as I didn't have this problem several days ago.
-
Try Manually installing the packages
Also this:@waylanderpk said in SDL Build Error with on Linux Mint 18.2 Sonya:
I edited
scriptmodules/helpers.sh: local own_sdl2=1
to
scriptmodules/helpers.sh: local own_sdl2=0This just uses the default sdl2 installed on the system. Seems to work ok
-
Yes, this is an error that has to be fixed I think. When trying to update my Retropie, I also get the following error:
= = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'mame4all' : MAME emulator MAME4All-Pi = = = = = = = = = = = = = = = = = = = = = Did not find needed package(s): libsdl1.2-dev. I am trying to install them now. = = = = = = = = = = = = = = = = = = = = = Installing 'sdl1' : SDL 1.2.15 with rpi fixes and dispmanx = = = = = = = = = = = = = = = = = = = = = --2017-08-08 16:49:22-- https://files.retropie.org.uk/binaries/stretch/rpi3/libsdl1.2debian_1.2.15-12rpi_armhf.deb Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1 Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2017-08-08 16:49:23 ERROR 404: Not Found. --2017-08-08 16:49:23-- https://files.retropie.org.uk/binaries/stretch/rpi3/libsdl1.2-dev_1.2.15-12rpi_armhf.deb Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1 Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2017-08-08 16:49:23 ERROR 404: Not Found. dpkg: error: cannot access archive 'libsdl1.2debian_1.2.15-12rpi_armhf.deb': No such file or directory
This error only turned up recently. I believe the problem is in scriptmodules/helpers.sh:
(I have libsdl1.2-dev and libsdl2-dev installed by the way)# workaround to force installation of our fixed libsdl1.2 and custom compiled libsdl2 local temp=() for required in ${packages[@]}; do if isPlatform "rpi" && [[ "$required" == "libsdl1.2-dev" ]]; then if [[ "$__has_binaries" -eq 1 ]]; then rp_callModule sdl1 install_bin else rp_callModule sdl1 fi elif [[ "$required" == "libsdl2-dev" && "$own_sdl2" == "1" ]]; then if [[ "$__has_binaries" -eq 1 ]]; then rp_callModule sdl2 install_bin else rp_callModule sdl2 fi else temp+=("$required") fi done packages=("${temp[@]}")
Which forces the installation of some custom libsdl1.2-dev and libsdl2-dev packages (on Raspberry Pi this is always forced and on other devices you can turn this off with own_sdl2=0 )
When trying to download these custom packages, the retropie.org.uk server returns a 404.
Maybe @herb_fargus can have a look at this.
-
@snowcherry Debian/Raspbian stretch is not yet supported by RetroPie. (on the rpi)
-
@pachimari99 To disable our custom SDL you don't need to edit any code. Just set
own_sdl = "0"
in/opt/retropie/configs/all/retropie.cfg
If someone who is getting a failed SDL build posts a full build log (via pastebin or so), I will be able to advise further. It should built fine, but I believe sometimes it fails due to some other dev packages being installed that causes SDL to build in some non needed features (which also can break the build).
-
@buzz Thanks for letting me know! But isn't everyone who simply updated their Retropie and selected "yes" on the dialog to update Raspbian packages (which I believe does apt-get upgrade --dist-upgrade) already on Raspbian Stretch?
Is there an estimated time when Stretch will be supported by Retropie? (e.g. are we talking weeks or months?)
-
@snowcherry no. Updating packages alone won't update Raspbian version.
Raspbian stretch is not yet released officially afaik.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.