Raspbian Stretch Install
-
Trying to install Retropie on Raspbian Stretch gives the following error message:
Sorry - Raspbian/Debian Stretch (and newer) is not yet supported on the RPI
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.1 (stretch)
Release: 9.1
Codename: stretch
And searching on git, the Issue #2091 Add Raspbian Stretch support is opened. So it is not supported yet.
So searching I just found one answer of workaround.
It is on this link, an answer from @Guitargeek86.
Which states that you need to comment this line of code in /RetroPie-Setup/scriptmodules/system.sh
# if compareVersions "$__os_release" ge 9 && isPlatform "rpi"; then
# error="Sorry - Raspbian/Debian Stretch (and newer) is not yet supported on the RPI"
# fi
# if compareVersions "$__os_release" lt 8; then
# error="You need Raspbian/Debian Jessie or newer"
# fi
And than add the pkg_config and install libaddevice-dev and libgles2-mesa-dev
To add pkg_config
#!/usr/bin/env bash
FIRMWARE_VERSION=$(dpkg-query --showformat='${Version}' --show libraspberrypi-dev | cut -f1 -d"-")
PKG_CONFIG_DIR="/opt/vc/lib/pkgconfig-$FIRMWARE_VERSION"
export PKG_CONFIG_PATH="/opt/vc/lib/pkgconfig"
check_pkgconfig() {
dpkg -S /opt/vc/lib/pkgconfig >/dev/null 2>/dev/null
}
install_pkgconfig() {
svn export https://github.com/raspberrypi/firmware ... /pkgconfig "$PKG_CONFIG_DIR"
files="
egl.pc
glesv2.pc
vg.pc"
for i in $files; do
if [ -f "$PKG_CONFIG_DIR/$i" ]; then
rm "$PKG_CONFIG_DIR/$i"
ln -s "brcm"$i "$PKG_CONFIG_DIR/$i"
fi
done
}
set_pkgconfig() {
check_pkgconfig || export PKG_CONFIG_PATH="$PKG_CONFIG_DIR" }
check_pkgconfig || [ ! -d "$PKG_CONFIG_DIR" ] && install_pkgconfig
set_pkgconfig
exit
And to install the libs
sudo apt-get install libavdevice-dev
sudo apt-get install libgles2-mesa-dev
However, I am a newbie on Linux and a first timer on RetroPie and RaspBerry PI.
Have anyone already tried it? Is it correct? Will RetroPie work correctly on all functionalities if i make just this changes?
-
@danieltak the warning means what it says. Stretch is not yet supported.
If you are new to retropie I would recommend starting here.
-
Many errors poped out while installing, such as:
Did not find needed package(s): libxv-dev libaudiofile-dev libpulse-dev libcaca-dev libdirectfb-dev libglu1-mesa-dev. I am trying to install them now.
And many lines of this file:
/usr/include/boost/functional/hash_fwd.hpp:1:309: error: stray ‘\377’ in program ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
I will just install Raspbian Jessie. Thanks
-
@herb_fargus On the answer found, @Guitargeek86 states that:
"chdir into the directory of the tmp folder and into the retroarch files
run a make clean
./configure to reconfigure now that you have the libs
and then run make yourself
This will let you find any errors you will need to get this going."Will it work as that user states or is it just guessing?
-
@danieltak No, it will not - please use the Jessie based image for now or wait until Stretch support is added.
-
What part of "not supported" is unclear? Yet you are here asking for support...
-
@jonnykesh Sorry if i said something that offended or if I am a noob.
I just asked because i found this answer that stated that it worked for him on Stretch. But i don't know if that user really tested it.
"Re: RetroPie on Raspbian not working
Quote
Tue Oct 24, 2017 12:39 amI found the missing lib in the following library of libgles2-mesa-dev
So in addition to adding the pkg_config you need to install libaddevice-dev and libgles2-mesa-dev
I got it working doing this finally."
So I didn't believe it, thats why i came here to ask. I think It is good that many people with the same question can come here to read this.
-
@danieltak Don't believe everything you read on the internet. What's the big rush to get it working on Stretch anyway? What is it going to give you that Jessie doesn't? Stick with what works until RetroPie has been fully tested to work with Stretch and gets an official release and support.
I'm not offended, I just think it's odd that someone would see an error message saying a certain OS version is not supported and then come to the official forum seeking support!
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.