LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2008, 04:37 AM   #1
BigDog
LQ Newbie
 
Registered: Sep 2007
Location: London
Distribution: DebIan
Posts: 8

Rep: Reputation: 0
Last FM Client Installation problems (QT4.3 ?)


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.

 
Old 01-06-2008, 07:39 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
1. Run the configure script. It'll do the checking for you.
2. I'm not a Debian user, but it seems like you can use "apt-cache show qt" (c.f. this). There may be other ways.
3. What do you mean? You can put the source anywhere you like.
4. If the configure script doesn't complain, then you've got them installed. Either way, for info on installing packages, read this.
5. /usr/local or /opt would probably be good choices.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i install qt4? plainkeyman Ubuntu 5 06-20-2011 08:07 PM
Qt4 install .. now I have sound problems ? orbit Slackware 6 10-10-2007 03:26 AM
Does slackware 12 come with Qt4? Tux-Slack Slackware 1 07-14-2007 01:28 PM
qt4 libQTOpenGL.so.4.1 problems cuevaquebrada Linux - Desktop 1 11-27-2006 05:51 PM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration