LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-01-2007, 04:02 AM   #1
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Rep: Reputation: 15
Compliation of Mplayer plugin gives an error


Hi, I am running Mandriva 2007 powerpack and I have Firefox 1.5.0.7 and it says Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060802 etc. in the "About" section of Firefox help. So I am assuming I am using gecko-sdk-1.8.0.7. I have Mplayer installed already and I am trying to install the plugin for Mplayer so that I can play all streaming files, windows or real media format. I downloaded gecko-sdk-i686-pc-linux-gnu-1.7.tar.gz and extracted it to some place and all. When I ran the "make" command in the mplayer directory, it runs for a while and then gives the following code, where it starts facing problems and gives errors. I am a newbie and I don't have any idea what it means. Could someone please take a look at the code and let me know what I am missing and what I need to do. Thanks.


Source/plugin-ui.cpp:6:21: error: X11/xpm.h: No such file or directory
Source/plugin-ui.cpp:48:2: error: #error libXpm has not been found. Compilation
cannot continue
include/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual funct
ions but non-virtual destructor
/home/veeral/Download/gecko-sdk/include/nsISupportsBase.h:80: warning: ‘class ns
ISupports’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class nsIScriptableWMPPlugin’
has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class nsIScriptableMplayerPlu
gin’ has virtual functions but non-virtual destructor
/home/veeral/Download/gecko-sdk/include/nsIProgrammingLanguage.h:32: warning: ‘c
lass nsIProgrammingLanguage’ has virtual functions but non-virtual destructor
/home/veeral/Download/gecko-sdk/include/nsIClassInfo.h:33: warning: ‘class nsICl
assInfo’ has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has virtual func
tions but non-virtual destructor
Source/plugin-ui.cpp: In function ‘void Initialize(Display*, Drawable, nsPluginI
nstance*, _XGC*)’:
Source/plugin-ui.cpp:72: error: ‘XpmCreatePixmapFromData’ was not declared in th
is scope
make: *** [plugin-ui.o] Error 1
 
Old 01-01-2007, 05:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why bother compiling it at all? http://rpm.pbone.net/index.php3/stat....i586.rpm.html
 
Old 01-01-2007, 03:50 PM   #3
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15


Hi, thank you for your guidance. Honestly speaking, I was confused when I clicked on the link you wanted me to go to. It was becuase I saw two rpms, one mplayerplugin-debug-3.25-2mdk.i586.rpm and the other one is mplayerplugin-3.25-2mdk.src.rpm. I installed the second file first and I installed directly through the gurpmi associated with Opera. While installing this file, it said it could not install all the packages becuase of some gtk2+ (I didn't save the name of the file correctly, but that's the name of the file I remember) but asked me to continue with the installation, which I did. I then installed the debug rpm which installed perfectly. Please let me know if I did right. Do I have to do anything else to associate Mplayer as the default player for both Opera and Firefox to play all media files? Thanks.
 
Old 01-02-2007, 01:34 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
my bad, i thought that contained the right rpm, try this... http://rpm.pbone.net/index.php3/stat....i586.rpm.html
 
Old 01-06-2007, 10:20 AM   #5
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Even after installing this correct rpm, when I try to open an online video, Mplayer doesn't kick in automatically and start playing the video. The window of the video once said I needed mplayerplug-in and on other occasion it said it needed mozplugger. I have mozplugger and mplayerplug-in installed already, but still I am getting those errors. Any idea what's going on?
 
Old 01-16-2007, 04:09 AM   #6
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
I unsitalled mplayer and mozplugger and reinstalled them. Now I am getting different errors in the form of "could not find an hxplayer or realplay in the path of the system to use as an embedded player". I am lost. I even installed wine but don't know how to work with it even after researching about on the net. Could someone help? Thanks.
 
Old 01-19-2007, 01:55 AM   #7
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
I have an update:

The error about the video not being played because it did not find a realplay or hxplay is gone now as I re-installed realplayer. I can play real videos now, which I could play even earlier before uninstalling realplayer. I unsitalled realplayer so that mplayer could become my default player for online media. So now, I can play real videos (although I can't expand the screen to full screen), but I can't play windows media video. When I try to play windows media video, the mplayer screen loads in the window of the video and it syas it's loading the video but nothing loads. Any suggestions? Thanks.
 
Old 01-19-2007, 02:08 AM   #8
keith11
LQ Newbie
 
Registered: Dec 2006
Posts: 27

Original Poster
Rep: Reputation: 15
I have an update:

The error about the video not being played because it did not find a realplay or hxplay is gone now as I re-installed realplayer. I can play real videos now, which I could play even earlier before uninstalling realplayer. I unsitalled realplayer so that mplayer could become my default player for online media. So now, I can play real videos (although I can't expand the screen to full screen), but I can't play windows media video. When I try to play windows media video, the mplayer screen loads in the window of the video and it says it's loading the video but nothing loads. Any suggestions? Thanks.
 
  


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 to apt-get mplayer-plugin (mozilla plugin)? hkl8324 Debian 2 06-29-2005 09:28 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
Xine compliation error hitesh_linux Linux - Software 1 12-04-2004 02:37 PM
another squid compliation error !! hitesh_linux Linux - Networking 0 11-20-2004 01:46 PM
mplayer plugin error FarAway Linux - Software 1 07-30-2004 08:36 AM

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

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