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

    Could not successfully build lr-mame2016

    Scheduled Pinned Locked Moved Help and Support
    mameretropie-setupmame2016
    5 Posts 2 Posters 677 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.
    • YFZdudeY
      YFZdude
      last edited by

      Pi Model or other hardware: x86
      Power Supply used: n/a
      RetroPie Version Used: 4.7.11
      Built From: manual install over Lubuntu 20.04 LTS
      USB Devices connected: keyboard, mouse, Logitech F710
      Controller used: keyboard for this install
      Error messages received: see below
      Verbose log (if relevant): https://pastebin.com/DHVg6UV2
      Guide used: n/a
      File: n/a
      Emulator: n/a
      Attachment of config files: n/a
      How to replicate the problem: install lr-mame2016 from source

      I just tried to install lr-mame2016 on my x86 build and received the message

      Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/michael/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found).
      /home/michael
      

      Install Log: https://pastebin.com/DHVg6UV2

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

        Looks like it tries to find python2 to generate the build configuration, but it fails:

        ...
        make REGENIE=1 VERBOSE=1 NOWERROR=1 OSD="retro" PYTHON_EXECUTABLE=python2 CONFIG=libretro  LIBRETRO_OS="unix" ARCH="" LIBRETRO_CPU="x86_64"  clean
        make[1]: Entering directory '/home/michael/RetroPie-Setup/tmp/build/lr-mame2016'
        GCC 9 detected
        makefile:876: *** Python is not available in path.  Stop.
        

        Install python2 , then clean up the sources folder and re-try the installation.

        1 Reply Last reply Reply Quote 0
        • YFZdudeY
          YFZdude
          last edited by

          Well installing that helped a bit, but still ended up with the same error in the end.

          New log: https://pastebin.com/11QuM5ya
          I had to trim out a section to make the log under the 512KB size needed. All the lines were about compressing layouts and running python scripts.

          I did see some more warnings/errors but I can't make sense of them.

          fatal: No names found, cannot describe anything.
          
          cc1: warning: unrecognized command line option ‘-Wno-sometimes-uninitialized’
          
          cc1plus: error: one or more PCH files were found, but they were invalid
          cc1plus: error: use -Winvalid-pch for more information
          cc1plus: fatal error: ../../../../gmake/libretro/obj/x64/libretro/emu.h: No such file or directory
          compilation terminated.
          
          make[2]: Leaving directory '/home/michael/RetroPie-Setup/tmp/build/lr-mame2016/build/projects/retro/mamearcade/gmake-linux'
          make[1]: *** [makefile:1204: linux_x64] Error 2
          make[1]: Leaving directory '/home/michael/RetroPie-Setup/tmp/build/lr-mame2016'
          make: *** [Makefile.libretro:197: build] Error 2
          

          If it helps to know this, right before I tried this install, I updated every package installed which included MAME2003 and MAME2010 and both of those were successful updates.

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

            @yfzdude said in Could not successfully build lr-mame2016:

            If it helps to know this, right before I tried this install, I updated every package installed which included MAME2003 and MAME2010 and both of those were successful updates.

            The error is specific to lr-mame2016 - maybe fixed by this PR ?. I don't have an Ubuntu 20.04 machine to check - were you able to install lr-mame2016 before today ?

            YFZdudeY 1 Reply Last reply Reply Quote 0
            • YFZdudeY
              YFZdude @mitu
              last edited by

              @mitu
              I've never tried before to install 2016 before yesterday. I just recently finished getting the matching romset and wanted to give it a go.

              I'm reading the PR and I see there is a potential fix but it hasn't been incorporated into libretro if I'm reading this right. I'll see if I can work out how the fix can be incorporated but I'm still learning the terminology workings of github.

              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.