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 12-06-2008, 08:23 AM   #1
muhiuddin
LQ Newbie
 
Registered: Nov 2008
Posts: 8

Rep: Reputation: 0
Totem Movie Player


I installed Fedora 9. but when I play wmv file through totem movie player it requires codec. I have downloaded it. but I dont know how to install. there is no exe file.
I tried the following message appear in terminal.

[muhiuddin@localhost divx]$ ./install.sh

Do you accept the terms of this agreement? Please type yes or no.

yes
Proceeding with installation
./install.sh: line 209: /etc/ld.so.conf: Permission denied
./install.sh: line 210: /etc/ld.so.conf: Permission denied
Archive: contents.dat
creating: /tmp/.divx/include/
creating: /tmp/.divx/include/common/
inflating: /tmp/.divx/include/common/DivXPortable.h
inflating: /tmp/.divx/include/common/FourCC.h
inflating: /tmp/.divx/include/common/FourCCs.h
inflating: /tmp/.divx/include/common/FormatInfo.h
creating: /tmp/.divx/include/encoder/
inflating: /tmp/.divx/include/encoder/Settings.h
inflating: /tmp/.divx/include/encoder/EncoderCallback.h
inflating: /tmp/.divx/include/encoder/FrameResult.h
inflating: /tmp/.divx/include/encoder/FrameOutput.h
inflating: /tmp/.divx/include/encoder/EncoderInterface.h
inflating: /tmp/.divx/include/encoder/FrameInput.h
inflating: /tmp/.divx/include/encoder/FeedbackInterface.h
inflating: /tmp/.divx/include/encoder/Cli.h
inflating: /tmp/.divx/include/encoder/DivXException.h
creating: /tmp/.divx/include/decoder/
inflating: /tmp/.divx/include/decoder/LibQDec.h
creating: /tmp/.divx/lib/
inflating: /tmp/.divx/lib/libdivx.so
cp: cannot create regular file `/usr/local/lib/libdivx.so': Permission denied
mkdir: cannot create directory `/usr/local/include/divx': Permission denied
cp: target `/usr/local/include/divx/' is not a directory
chown: cannot access `/usr/local/lib/libdivx.so': No such file or directory
chmod: cannot access `/usr/local/lib/libdivx.so': No such file or directory
ln: creating symbolic link `/usr/local/lib/libdivx.so.0': Permission denied
chown: cannot access `/usr/local/lib/libdivx.so.0': No such file or directory
chmod: cannot access `/usr/local/lib/libdivx.so.0': No such file or directory
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
[muhiuddin@localhost divx]$



If i use the following command then it will appear though I gave root as well as my own (muhiuddin password) but unable to isntall


[muhiuddin@localhost divx]$ sudo ./install.sh
[sudo] password for muhiuddin:
muhiuddin is not in the sudoers file. This incident will be reported.
[muhiuddin@localhost divx]$

Last edited by muhiuddin; 12-06-2008 at 08:25 AM.
 
Old 12-06-2008, 10:01 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
First run fails because you don't have sufficient permissions; usually you're supposed to run that sort of things as root. Second run would be all right: sudo would run the script with root privileges, but in this case it says the user you're doing this as is not in the sudoers file. That means nobody (i.e. root) has not granted you any permissions to use sudo. Edit /etc/sudoers as root and add your user or a group the user is in into that file (with options as you need) and that should be fine..just be careful with the syntax, because a bad syntax sudo file might prevent all users from running anything with sudo (so if you did not have root account enabled and no users who could write to sudoers without sudo, you'd need to circulate the root account locking).

To run the script, becore root first (this is up to the distribution setup; if sudo is configured, you are encouraged to use the 2nd method you tried, sudo, but if that's not the case, you'll probably need to become root -- log in or use su).

Code:
su -
After this you are asked for root password (sudo only asks your personal user password), and once you type it in, you should become root. The "-" in the end causes the environment to become that of root too; in some cases it matters (especially if some binaries, or sbin/ directories, are not in regular users' $PATH variable that root would need).

Now that you've temporarily become root, run the script:
Code:
./install.sh
and see how it goes. There is of course no .exe file because this is not Windows

Though since you use Fedora, you should maybe install the codecs trough the package management application rather than "manually". Eases up upgrading and keeps system cleaner..for that you should find out what reposities you need (where the needed codecs are) and what packages you exactly need. Totem itself is a front-end so you don't probably find codecs for Totem, but you need to find out which engine Totem uses to play the videos; typical ones are Xine or GStreamer. See the settings for example; once that's clear, seek for plugins/codecs packages (in your package manager, graphical or yum in command line) for the engine (Xine, GStreamer, ..., whatever it is that Totem uses) and install them - after that it should work, and you don't need to get your hands dirty running installer scripts or anything (just point and click).
 
Old 12-06-2008, 10:37 AM   #3
muhiuddin
LQ Newbie
 
Registered: Nov 2008
Posts: 8

Original Poster
Rep: Reputation: 0
thanks I install the codec but still I have problem in running wmv file. I just want to play wmv file but not know how to because I using linux first time. so pls give me step by step method. I am unable to understand meaning of xine stereamer etc.
 
  


Reply


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
TOTEM movie player lp449 Linux - Software 2 02-14-2012 01:49 PM
Totem movie player DanielTan Linux - Software 17 12-27-2008 08:47 PM
A totem movie player problem Kickenet Linux - Software 9 12-07-2008 10:40 PM
can't play Totem movie player msivasakthi Fedora 3 12-19-2007 09:24 AM
Totem Movie player problem mentallysilent Linux - Software 4 12-18-2004 12:57 PM

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

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