LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2004, 03:07 AM   #1
Ausar
Member
 
Registered: Jun 2004
Location: Mays Landing, NJ
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171

Rep: Reputation: 30
I need help with a command value for building the MPlayer Plug-in for Mozilla...


Im having difficulty understanding what this means...especially this "(replace /path/to with the correct value)" What does that mean "correct value?" Does it mean the correct directory address? I need your help guys!



Here is the rest...

Compilation options
--with-gecko-sdk=/path/to/gecko-sdk (replace /path/to with the correct value)
--enable-gtk2 (default option, use if mozilla is linked to gtk2 libs)
--enable-gtk1 (use if mozilla is linked to gtk1 libs (usually if fonts in mozilla are not smooth))
--enable-x (use if you don't know if your mozilla is linked to gtk1 or gtk2)



BUILDING
In the mplayerplug-in directory type

Compilation options
--with-gecko-sdk=/path/to/gecko-sdk (replace /path/to with the correct value)
--enable-gtk2 (default option, use if mozilla is linked to gtk2 libs)
--enable-gtk1 (use if mozilla is linked to gtk1 libs (usually if fonts in mozilla are not smooth))
--enable-x (use if you don't know if your mozilla is linked to gtk1 or gtk2)


Examples:
To configure with defaults:
./configure

if you are using gecko-sdk do the following
./configure --with-gecko-sdk=/path/to/gecko-sdk (replace /path/to with the correct value)

if you are using gecko-sdk and gtk1
./configure --with-gecko-sdk=/path/to/gecko-sdk --enable-gtk1

If you get this error during configure:
checking for mozilla-plugin... Package mozilla-plugin was not found in the pkg-config search path.

You need to use the gecko-sdk option. Using gecko-sdk 1.6 with an earlier version of mozilla seems to be ok.

If you can't figure out what you need try running

./whatoptions.sh

in the mplayerplug-in directory.

After configure is done and successful:
make

If during the make process you get an error about missing "mozilla-config.h" and you are not using the gecko-sdk.
You need to use the gecko-sdk because your mozilla-devel package is incomplete.


The results of that command should produce files called mplayerplug-in.so and mplayerplug-in.xpt in the current directory.
 
Old 07-30-2004, 03:12 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try run "./configure" with no arguments first
 
Old 08-01-2004, 09:44 AM   #3
jmr0311
Member
 
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Rep: Reputation: 15
In my case I download the Gecko-sdk package to my home directory ( eg. /home/user name/ ) and extracted there. Then what I did was;

./configure --gecko-sdk=/home/user name/gecko-sdk

and it worked out fine for me.

Javi
 
  


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
Installing mplayer plug in for Mozilla Firefox fatrandy13 Linux - Software 5 10-09-2005 11:30 AM
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
no audio for mplayer plug-in in mozilla Kanchan Fedora 4 02-04-2005 12:53 AM
How to install Mplayer plug-in 2.66? Micro420 Linux - Software 0 08-05-2004 08:42 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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