@dookieshooter said in compiling mame on ubuntu 22.04 fails:
So I hacked around and THINK I got the mame 245 binary installed properly. I basically hacked up the mame.sh script in retropie setup to skip the compile step and only take the precompiled stuff from stickfreaks.
Ok, It probably can work if you did it correct.
This is how I do it when mame has been already configured earlier :
Extract the .7z in /opt/retropie/emulators/mame .
This is how I do it when mame has NOT been configured earlier :
Extract the .7z in /opt/retropie/emulators/mame .
Commands for installing the dependencies and configuring :
cd RetroPie-Setup/
sudo ./retropie_packages.sh mame depends
sudo ./retropie_packages.sh mame configure