This is an update to my
earlier post. For the most part it is just my command-line history with a few comments.
- Open a terminal window (konsole for example)
- Make a directory and change to it:
> md lsongs
> cd lsongs - Download the latest lsongs source file (not the Debian package) and unzip. At the time of writing, this is done using:
>wget http://software.linspire.com/pool-src/l/lsongs/lsongs_0.2.46-0.0.0.50.linspire0.1.tar.gz
> tar xzvf lsongs_0.2.46-0.0.0.50.linspire0.1.tar.gz
> cd marlin_build_lsongs-0.2/
- Try running lsongs and find that it is missing a few dependencies:
> ./Lsongs/lsongs - Install pyxine:
> sudo apt-get install libxine-dev
> cd ..
> wget http://jaist.dl.sourceforge.net/sourceforge/pyxine/pyxine-0.1alpha2.tar.gz
> tar xzvf pyxine-0.1alpha2.tar.gz
> cd pyxine-0.1alpha2/
> python setup.py install
At this point the install failed for me due to compile issues with G++ 4.1. I just had to edit pxlib/Geometry.cc and add a few empty 'template <>' calls before function definitions. Then I could continue the install.
- Install pyxine (also needs root access):
> sudo python setup.py install - Install pynjb:
> cd ..
> wget http://software.linspire.com/pool-src/p/pynjb/pynjb_0.1.0-0.0.0.50.linspire0.6.tar.gz
> tar xzvf pynjb_0.1.0-0.0.0.50.linspire0.6.tar.gz
Need to install a few extra libs:
> sudo apt-get install sip4
> sudo apt-get install python-sip4-dev
> sudo apt-get install libnjb-dev
Now back to pynjb:
> python configure.py
> make
> sudo make install
- Change back to lsongs dir and try to run Lsongs:
> cd ../marlin_build_lsongs-0.2/
> ./Lsongs/lsongs
I got an error 'ImportError: No module named ipod'. I just had to edit two files to comment out the 'from ipod import *' lines:
> vi Lsongs/PodLibrary.py
> vi Lsongs/PodPlaylist.py - Install extra dependencies:
> sudo apt-get install cdda2wav
> sudo apt-get install lame
> sudo apt-get install liblame-dev - Install py-lame
> cd ..
> wget http://jaist.dl.sourceforge.net/sourceforge/lame/py-lame-0.1.tar.gz
> tar xzvf py-lame-0.1.tar.gz
> cd py-lame-0.1/
> make -f Makefile.pre.in boot
(at this point I had to edit the makefile to remove the DEFS = @DEFS line)
> make
> sudo make install
> cd ../marlin_build_lsongs-0.2/
- That's it. You can choose to install lsongs system-wide as follows:
> sudo python install.py
When you launch lsongs you should see something like: