I am trying to install the Last FM client that was discussed in LXF101 (the latest version of Linux Format)
This is a first project for me as well.
I'm on Debian/Etch
I've downloaded the source into /tmp
I've run configure and tried to make but there seems to be some dependencies missing, particularly QT 4.
1. How do I check for what I need to have installed (see the readme file)?
2. How do I check for whichever version of QT I have (whatever that is?)
3. Have I installed from source correctly?
4. I do I install the required dependencies?
5. Where should I install the program to (or move it now I have it tmp)?
Thanks in advance
Bigdog (Lee)
The Readme looks like this:-
Last.fm
=======
Last updated: 31-November-2007 (1.4.0)
Firstly, sorry that this doesn't install very well under Linux. There are
patches to prefixify the installation available from our public SVN repository.
But if you build from this default install, it will be a self contained folder
that you can just run from your home directory or something like that.
Requirements
------------
libsamplerate
libfftw
libmad
libgpod
alsa-lib
Qt 4.3
Build
-----
./configure && make
Running the program
-------------------
bin/last.fm.sh
Installation
------------
You can install last.fm to its own prefix, and then copy the last.fm script to
a bin directory in the path, and modify the script so the LD_LIBRARY_PATH is
correct.
This isn't tested though. You'd be better doing something like:
$ mv last.fm-x.x.x.x/bin /opt/last.fm
$ /opt/last.fm/last.fm.sh
.................................
and when I run the configure && make I get:
kylowky:/tmp/last.fm-1.4.2.58240# ./configure && make
==> Last.fm Configure
==> Checking for qmake...
==> Checking the installed version of Qt is correct...
./configure: line 40: -v: command not found
Your version of Qt seems to be too old, we require Qt 4.3 or above.
It is possible you have Qt3 and Qt4 both installed. Locate your qt4 installationand ensure it is placed first in the path, eg:
PATH=/opt/qt4/bin:$PATH ./configure
However this configure script is very basic, perhaps we got it wrong..
Try typing the following, perhaps it will build for you
qmake -config release && make
make: *** No targets specified and no makefile found. Stop.