-
Being able to compile mame in knoppix 9.1
============================
Being able to compile mame 238 in knoppix 9.1
============================
What's necessary to compile mame is just:
sudo apt-get install git build-essential python libsdl2-dev libsdl2-ttf-dev libfontconfig-dev libpulse-dev qt5-default
but what if we wanted to be able to compile mame by adding .deb packages manually?
I got the following packages from packages.debian.org:
libasound2-dev_1.2.4-1.1_i386.deb
libpulse-dev_14.2-2_i386.deb
libqt5core5a_5.15.2+dfsg-9_i386.deb
libqt5gui5_5.15.2+dfsg-9_i386.deb
libqt5widgets5_5.15.2+dfsg-9_i386.deb
libsdl2-dev_2.0.14+dfsg2-3_i386.deb
libsdl2-ttf-dev_2.0.15+dfsg1-1_i386.deb
libsdl-sound1.2_1.0.3-9+b1_i386.deb
libsndio-dev_1.5.0-3_i386.deb
libudev-dev_247.3-6_i386.deb
qtbase5-dev_5.15.2+dfsg-9_i386.deb
qtbase5-dev-tools_5.15.2+dfsg-9_i386.deb
also need these to run:
liblua5.3-0_5.3.3-1.1+b1_i386.deb
libpugixml1v5_1.11.4-1_i386.deb
So put them all in a directory then:
sudo dpkg -i --force-depends *.deb
and it will install them all at once. We use --force-depends because we haven't actually got every package needed to satisfy all the dependencies.
Get the source for mame0238 and extracting the mame0238.exe, cd into the directory, edit the makefile with
"nano makefile" so that we specify our compile to be 32 bit and where to find qt5:
#PTR64 = 1
edit to say
PTR64 = 0
since we're compiling for an 32 bit target
and also
#QT_HOME = /usr/lib/qt5/
edit to
QT_HOME = /usr/lib/i386-linux-gnu/qt5/
then save it with CTRL+O, exit with CTRL+X.
time make -j4
and it should be able to complete the compile.
and launch your freshly compiled mame with
./mame -rompath "path_to_my_roms"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU
$529.95

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard
$377.77

Dell Alienware m15 R7 AMD Ryzen 7 6800H 16GB DDR5 1TB SSD RTX 3070 Ti WIN 11 PRO
$920.00

Panasonic Toughbook CF19 MK8 Core i5 3610ME 2.7GHz 12GB RAM 512GB SSD Win 10 Pro
$319.00

HP - OmniBook 3 16" 2K Touchscreen Laptop - Intel Core Ultra 5 (2025) - 8GB M...
$479.99

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99

Lenovo LOQ 15 15.6" FHD 144Hz 8-Core i5-12450HX 16GB 512GB SSD GeForce RTX 4050
$799.00

Lenovo ThinkCentre M720q Intel Core i3 8100t 8GB 256GB SSD M2
$110.00

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard
$376.28

AMD Ryzen 7 5700X 8-Core 3.4GHz Socket AM4 CPU MPN 100-000000926
$150.00