LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need help with a command value for building the MPlayer Plug-in for Mozilla... (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-help-with-a-command-value-for-building-the-mplayer-plug-in-for-mozilla-211373/)

Ausar 07-30-2004 04:07 AM

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.

Demonbane 07-30-2004 04:12 AM

try run "./configure" with no arguments first

jmr0311 08-01-2004 10:44 AM

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


All times are GMT -5. The time now is 08:29 PM.