Re: Need help in compile mplayer plugin

"ying lcs" <[email protected]> Wed, 12 Dec 2007 09:04:13 -0600
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
On Dec 12, 2007 8:05 AM, Kevin DeKorte <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ying lcs wrote:
> > On Dec 8, 2007 10:58 PM, Kevin DeKorte <[email protected]> wrote:
> > ying lcs wrote:
> >>>> Kevin,
> >>>>
> >>>> Thank you. It works.
> >>>> But can you please tell me why it does not need to link in with
> >>>> mplayer itself during compilation?
> > WE don't link to mplayer, we execute it. The integration happens at runtime.
> >
> >
> >> Thank you. Is it possible to configure mplayer-plugin to execute a
> >> specified mplayer?
> >> I have 2 :
> >> 1. /usr/bin/mplayer
> >> 2. /home/yinglcs/bin/mplayer (i want to have mplayer-plugin to call
> >> this  instead)
> >
>
> Add: /home/ying1cs/bin to the beginning of your path in the .bashrc
>
> echo "PATH=/home/ying1cs/bin:$PATH" >> ~/.bashrc
>
>
> >
> >>>> And how can I package both the mplayer-plugin with mplayer into 1 tar
> >>>> file so that I can just drop in to a fresh machine with mozilla and
> >>>> get it to works?
> >>>>
> > That is up to you... personally I find that a package solution like .rpm
> > or .deb is the proper way to approach this problem.
> >
> >> And how can I make 'make install' to install a directory other than ~/.mozilla?
> >> I try putting '--with-mozilla-home=/home/yinglca/mplayer-plugin/',
> >> that does not work.
>
> Run make install under sudo ie: sudo make install
> and it will install it where you specified it.
>

Thanks. But I am installing it in a subdirectory under my home directory:

I try putting '--with-mozilla-home=/home/yinglca/mplayer-plugin/',

So i don't think I need to be root. But it does not work. It still
copies the *.so files under ~/.mozilla/plugin

> Kevin
>
>
>
>
> - --
> Get my public GnuPG key from
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFHX+qm6w2kMH0L1dERAtSwAJoCWfZegIktT3y7KNXnFkcbDhV4iQCeItqq
> A3VnGQETEtau9cQ3FV9Uf6g=
> =q4R5
>
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Mplayerplug-in-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
>

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php