PDA

View Full Version : ShowEQ from bootable USB stick



Mardark
11-12-2007, 10:28 PM
I wondered if was possible, so I thought I would give it a try.

Here is what I did.

I installed Slackware (http://www.slackware.org/) 12 on my computer. Installed and compiled the latest ShowEQ.

Only problem with Slackware, is UTS_VERSION error compiling.

Go in and edit /usr/include/linux/version.h

Put in a line such as: #define UTS_RELEASE "2.6.21"

Save the file, and this should fix the compile problems.

For the bootable usb, I used SLAX.

Instruction on how to make a bootable USB is here (http://www.pendrivelinux.com/2006/09/20/all-in-one-usb-slaxzip).

SLAX is based on Slackware, so I hoped there were sufficient libraries in the SLAX Standard Edition v 5.1.8.1. This is what I used for my SLAX install on the USB stick.

Going to the SLAX Homepage (http://www.slax.org/) you can read the documentation on modules. In a nutshell, you can make a module by copying the files you want to show up in your root dir in to /tmp/package, and you run the dir2mo command in slax.

I was able to make a module for showeq, including the needed executables from /usr/local/bin, and the other files needed for showeq in /usr/local/share/showeq. To keep your files, copy this module to your SLAX drive in /boot/modules.

I made modules for the files I needed. Made a base module for showeq, maps, and filters. After copy the mo files into the modules directory. I could now take my usb stick to any bootable computer I am set up for ShowEQ on, and run it. If I want to use my laptop. Poof ... done. Desktop ... done. Can take it where I want and use it.

No library problems. Nothing. Since SLAX is based on Slackware, that was a perfect platform for compiling ShowEQ in a version that has libraries available in SLAX.

Works great. Been a long time lurker here, never contributed. So I thought I would share my USB fun.

Oh, by the way, this all fit on a 256 meg USB stick no problem. If you want to compile showeq in SLAX, you will need the development libraries, and that will put the base install over 256 meg. I might have to get a 512 meg stick, and give that a go, to see how well that works.

Enjoy