Table of Contents

PCSX2

PCSX2 is PlayStation 2 emulator that runs on both Windows and Linux, though given it is 32bit only and depends on libraries not included in Slackware, binaries available for download on project's website will not run out of the box. Here is how to make PCSX2 run.

Installation

32bit software on 64bit Slackware

If you have 32bit Slackware, you can skip this section. If you have 64bit Slackware, you need to add multilib capability to your system, i.e. make it capable of executing 32bit programs. Which means:

Compiling missing libraries

Next, you need to compile missing libraries from source. Some are needed by pcsx2 executable itself, while some are needed by plugins.

On 64bit (though multilib) Slackware, you need to make sure you will compile 32bit, not 64bit libraries. In shell, run:

# . /etc/profile.d/32dev.sh
# export ARCH=i486

That will make system use 32bit compiler to produce 32bit programs.

wxWidgets

It's library for creating GUIs. I prefer no to mix libraries I compile myself with the rest of the system, hence the –prefix. The –enable-unicode option is necessary; PCSX2 requires unicode version of wxWidgets.

# wget https://sourceforge.net/projects/wxwindows/files/2.8.12/wxWidgets-2.8.12.tar.gz
# gunzip -c wxWidgets-2.8.12.tar.gz | tar -x
# cd wxWidgets-2.8.12
# ./configure --prefix=/opt/CPKGwxwidgets --enable-unicode
# make
# make install

libaio

Libaio is library for asynchronous I/O, whatever that asynchronous I/O is.

# git clone https://git.fedorahosted.org/git/libaio.git
libaio/Makefile
prefix=/opt/CPKGlibaio
	CFLAGS="-mtune=i686 -m32" make
# make
# make install

Soundtouch

It's library for processing audio data.

# wget http://www.surina.net/soundtouch/soundtouch-1.7.1.zip
# unzip soundtouch-1.7.1.zip
# cd soundtouch
# ./bootstrap
# ./configure --prefix=/opt/CPKGsoundtouch
# make
# make install

PortAudio

PortAudio seems to be cross-platform API for playing sound.

# wget http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
# gunzip -c pa_stable_v19_20111121.tgz | tar -x
# cd portaudio
# ./configure --prefix=/opt/CPKGportaudio
# make
# make install

Final steps

export LD_LIBRARY_PATH=/opt/CPKGwxwidgets/lib:/opt/CPKGsoundtouch/lib:/opt/CPKGportaudio/lib:/opt/CPKGlibaio/lib:$LD_LIBRARY_PATH

Links

PCSX2 for Linux

Sources