Wednesday, November 3, 2010

Installing Dosbox on the Wetab

So since getting any other OS on this machine has proven to be hell, I've gone ahead and started messing around with the machine. One of my original reasons for wanting a touchscreen was for games to be more interactive. Well, the yum repositories from 4tiitoo have most of what you need to run dosbox but you will need to build SDL_sound and dosbox manually.

Followed instructions on http://www.dosbox.com/wiki/BuildingDOSBox to install dosbox on the WeTab:

sudo yum install gcc-c++
sudo yum install SDL-devel
sudo yum install SDL_net

Download SDL_sound and untar it from: http://icculus.org/SDL_sound/downloads/

tar -xvf SDL_sound-1.0.3.tar.gz
cd SDL_sound-1.0.3

configure --with-sdl-prefix=/usr/lib --with-sdl-exec-prefix=/usr
make
sudo make install

Download dosbox source from http://www.dosbox.com/download.php?main=1

tar xvf dosbox-0.74.tar.gz
cd dosbox-0.74
export CPPFLAGS="-I/usr/local/include/SDL"
export LDFLAGS="-L/usr/local/lib"
./configure --with-sdl-prefix=/usr/lib --with-sdl-exec-prefix=/usr --with-alsa-prefix=/usr/lib --with-alsa-inc-prefix=/usr/include/alsa

sudo echo "/usr/local/lib" >> /etc/ld.so.conf
sudo ldconfig


Hope you enjoy.

No comments:

Post a Comment