Page 1 of 3 1 2 3 >
Topic Options
#35138 - 29/10/07 03:48 PM Sticky: How to compile SDLMAME! (Read me first!)
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
Like I said elsewhere, this thread is for people to post what needs to be done to compile SDLMAME on a base install of an OS or Linux distro. It is NOT for discussion or support - if you are unable to build SDLMAME with these instructions, please start a new thread!

To kick off, for Fedora 7/8/9/10:
Code:
yum install gcc SDL-devel Xinerama-devel gtk2-devel GConf2-devel


Updated July 12 2008: Added GConf deps to Fedora and (K)Ubuntu.


Edited by R. Belmont (10/12/08 04:20 PM)
Edit Reason: Added F10

Top
#35140 - 29/10/07 04:17 PM Re: SDLMAME distro cookbook [Re: R. Belmont]
play0r Offline
Member

Registered: 11/07/07
Posts: 24
Ubuntu 7.10 (Gusty Gibbon) (should also work for Kubuntu)
Code:
sudo apt-get install build-essential libsdl1.2-dev libxinerama-dev libgconf2-dev


I believe this should be all you need, if not please correct me.

play0r

[RB - added libxinerama-dev and libgconf2-dev]


Edited by R. Belmont (13/07/08 03:30 AM)

Top
#35144 - 29/10/07 07:34 PM Re: SDLMAME distro cookbook [Re: play0r]
judge Offline
Senior Member

Registered: 13/04/04
Posts: 1186
OS X:
- Install latest Xcode
- Install latest SDL development libraries
- make TARGETOS=macosx
- Add BIGENDIAN=1 to the line above when building for a PowerMac system

[RB - updated PPC instructions]


Edited by R. Belmont (24/05/08 03:22 PM)

Top
#35167 - 30/10/07 07:33 AM Re: SDLMAME distro cookbook [Re: Belegdol]
judge Offline
Senior Member

Registered: 13/04/04
Posts: 1186
For a FreeBSD system with an up to date ports tree:
- cd /usr/ports/emulators/sdlmame
- su
- make
- make install

That will automatically download, compile, and install sdlmame and all needed dependencies.

If you want to build from the latest u-update, make sure you have done the above at least once to get the needed dependencies and from there on it's just a matter of issuing the appropriate make commands.


Sadly enough, there doesn't seem to be a PBI for pcbsd yet for either sdlmame or sdlmess.


Edited by judge (30/10/07 09:09 AM)

Top
#41551 - 24/05/08 03:32 PM Re: SDLMAME distro cookbook [Re: judge]
billb Offline
Senior Member

Registered: 22/06/07
Posts: 195
For Yellow Dog 6 (assuming Software Development checked during install)

Code:
yum install gcc SDL-devel expat-devel zlib-devel mesa-libGL-devel gtk2-devel GConf2-devel


Detailed instructions


Edited by R. Belmont (05/03/09 04:50 PM)
Edit Reason: fixed GL name as per Bill

Top
#43035 - 19/07/08 11:04 PM Re: SDLMAME distro cookbook [Re: play0r]
couriersud Offline
Senior Member

Registered: 19/02/07
Posts: 394
Ubuntu 8.04 (Hardy Heron)
Code:
sudo apt-get install build-essential libsdl1.2-dev libgtk2.0-dev libxinerama-dev libgconf2-dev


Tested on a fresh install from the Live-CD.


Top
#44100 - 26/08/08 03:12 AM Re: SDLMAME distro cookbook [Re: couriersud]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
For Debian and friends with OSS4, you may not get sound using the default libsdl1.2debian-alsa package. Replacing it with libsdl1.2debian-oss and specifying the sound driver for SDLMAME as "dsp" should work. (Thanks Rhapsody!)

Top
#44498 - 06/09/08 07:20 PM Re: SDLMAME distro cookbook [Re: R. Belmont]
Gore Daimon Offline
Senior Member

Registered: 04/12/06
Posts: 147
Loc: Itajubá - MG - Brazil
For Mandriva users:

1 - install your system with development packages
2 - get libsdl-devel package via urpmi
3 - edit SDLMAME makefile with your requirements
4 - make!
_________________________
PIAPARA's BLOG:

http://goredaimon.blogspot.com

Top
#45488 - 11/10/08 11:33 AM Re: SDLMAME distro cookbook [Re: Gore Daimon]
Cyberzinho Punk Offline
Member

Registered: 26/09/06
Posts: 99
Loc: São José dos Campos, SP, Brazi...
For Slackware Linux users:

$ unzip sdlmamexxx.zip
$ cd ./sdlmamexxx
$ mcedit makefile //and edit for your requirements
$ make

Dependencies:

GConf (ftp://ftp.gnome.org/pub/GNOME/sources/GConf/)
ORBit2 (ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/)
intltool (ftp://ftp.gnome.org/pub/GNOME/sources/intltool/)


Edited by R. Belmont (10/11/08 05:46 PM)
Edit Reason: updated again
_________________________
Sorry, my English is bad!!!
Slackware Linux 13.0/Fluxbox 1.1.1
Linux user #438128

Top
#46678 - 05/12/08 01:20 AM Re: SDLMAME distro cookbook [Re: judge]
ElBarto Offline
Member

Registered: 01/07/08
Posts: 47
Loc: France, Paris
Originally Posted By: judge
For a FreeBSD system with an up to date ports tree:
- cd /usr/ports/emulators/sdlmame
- su
- make
- make install

That will automatically download, compile, and install sdlmame and all needed dependencies.

If you want to build from the latest u-update, make sure you have done the above at least once to get the needed dependencies and from there on it's just a matter of issuing the appropriate make commands.


Sadly enough, there doesn't seem to be a PBI for pcbsd yet for either sdlmame or sdlmess.


I've updated the ports for sdlmame and sdlmess and also created a sdlmame-devel ports for u release.
They are not in the current ports-tree yet (I've opened PR but the original commiter seems dead ...).
Just get the tgz at http://distfiles.arcadebsd.org/ports rm the current directory and extract the new one.
I've removed the useless wrapper script and sdlmame and sdlmess use .mame and .mess respectively (sdlmame-devel use .mame-devel to avoid configuration problems).

Top
Page 1 of 3 1 2 3 >


Moderator:  R. Belmont 
Who's Online
2 registered (MAMEBase, Micko), 15 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4015 Members
9 Forums
6214 Topics
63592 Posts

Max Online: 162 @ 01/05/07 03:28 AM