Saturday, January 17, 2015

mupen64plus for Slackware

mupen64plus is a N64 emulator. I haven't to much experience with this emulator but the emulator seems to do the job pretty well. So here is a little installation instruction for Slackware.
Start by creating a location were you can store all packages:

# mkdir -p /usr/src/mupen64plus

Before you can install mupen64plus you need three additional libraries:


First change into the prior created directory:

# cd /usr/src/mupen64plus

Then get the source for libpng15:

# wget -c ""

Extract the package and change into the new created directory:

# tar xf libpng-1.5.21.tar.xz
# cd libpng-1.5.21

Then compile the sources for libpng15. The error message at the end can be safely ignored:

# ./configure --prefix=/usr --libdir=/usr/lib64
# make
# make install
make[2]: Leaving directory `/home/mfranke/Downloads/mupen64plus/libpng-1.5.21'
 /usr/bin/mkdir -p '/usr/share/man/man3'
/usr/bin/mkdir: cannot create directory '/usr/share/man': File exists
make[1]: *** [install-man3] Error 1
make[1]: Leaving directory `/home/mfranke/Downloads/mupen64plus/libpng-1.5.21'
make: *** [install-am] Error 2

Finally check that the library was installed:

# ls /usr/lib64/*png15*


Change back into the prior created directory for the packages:

# cd /usr/src/mupen64plus

Then download the source package for zlib (it contains libminizip):

# wget -c ""

Extract the source package and change into the following directory:

# tar xf zlib-1.2.6.tar.bz2
# cd zlib-1.2.6/contrib/minizip

Run the following commands to create the configure script (thanks to SBo for this):

# libtoolize
# aclocal
# autoconf
# automake --add-missing

Then build libminizip:

# ./configure --prefix=/usr --libdir=/usr/lib64
# make
# make install

Finally check that libminizip was installed:

# ls /usr/lib64/libminizip.*


libspeesdsp is need for sound during emulation. Download a copy of the sources:

# wget -c ""

When the download has finished extract the package and change into the new directory:

# tar xf speexdsp-1.2rc3.tar.gz
# cd speexdsp-1.2rc3

And finally compile the sources:

# ./configure --prefix=/usr --libdir=/usr/lib64
# make
# make install

When all libraries are installed you're ready for mupen64plus. Change back into the directory for the packages:

# cd /usr/src/mupen64plus

Get the mupen64plus package:

# wget -c ""

Extract the package and change into the new directory:

# tar xf mupen64plus-bundle-linux64-2.0.tar.gz
# cd mupen64plus-bundle-linux64-2.0

And run the install script:

# ./
Installing Mupen64Plus Binary Bundle to /usr/local
Installation successful.

The mupen64plus binary was installed into /usr/local:

# ls /usr/local/bin/mupen64plus

As a user you can load and play a N64 rom now:

$ mupen64plus rom.n64


Tuesday, November 4, 2014

VxVM vxdg ERROR V-5-1-0 Disk Group ...

Today a colleague asked me about a strange situation when adding new disks to a existing disk group in AIX 7.1. He had two new disks from two different storages. The first disk could be added easily as always:

# vxdg -g oradg adddisk emc_clariion1_79

But when he tried to add the second disk he became the following error:

# vxdg -g oradg adddisk emc_clariion0_80
VxVM vxdg ERROR V-5-1-0 Disk Group oradg has only standard disks and trying to add cloned disk to diskgroup.Mix of standard and cloned disks in a diskgroup is not allowed. Please follow the vxdg (1M) man page.

Thursday, October 23, 2014

Migrate/Move PPs in AIX LVM

Today I needed to replace a disk which is used by AIX LVM and which wasn't mirrored. Of course all data should remain.
The first thing I did was to list all volumes on the specific disk (in my case hdisk2):

Saturday, October 18, 2014

Apache virtual host

My company asks me to create two new websites. One for the internal intranet another one for the internal blog. For the intranet drupal should be used and for the blog wordpress should be used. To sum it up: two new websites accessable under:

Wednesday, October 15, 2014

Configure Nagios statusmap with User-supplied coords

The statusmap is most useful if you use the User-supplied coords function (imho). This article covers the following topics:

Add coords to the host definition
Set the User-supplied coords statusmap as default
Change the image from ? to a valid gd2

Tuesday, August 26, 2014

WeeWX with simulated data

WeeWX is a nice software that allows you to communicate with your weather station. Unfortunately I don't own a weather station (currently I'm thinking about buying one - that's why I stumbled over WeeWX) but WeeWX offers to simulate a weather station. And that is was this article is about: install WeeWX under Slackware and run it in simulator mode.
Before you can install WeeWX you need a few more python modules, at least configobj, six, pyserial and Cheetah. If you have a weather station than you might more python modules.
Start by creating a build location where you can store all your sources etc:

Saturday, July 12, 2014

Install and run ColEm

ColEm is an emulator for the old but impressive ColecoVision. This article will show you how to install the emulator and a short introduction how to use the emulator. I build the sources successully on my notebook (running Slackware64-14.1) and on my Cubietruck (running Linaro-13.04).

Saturday, May 31, 2014


If you're faced with a 7z file then you need a program like 7za to extract these archives. If your distribution has no 7z package you need to download the sources first:

Monday, May 26, 2014


Since I have my new SSD (SanDisk SDSSDHP128G) I read a little about performance tuning for SSD's etc. One thing I read was to activate trim (if possible) and to deactivate noatime during mounting. I have only one SSD where I store my entire operating system on so the partition layout is fairly simple:

Wednesday, May 21, 2014

importvg failed

The situation so far: a customer has two systems with a couple of luns presented to them. Two luns (hdisk2 and hdisk7) were imported as testvg on Node 2. Exporting the VG on Node 2 worked fine, importing on Node 1 failed (unfortuanatly I've no error message here). First I checked the physical volumes (note that I only take a closer look at hdisk2 and hdisk7 which belongs to the VG testvg):