RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Raspbian Stretch Install

    Scheduled Pinned Locked Moved Help and Support
    install errorstretch
    8 Posts 4 Posters 10.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      danieltak
      last edited by danieltak

      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?

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @danieltak
        last edited by

        @danieltak the warning means what it says. Stretch is not yet supported.

        If you are new to retropie I would recommend starting here.

        https://retropie.org.uk/docs/First-Installation/

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        D 1 Reply Last reply Reply Quote 3
        • D
          danieltak
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • D
            danieltak @herb_fargus
            last edited by danieltak

            @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?

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @danieltak
              last edited by

              @danieltak No, it will not - please use the Jessie based image for now or wait until Stretch support is added.

              1 Reply Last reply Reply Quote 0
              • jonnykeshJ
                jonnykesh
                last edited by

                What part of "not supported" is unclear? Yet you are here asking for support...

                D 1 Reply Last reply Reply Quote 0
                • D
                  danieltak @jonnykesh
                  last edited by danieltak

                  @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 am

                  I 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.

                  jonnykeshJ 1 Reply Last reply Reply Quote 0
                  • jonnykeshJ
                    jonnykesh @danieltak
                    last edited by jonnykesh

                    @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!

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    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.