I need help with a command value for building the MPlayer Plug-in for Mozilla...
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: None right now. Will be using Mandrake 10.1 Official.
Posts: 171
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.