Compiling Streamripper on CentOS 5 – Problems & Solutions

If you tried compiling the latest version of streamripper (1.64.6), you’ll probably see the following error:


< Snip > 

*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Glib 2.16 or greater required

If so, try using an older version such as 1.62.0:

cd streamripper-1.62.0

< Snip >

Making all in po
make[3]: Entering directory `/home/leo/streamrip/streamripper-1.62.0/tre-0.7.2/po'
test -z "" || make
make[4]: Entering directory `/home/leo/streamrip/streamripper-1.62.0/tre-0.7.2/po'
rm -f && : -c --statistics -o fi.po
mv: cannot stat `': No such file or directory
make[4]: *** [] Error 1
make[4]: Leaving directory `/home/leo/streamrip/streamripper-1.62.0/tre-0.7.2/po'
make[3]: *** [stamp-po] Error 2
make[3]: Leaving directory `/home/leo/streamrip/streamripper-1.62.0/tre-0.7.2/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/leo/streamrip/streamripper-1.62.0/tre-0.7.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/leo/streamrip/streamripper-1.62.0/tre-0.7.2'
make: *** [all-recursive] Error 1

If you run into the error above while compiling, try to configure with the ' --disable-adplug' flag.

./configure --disable-adplug
make install

wget: Recursively Download a Directory

Suppose I have a directory with a set of files (and perhaps other directories) under which has directory indexes enabled.

In order to download all files under the ‘distros’ directory using wget, run:

wget -r -np -nH -R index.html

-r : recurse through all files and directories
-np : no parent / do not recurse up to the parent directory
-nH : no host / disable generation of host directories when saving files
-R : reject any files named ‘index.html’