LinuxQuestions.org
Help answer threads with 0 replies.
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 08-21-2008, 10:28 AM   #1
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Rep: Reputation: 15
Cool mplayer download in slacky 12.0


went to slacky.eu -- beautiful thing ,,, anyway - downloaded mplayer.tgz and when i un-tared it (twice) i never got the file -- mplayer-1.0rc2try1-i686-1sl.tgz in my ~ folder without the .tgz on the end ....
what do i run installpkg on?
thanks ,,,,
will ck back after work !!!
Live ON ...
 
Old 08-21-2008, 10:46 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
tgz are usually binary packages, they don't usually include the original tarball. Have you tried just using installpkg to install it?

installpkg mplayer.tgz
 
Old 08-24-2008, 04:13 PM   #3
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
no

mplayer does not end in .tgz ---- tried it anyway got corrected -- i have already untared this ---- tar -xvzf and everything went to /usr/bin ... in the ~ ..... there is only ~/usr ... ~/etc .... and ~/install .... looked in the man install page included with the .tgz and it did not help .... this one never left me a file to run installpkg on ... mplayer is in ~/etc but when i run the above command i get "mplayer does not end in .tgz" .... tried install too .... but i don't get how to parse it ... install -T mplayer ~/mplayer ... get install: omitting directory `mplayer .... i don't know how to use install ....
confused .....
please help !!!!
 
Old 08-24-2008, 05:02 PM   #4
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
If you have slackware and downloaded a .tgz package, you will install that as root w/ installpkg package.tgz. Trickykid was correct.

If you get a package that ends in tar.gz, you can unpack it with tar xvzf file.tar.gz.

If you cet a package that ends with tar.bz2, you can unpack it with tar xvjf file.tar.bz2.

When you are unpacking you almost always go into the newly extracted directory and run ./configure, then make, and then su to root and make install. Many people have to look at the options of ./configure with ./configure --help first, and then they configure with extra options.

You might want to just get mplayer form the site, so you can get all the codecs, too. Here's the latest mplayer: http://www3.mplayerhq.hu/MPlayer/rel...1.0rc2.tar.bz2

Here's the codecs necessary to watch most content: http://www3.mplayerhq.hu/MPlayer/rel...071007.tar.bz2

I put all of my codecs in /usr/local/lib/codecs/ . I think that's where they are supposed to go for mplayer to find them, but the mplayer website has more thorough docs on this.

I hope you get mplayer working, because you'll love your computer and linux more once you do! I use mplayer for everything, including youtube, and couldn't be happier.

Last edited by Anithen; 08-27-2008 at 08:29 PM.
 
Old 08-27-2008, 09:27 AM   #5
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
Unhappy lost !!!!

sorry but i'm just lost with this:

there are three files that need to be installed -
doinst.sh slack-desc slack-required

when i run make on them, i get "make: Nothing to be done for `doinst.sh'"
when i run install, i use install -d, i get "install: cannot create directory `doinst.sh': File exists"
and make -d install, i get "Must remake target `install'.
make: *** No rule to make target `install'. Stop."

the directory the original .tgz file created was /usr/doc/mplayer
it also created /usr /etc and /install on the Desktop ....

read make --help and install --help ,, but ./configure or cofigure --help is a bad or unrecognized name

REALLY LOST NOW .....
 
Old 08-27-2008, 09:37 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Delete the files and folders you have downloaded. Go back to the site and redownload the mplayer package. Then, without untarring the package, run installpkg mplayer<whatever it is>.tgz as root. This will install mplayer for you.
 
Old 08-27-2008, 12:40 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
A tgz file that was packaged for Slackware is the compiled binaries for that program. Think of tgz as an RPM, it's already gone through the configure, make and make install steps for you on a particular architecture.
 
Old 08-27-2008, 03:16 PM   #8
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
Smile good advice

good advice ....
overlooked the most important step ....
both posts are correct ... the only thing is when i run installpkg on the <whatever>.tgz as su it installs perfectly,,,, but perfectly where???
can't find hide nor hair of that mplayer now .....
looked in the root Desktop and ~ user desktop so i will look at the link that was posted earlier when i get off work tomorrow evening ... it is something simple i am sure i.e. /urs/bin/mplayer ....
do you have any hints about how to make a desktop icon for the mplayer file once i have found it????
thanks everyone for your kind advice ....
 
Old 08-27-2008, 03:24 PM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Run the command
Code:
which mplayer
On my system, it returns
Code:
/usr/bin/mplayer
.

If you need a gui, check the multimedia section of the KDE menu, if it's not there, try running "gmplayer" from the command line.
 
Old 08-27-2008, 04:19 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
Or run updatedb and then do a "locate mplayer"
 
Old 08-27-2008, 08:44 PM   #11
Anithen
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Slackware 12, Slackware 12.1, Slackware 12.2
Posts: 105

Rep: Reputation: 15
And if the mplayer command can be ran from the command line, you can just type mplayer video.avi. If you use a file manager to browse through your movie collection graphically, you can set it to "open" your videos with mplayer. You shouldn't need to type the full /path/to/mplayer .

Not to sure how to put an icon on your desktop, though, but if you figure it out you would want it to be an icon for gmplayer.



Random Mplayer Thought: did you know you can make animated gifs with mplayer, too?
mplayer -vo gif89a video.avi

It will make a file called out.gif, and you can open it with the gimp to resize it (to make an animated avatar, for instance). And it's kind of weird, but you can even play the animated gif with mplayer.
 
Old 08-29-2008, 10:23 AM   #12
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
thanks ....
mplayer was in /usr/bin ,,,,, changed video preferences in Firefox to use /usr/lib/mplayer ,,
will see what happens when i have a video sent to me to play ....
another thing though ,,,
i downloaded frozen-bubble for my wife and daughter ...
it was a .tgz file as well,,, expanded and installed fine .... went also to /usr/bin but to /usr/bin/frozen-bubble .... when i use beagle to search it out i found a file fb-server as the executable .... but when i click on it it doesn't run ..... the program resides in /usr/bin as well as /usr/bin/frozen-bubble as a small Perl program ....
any ideas?
 
Old 08-29-2008, 10:42 AM   #13
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
one other thing ,,, when i try to play a .wma file off the desktop it still pulls up gxine ...
how do i change the preferences for how a file or file type pull up a particular player ...
(other than firefox) .... is it set in Konqueror? as the file manager mentioned above ... although i never use my file manager to search video files ,,, well i guess i do ,,,, not directly ,,, anyway i will ck that one ...
and when i type mplayer in /usr/bin i get a dependeceny error looking for "libjack.so.0" ... looked for the file (have already downloaded the codecs "all-20071007-noarch-1sal.tgz") from Slacky.eu ,,, an italian site i presume as i cannot read any descriptions only package names ....so any ideas about this ,,, and probably others to follow ,,, dependencies for mplayer ..
thanks again ....
 
Old 08-31-2008, 03:04 PM   #14
wdave58
Member
 
Registered: Aug 2006
Location: Richardson, TX
Distribution: Slackware 12.0
Posts: 63

Original Poster
Rep: Reputation: 15
ok ....

back p-its sunday,,, when i try to click on any .wma files with konqueror, or try to run the executable - mplayer - in ~usr/bin ,,,, i get this message .....

"mplayer: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory" ......

i believe i downloaded all the correct codecs ,,, listed as file ........

"all-20071007-noarch-1sal.tgz"

but something is missing ..... any ideas ??????

ckd out mplayer in ~/usr/bin and it is about 9MB large and has root as owner and group ...
 
Old 08-31-2008, 03:17 PM   #15
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by wdave58 View Post
"mplayer: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory"
Quote:
but something is missing ..... any ideas ??????
I'd guess you're missing libjack . You can get the source for it here. LinuxPackages.net has a package for it, should you want to use that.

Last edited by Nylex; 08-31-2008 at 03:26 PM.
 
  


Reply

Tags
mplayer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hi there! A new slacky user! :) marshmellow LinuxQuestions.org Member Intro 1 04-03-2006 05:37 PM
No APM in slacky 9.1 Tomlewis007 Slackware 2 03-10-2004 10:49 AM
Slacky 9.0 is broken! Grim Reaper Linux - Software 3 03-29-2003 09:55 AM
Slacky New Year Ed-Slack Slackware 5 12-31-2002 05:13 PM
slacky x-mass :) Tinkster Slackware 5 12-25-2002 07:08 PM

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

All times are GMT -5. The time now is 01:48 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