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

    Retropie setup in Debian Stretch (Testing) requires gcc4.9, g++4.9 etc but only has gcc6

    Scheduled Pinned Locked Moved Help and Support
    debian stretchgcc6
    7 Posts 3 Posters 3.0k 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.
    • V
      vampireJ
      last edited by

      I was trying out Debian stretch and decided to try to install retropie if it would work. Unfortunately, the install would not proceed because the retropie setup script requires gcc4.9+ whereas Debian Stretch only has gcc6.

      Any chance that the script would be able to work in Debian?

      1 Reply Last reply Reply Quote 0
      • A
        Assault
        last edited by

        In your situation, I would try to remove / replace all checkes in the RetroPie-script. I then try to install it.
        I think your chances are not to bad to get it running.

        But why do you have to use Debian Testin !?

        1 Reply Last reply Reply Quote 0
        • V
          vampireJ
          last edited by

          I am trying out testing since stable did not work for me- though I shall take a look into it again.

          So in stretch / testing look into
          RetroPie-Setup/scriptmodules/system.sh
          for the line containing
          __default_gcc_version="4.9"

          and change it into
          __default_gcc_version="6"

          for the install to push through.

          Unfortunately it asks for libpng12-dev which Debian Stretch does not have.

          1 Reply Last reply Reply Quote 0
          • V
            vampireJ
            last edited by

            So the best desktop distro to run retropie right now for me is 16.10
            Ubuntu-gnome 16.10 - hdmi audio works, pretty much retropie works in my limited testing
            Ubuntu-gnome 17.04 - should work but some packages that I need (kodi, gnome-session-flashback etc) might not be ready as it is not yet released
            Ubuntu 16.04 - experienced some freezes in emulationstation when alt tabbing
            Debian gnome 8 Stable - crashes after a few seconds will take a look again
            Debian 9 Stretch testing - uses gcc6, no libpng12-dev

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              Debian stretch won't be supported until Raspbian switches over to it. The recommended system for running RetroPie on is Raspbian, and that is the OS that most of the testing for the RPI is done on (and the only OS where prebuilt binaries are available).

              Assuming you are referring to the RPI as you don't provide details.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • V
                vampireJ
                last edited by

                My apologies. I am running it on a laptop and trying which distros would work.

                BuZzB 1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators @vampireJ
                  last edited by BuZz

                  @vampireJ For a laptop, Ubuntu is recommended as I use that for development (So it's the most tested). 16.04 or better should be fine.

                  Note, when posting for advice in the future please read https://retropie.org.uk/forum/topic/3/read-this-first (as agreed when registering). Things like hardware platform are important and in this case it would have saved me time.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • 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.