Help! 1st time installing from source! QTScrob - last.fm

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Sun Feb 03, 2008 5:57 pm

Hi!

It's all going well with me and linux. I switched two weeks ago and haven't since booted to windows! everything is working great, including my Wacom Bamboo (which took me some sleepless night to get to work).

Now i really need a scrobbler program to upload the .scrobbler.log -file from my iRiver H320 -mp3 player to my last.fm -profile.
In windows i used a small program called QTScrobbler http://qtscrob.sourceforge.net/ and luckily there is a linux version available.

But i cant install it!

What i did (by reading some information) is:
- i downloaded the file (called: qtscrob-0.7.tar.bz2 (source code both GUI and CLI))
- i unpacked it by typing xjvf qtscrob-0.7.tar.bz2
- i entered the folder with cd (folder name)
- i typed: qmake-qt4, which gave me a some sort of explanation of qmake and its commands???
- then i typed: make, and the result was: make: *** No targets specified and no makefile found. Stop.

those are just some instruction i gathered from the net, i dont really know what they are supposed to do. but anyway, they dont work...

So, please, could you give me some help on this! and perhaps also some general info /links on how to install applications that arent found via Synaptic.

Thanks!
- Mikko
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Linux Mint is funded by ads and donations.
 

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby Husse on Mon Feb 04, 2008 9:12 am

Welcome to Mint prinssimikko
There is actually some useful info in the wiki
http://www.linuxmint.com/wiki/index.php ... eb_package
You should take some time and read (the second link in the wiki)
http://monkeyblog.org/ubuntu/installing/#source
I think what's happened in your case is that you have not installed build-essentials
This is a package with some files necessary to use make :)
You can find it in Synaptic
Post back if you need more help, but you were definitely going in the right direction
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19714
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Mon Feb 04, 2008 12:02 pm

Oh thanks. I'll try that when i get home. It could be those build essentials, because i tried to install SONGBIRD yesterday and came up with similar problems...

Thanks for the links as well, Husse! I'll read them carefully.

It's funny, but somehow i feel that even after two weeks i know more about Linux than i ever did about Windows... :lol:
don't sure if thats a good or a bad sign...
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby Husse on Mon Feb 04, 2008 1:26 pm

It's a good sign :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19714
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby MagnusB on Mon Feb 04, 2008 2:48 pm

Husse wrote:Welcome to Mint prinssimikko
There is actually some useful info in the wiki
http://www.linuxmint.com/wiki/index.php ... eb_package
You should take some time and read (the second link in the wiki)
http://monkeyblog.org/ubuntu/installing/#source
I think what's happened in your case is that you have not installed build-essentials
This is a package with some files necessary to use make :)
You can find it in Synaptic
Post back if you need more help, but you were definitely going in the right direction

Make an sticky or something with the build-essentials, it is the most crucial tool when compiling...
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby Husse on Mon Feb 04, 2008 4:18 pm

You're right about sticky, but I think there already is one :) Or was - I don't find it now :roll:
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19714
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby MagnusB on Mon Feb 04, 2008 4:20 pm

Should be in Newbie and General help though, maybe in Software as well. Perhaps I should consider making a wiki page about compiling, but I am lazy...
EDIT!
I did not read the entire post, but if you are trying to install last.fm, the site offer an unofficial deb package of the newest stable release..
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Mon Feb 04, 2008 5:30 pm

hmm... can't get it right.

i think i already had build-essential.
here's what i tried to type into Terminal:

mikko@Prinssi:~$ sudo apt-get install build-essential
[sudo] password for mikko:
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
mikko@Prinssi:~$ cd qtscrob-0.7/
mikko@Prinssi:~/qtscrob-0.7$ ./configure
bash: ./configure: No such file or directory
mikko@Prinssi:~/qtscrob-0.7$ make
make: *** No targets specified and no makefile found. Stop.
mikko@Prinssi:~/qtscrob-0.7$ sudo make install
make: *** No rule to make target `install'. Stop.
mikko@Prinssi:~/qtscrob-0.7$

I'm sure there is some really basic thing i'm doing wrong here...

could someone please check the qtscrob-file (on the first post) and see if it works...

as i mentioned, i had similar problems when trying to install Songbird.

(To Magnus: Thanks for the tip, but i dont need last.fm -software (Amarok does that for me), only this small app to upload the log-file from my mp3-player to my last.fm profile.)
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby Husse on Mon Feb 04, 2008 5:55 pm

Well the makefile is in
qtscrob-0.7/src/cli
Navigate there and "make" and it will probably work
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19714
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Mon Feb 04, 2008 6:12 pm

Oh that explains... but no. some weird errors still. Maybe the files are not working at all? did you try?

mikko@Prinssi:~/qtscrob-0.7/src/cli$ make
g++ -c scrobble-cli.cpp -o scrobble-cli.o -Wall -g -I../lib `curl-config --cflags`
/bin/sh: curl-config: not found
In file included from scrobble-cli.cpp:21:
../lib/libscrobble.h:23:23: error: curl/curl.h: No such file or directory
scrobble-cli.cpp: In function ‘int main(int, char**)’:
scrobble-cli.cpp:216: warning: passing ‘double’ for argument 2 to ‘bool Scrobble::parse_file(std::string, int)’
make: *** [scrobble-cli.o] Error 1
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Mon Feb 04, 2008 6:35 pm

i MUST be missing something...

check this out: i followed these very easy and simple instructions to install Songbird:
https://help.ubuntu.com/community/Songbird
From Installing Songbird With A Script downwards...

when i prompted this, as asked:
cd ~/Desktop
chmod +x installsongbird.sh
./installsongbird.sh

all i get is:
mikko@Prinssi:~/Desktop$ ./installsongbird.sh
/bin/bash: (-): No such file or directory
mikko@Prinssi:~/Desktop$

what the hell am i doing wrong? i AM seeing the installsongbird.sh -file on the desktop.

- Mikko
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby newW2 on Mon Feb 04, 2008 7:25 pm

I sometimes get stubborn and want to find out what I did wrong, and it is alaways as you say something basic or obvious. Then other times I just take the easy way out and use the software portal. You could try this:

http://linuxmint.com/software/?sec=cate ... e&start=10
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby micpet on Mon Feb 04, 2008 8:01 pm

I can help you to install songbird 0.4. I like this app better and better. Main problem/gripe I had was with the missing icon. I have been planning to do a mini tutorial of sorts for those who like and use songbird, but what the hay. Let's do it here. First off go to this webpage:

http://phorolinux.com/installing-songbird-03-on-ubuntu-710-gutsy-gibbon.html

Through trial and error i found that songbird installs in the /usr/share directory. In following the install instructions on the above webpage make the following changes:

1) substitute 0.4 for 0.3.

2) substitute /usr/share/ for /opt/ throughout.

If you download from Mint software portal you will not get the latest version (last time I checked, could have changed). If it is the 0.4 version and you cannot see an icon, then open terminal and type:

sudo gedit /usr/share/applications/songbird.desktop

Delete the data and substitute the data from webpage and make changes as reflected above in step 2.

You will now have an icon. Much thanks to Phorolinux for the use of his scripts. This works, as far as I have tested it, on all ubuntu based distro's.

Sweet Streams.
User avatar
micpet
Level 1
Level 1
 
Posts: 47
Joined: Sat Nov 03, 2007 6:10 am
Location: North Carolina, USA

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Tue Feb 05, 2008 5:07 am

i think there should be a separate thread for installing Songbird 0.4 on Mint.

It seems to be such a fantastic application. The only thing (well, besides Lightroom) i am missing from my Windows days (not so long ago) is MediaMonkey. Amarok etc. don't come even close, when it comes to organizing and batch editing capabilities. Not sure if Songbird does that, but otherwise it seems to be amazing. Especially the internet/mp3-search integration.

I'll try Micpet's advice when i get home.

But back to topic:

What is wrong with my setup? Why does it come up with these weird "/bin/bash: (-): No such file or directory" etc. errors?

- Mikko
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby micpet on Tue Feb 05, 2008 8:53 am

@Mikko: I looked back over the steps you took to open the qt pkg. I did not see where you opened the file and looked at the README file to see what kind of instructions where in there. Not all pkgs. use the ./compile rout. I have found this link usefull and keep it in my bookmarks for reference:

http://home.nyc.rr.com/computertaijutsu/tarball.html

Read it carefully. It is very useful. Hope this helps.
User avatar
micpet
Level 1
Level 1
 
Posts: 47
Joined: Sat Nov 03, 2007 6:10 am
Location: North Carolina, USA

Re: Help! 1st time installing from source! QTScrob - last.fm

Postby prinssimikko on Tue Feb 05, 2008 7:08 pm

thanks for the help.
I saved and read the document, and there sure was lot of useful info...
.. and i didnt know about the readme-file :oops: i did glance inside the folder, but gave up because i didnt really understand anything.

Read Me was useful. There was list of required packages (which i already had) and there was clear instructions to install: "qmake && make", and to run "./qtscrob".
But i didnt work for me!

mikko@Prinssi:~/qtscrob-0.7/src/qt$ qmake && make
Project MESSAGE: using curl-config
WARNING: Found potential symbol conflict of browsedirtree.cpp (src/browsedirtree.cpp) in SOURCES
WARNING: Found potential symbol conflict of browsedirtree.h (src/browsedirtree.h) in HEADERS
Makefile:235: warning: overriding commands for target `build/.o/browsedirtree.o'
Makefile:196: warning: ignoring old commands for target `build/.o/browsedirtree.o'
Makefile:259: warning: overriding commands for target `build/.o/moc_browsedirtree.o'
Makefile:250: warning: ignoring old commands for target `build/.o/moc_browsedirtree.o'
Makefile:283: warning: overriding commands for target `build/.moc/moc_browsedirtree.cpp'
Makefile:274: warning: ignoring old commands for target `build/.moc/moc_browsedirtree.cpp'
/usr/share/qt3/bin/uic src/ui/aboutWin.ui -o build/.ui/aboutWin.h
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.7)
make: *** [build/.ui/aboutWin.h] Error 1
mikko@Prinssi:~/qtscrob-0.7/src/qt$ ./qtscrob
bash: ./qtscrob: No such file or directory

... huh ???

so the problem seems to be my Qt Designer version. I didnt find older version thru Synaptic. how can i get it, and is it wise?

well, i found a webpage which lets me upload the scrobbler-file to my last.fm-profile, so problem is solved :)

thanks for all your efforts!
prinssimikko
Level 1
Level 1
 
Posts: 20
Joined: Fri Jan 25, 2008 3:11 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: administrollaattori, Google [Bot], Google Adsense [Bot], wilbobob and 41 guests