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

    Can't install retroarch from source

    Scheduled Pinned Locked Moved Help and Support
    retroarchinstallation
    17 Posts 7 Posters 7.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.
    • lostlessL
      lostless
      last edited by

      I'm on a pI 3 on retropie 4.0.3
      I just "updated" all files when i did the 4.0.3 update and found it reinstalled the older version of retroarch.
      I went to update it from source, but i got an error saying it could not install. Tried to install it from source on my other pi3 and got the same error. Is there a problem with the source install for retroarch?
      the error i got was

      git clone --depth 1 "https://github.com/libretro/RetroArch.git" "/home/pi/RetroPie-Setup/tmp/build/retroarch"
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/retroarch'...
      sed: can't read menu/menu_entry.c: No such file or directory
      patching file input/input_driver.c
      Hunk #1 succeeded at 112 (offset 6 lines).
      Hunk #2 succeeded at 569 (offset 6 lines).
      /home/pi
      /home/pi/RetroPie-Setup/tmp/build/retroarch /home/pi

      = = = = = = = = = = = = = = = = = = = = =
      Building 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
      = = = = = = = = = = = = = = = = = = = = =

      Checking operating system ... Linux
      Unknown option --enable-gles
      Makefile:9: config.mk: No such file or directory
      rm -rf obj-unix
      rm -f retroarch
      rm -f .d
      Makefile:9: config.mk: No such file or directory
      config.mk is outdated or non-existing. Run ./configure again.
      Makefile:128: recipe for target 'config.mk' failed
      make: *** [config.mk] Error 1
      /home/pi
      Could not successfully build RetroArch - frontend to the libretro emulator cores - required by all lr-
      emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).

      Log ended at: Wed 21 Sep 03:32:53 UTC 2016
      Total running time: 0 hours, 0 mins, 10 secs

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

        A retroarch issue that may have been fixed in the last hour or so. I recommend using the binaries on the pi though (to avoid potential problems with new untested code).

        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
        • BuZzB
          BuZz administrators
          last edited by

          Retroarch is constantly updated, so it does break occasionally. Looks like we may need to fix up our source patching too.

          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
          • BuZzB
            BuZz administrators
            last edited by BuZz

            actually - not fixed - retroarch renamed a configure parameter so I need to update the retropie module - will do that in a moment. [edit] fixed now.

            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
            • S
              Smiler
              last edited by

              I'm trying to build retroarch right now and I'm having the same exact problem, so I'm not sure it's actually fixed.

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

                @Smiler did you update RetroPie-Setup?

                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
                • S
                  Smiler
                  last edited by

                  I just did and it works perfectly now, thank you.

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

                    @Smiler you always need to update if things are fixed in retropie, or else you won't get the fixes :-)

                    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

                    ShakzS 1 Reply Last reply Reply Quote 0
                    • R
                      RetroResolution
                      last edited by

                      Glad you've resolved the issue; in case it's of use, if you need to build a specific version from source in the future, I added instructions in the discussion below my guide:

                      https://retroresolution.com/2016/07/06/recording-live-gameplay-in-retropies-retroarch-emulators-natively-on-the-raspberry-pi/

                      I will incorporate the instructions into the guide at some point; for now, just search ther page for 'OBTAIN AND BUILD SPECIFIC VERSION OF RETROARCH TO ENABLE FFMPEG RECORDING'

                      If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

                      RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

                      1 Reply Last reply Reply Quote 0
                      • ShakzS
                        Shakz @BuZz
                        last edited by Shakz

                        @BuZz
                        Howdy....does not seem to be fixed. Have had this issue several times since 3.7...I am running 4.0.2 now. Even with the manual 3.6 install as RetroResolution suggests I still get the error.
                        I know the section of the module that requires retroarch/retroarch....do I just need to rename it or was the file moved somewhere?
                        Thanks in advance for your help.
                        Forrest

                        RetroPie tips, tricks, and tweaks: https://www.youtube.com/eazyhax

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

                          @Shakz did you update retropie-setup ?

                          Please provide a log so I can be sure you are talking about the same problem.

                          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

                          ShakzS 1 Reply Last reply Reply Quote 0
                          • ShakzS
                            Shakz @BuZz
                            last edited by

                            @BuZz Howdy Buzz...full disclosure I think last time I had the issue it was on my ubuntu laptop. This time its on an odroid c2 which I found a 32bit jessie image for.
                            This issue seems to be with this line.
                            md_ret_require="$md_build/retroarch
                            Logs are here.
                            http://hastebin.com/raw/ukalenebov

                            RetroPie tips, tricks, and tweaks: https://www.youtube.com/eazyhax

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

                              That is not the same issue as the original poster.

                              The Odroid-c2 is not officially supported and I don't have one to test. I assume you are forcing platform or something ? You don't mention what version of retropie-setup, but I can't advise building on a platform I don't have access to. The ODroid-C1 support is only tested on the Ubuntu image also (The one from Hardkernel).

                              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

                              ShakzS 1 Reply Last reply Reply Quote 0
                              • ShakzS
                                Shakz @BuZz
                                last edited by Shakz

                                @BuZz
                                Understood. I know you stay busy with the regular stuff around here but if you like I would be happy to poke an ssh pinhole through my firewall and let you fiddle with it. If that's ever tempting for you please lemmie know and Ill set it up.
                                Thanks for responding!

                                RetroPie tips, tricks, and tweaks: https://www.youtube.com/eazyhax

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

                                  Hi there,
                                  I got this same error message like the original poster:
                                  Could not successfully build RetroArch - frontend to the libretro emulator cores - required by all lr- emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).

                                  The thing is, I use the very actual version of Retropie for the RPi4.
                                  Anything else was able to update after the hack from Aug 16th? But Retroarch always brings up this message.

                                  I originally installed everything via PINN. After some performance issues with N64 (no emulator run's MarioKart as well as it was on my old Pi3) i decided to update. I even removed and reinstalled all core packages (via Retropie-Setup) but no difference.
                                  Can anybody help? I have a lot of settings which I don't want to loose. I would be nice when it's possible to reinstall RetroArch via Retropie-Setup.
                                  Thanks a lot in advance (can I say so - I'm not a native speaker)

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

                                    @versor Please don't bump old topics - start a new topic and add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first.
                                    The error you posted is a generic one, the reason why the update does not work should be in one of the last log files in '$HOME/RetroPie-Setup/logs`, if unsure which is the correct one, then remove all log file and re-try the installation.

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

                                      Wow - that was quick.
                                      Thanks a lot - I will try this first and add the infos in the new post.
                                      (I was searching the specs while you answered...)

                                      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.