Re: Need help in compile mplayer plugin

Kevin DeKorte <[email protected]> Wed, 12 Dec 2007 07:05:26 -0700
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----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.

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