Results 1 to 10 of 14

Thread: Ability to compile mame

Hybrid View

  1. #1
    Member registered user
    Join Date
    Apr 2007
    Posts
    94
    Quote Originally Posted by klaus2008 View Post
    Hi!

    I think one should try out the binary package from deb-multimedia.org. There you can find mame version 0.168 for the sid distribution. Maybe this package works with Knoppix 7.6.0, too.

    Since the source of mame 0.168 deb package is also available there you could read the build description of the package in order to find out which additional packages are to be installed on Knoppix 7.6.0 or if there is any conflicting package which make it nearly impossible to compile mame 0.168.
    Thanks for all of your suggestions. Two of my favorite things are knoppix and mame. Someone awhile back put out something called "knoppixmame" but that hasn't been updated for a long time.

    I didn't know about deb-multimedia.org, so I'll give it a try.

    I had some problems with knoppix 7.5 with using synaptic and updating packages and got a little discouraged.

  2. #2
    Member registered user
    Join Date
    Apr 2007
    Posts
    94
    Quote Originally Posted by don999 View Post
    Thanks for all of your suggestions. Two of my favorite things are knoppix and mame. Someone awhile back put out something called "knoppixmame" but that hasn't been updated for a long time.

    I didn't know about deb-multimedia.org, so I'll give it a try.

    I had some problems with knoppix 7.5 with using synaptic and updating packages and got a little discouraged.

    After I got started using ubuntu, I've been using that because I can compile mame without any problems. But I love to fiddle with knoppix so I thought I'd give it a go with knoppix 8.1.

    (from http://docs.mamedev.org/initialsetup/compilingmame.html)

    sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default

    which should install everything you need to compile mame.

    I tried that on a fresh knoppix 8.1 after updating the repositories with "sudo apt-get update" and it hangs up on:

    sudo apt-get install git build-essential libsdl2-dev libsdl2-ttf-dev libfontconfig-dev qt5-default
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
    build-essential is already the newest version (12.3).
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libsdl2-dev : Depends: libgles2-mesa-dev but it is not going to be installed
    Depends: libpulse-dev but it is not going to be installed
    Depends: libsdl2-2.0-0 (= 2.0.5+dfsg1-2) but 2.0.7+dfsg1-3 is to be installed
    Depends: libudev-dev but it is not going to be installed
    Depends: libxss-dev but it is not going to be installed
    libsdl2-ttf-dev : Depends: libsdl2-ttf-2.0-0 (= 2.0.14+dfsg1-1) but 2.0.14+dfsg1-2 is to be installed
    qt5-default : Depends: qtbase5-dev but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


    I'm pretty much a novice with the complexities of upgrading so I thought I'd try the deb-multimedia packages as suggested.

    I was able to get the "stable" version working without any problems (it is version 0.186)

    http://deb-multimedia.org/dists/stab...kage/mame-data
    http://deb-multimedia.org/dists/stab...6/package/mame

    I downloaded the deb files:

    http://deb-multimedia.org/pool/main/...6-dmo1_all.deb
    http://deb-multimedia.org/pool/main/...-dmo1_i386.deb

    then did a dpkg -i to install them:

    sudo dpkg -i mame-data_0.186-dmo1_all.deb
    sudo dpkg -i mame_0.186-dmo1_i386.deb

    and it puts the mame files in /usr/share/games/mame and the executable in /usr/games/mame

    ls /usr/share/games/mame
    ls -l /usr/games/mame

    The deb-multimedia "testing" version didn't work for me with various dependency problems.

    sudo dpkg -i mame_0.192-dmo1_i386.deb (Reading database ... 451601 files and directories currently installed.)
    Preparing to unpack mame_0.192-dmo1_i386.deb ...
    Unpacking mame (1:0.192-dmo1) over (1:0.186-dmo1) ...
    dpkg: dependency problems prevent configuration of mame:
    mame depends on libsdl2-2.0-0 (>= 2.0.7); however:
    Version of libsdl2-2.0-0:i386 on system is 2.0.5+dfsg1-3.
    mame depends on libutf8proc2 (>= 1.3); however:
    Package libutf8proc2 is not installed.

    ===============================

    And I've come up with a command line that I like:

    mame -rompath "whereiputmyroms" -console -ui_active -window -debug -confirm_quit -verbose

    I needed to add the -ui_active or the ui tab menu wouldn't come up in mame. Interestingly, the Insert key is the toggle key for full/partial keyboard emulation, mame's standard key is the Scroll Lock key.

    Use -verbose if you want to know all about what mame is doing, and how it was compiled.

    Use the -debug switch if you want to use the mame debugger. (type g to "go" in the debugger window)

    And you can use the lua console of mame if you use the -console switch so you can fiddle with lua from the terminal.

    [MAME]> print("I am lua")
    I am lua
    [MAME]> for i=1,10 do print(i) end
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10

    ========================

    or if you want debian's version (which is only 0.182) you can simply do

    sudo apt-get install mame

    knoppix@Microknoppix:~/Downloads$ sudo apt-get install mame
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    mame-data
    Suggested packages:
    gnome-video-arcade mame-doc mame-extra mame-tools
    The following NEW packages will be installed:
    mame mame-data
    0 upgraded, 2 newly installed, 0 to remove and 1201 not upgraded.
    Need to get 48.0 MB of archives.
    After this operation, 239 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://ftp.de.debian.org/debian stable/main i386 mame-data all 0.182-1 [9,176 kB]
    Get:2 http://ftp.de.debian.org/debian stable/main i386 mame i386 0.182-1 [38.8 MB]
    Fetched 48.0 MB in 25s (1,882 kB/s)
    ...

    but for some reason I couldn't get the lua console to work with 0.182.

    Have fun!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor picture

Australia Linux Server- 32 GB RAM + 500 HDD + 6 Core processor

$66.88



Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories  picture

Open Eye OE-MTX08 8TB Micro Server With Linux (Boots To Login) No Accessories

$282.92



Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$828.90



IBM 9006-22C 12 Bay LFF SAS3 12G Dual 22 Core 2.6GHz Power9 P9 Linux Server picture

IBM 9006-22C 12 Bay LFF SAS3 12G Dual 22 Core 2.6GHz Power9 P9 Linux Server

$2799.99



PFSENSE 15

PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM

$382.00



The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server New Sealed picture

The Complete Redhat Linux 5.2 Operating System Deluxe Secure Server New Sealed

$25.00



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$899.95



PFSENSE 15

PFSENSE 15" Depth Server Supermicro X11SSH-F E3-1240 V5 V6 - 128GB NVME 32GB RAM

$359.00



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99