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
  •  


HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32Cores - 128GB Ram - 1TB HDD picture

HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32Cores - 128GB Ram - 1TB HDD

$299.00



Dell PowerEdge R330 Xeon E3-1220 v5 3.0GHz  32gb  H330  2x 3.5

Dell PowerEdge R330 Xeon E3-1220 v5 3.0GHz 32gb H330 2x 3.5" Trays SVR 2012

$189.99



Dell Poweredge R620 2x E5-2680 2.7ghz 16-Cores / 128gb / H710 / 2x Trays / 750w picture

Dell Poweredge R620 2x E5-2680 2.7ghz 16-Cores / 128gb / H710 / 2x Trays / 750w

$199.99



HP ProLiant DL360 Gen9 Server 2x E5-2620v4 2.1GHz =16 Cores 32GB P440AR 4xRJ45 picture

HP ProLiant DL360 Gen9 Server 2x E5-2620v4 2.1GHz =16 Cores 32GB P440AR 4xRJ45

$220.00



Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G picture

Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G

$240.00



HP ProLiant DL360 G9 Server 2x Xeon E5-2690 V3 24 Cores P440ar 128GB DDR4 1x SSD picture

HP ProLiant DL360 G9 Server 2x Xeon E5-2690 V3 24 Cores P440ar 128GB DDR4 1x SSD

$279.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail picture

Supermicro 2U Server 12 Caddy Bay 3.5 LFF E ATX Storage Chassis SAS2 6GBPS Rail

$199.00



1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray picture

1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray

$318.00



Lenovo SR530 Server (Intel Xeon Silver 4110) (3x 800GB SSD) (NO OS) (48GB RAM) picture

Lenovo SR530 Server (Intel Xeon Silver 4110) (3x 800GB SSD) (NO OS) (48GB RAM)

$599.00