Re: mplayerplug-in 3.55 compilation issue

Dâniel Fraga <[email protected]> Tue, 9 Dec 2008 23:49:34 -0200
Newsgroups gmane.comp.mozilla.mplayerplug-in
Organization http://u-br.net
Message-ID <[email protected]>
On Tue, 09 Dec 2008 15:06:53 -0700
Kevin DeKorte <[email protected]> wrote:

> Is the file nsISupports.idl in the /usr/local/share/idl/mozilla-1.7.7
> directory? That file location was probably obtained from a .pc file from
> the mozilla install. So you will need to find that file and then post
> the entire output of configure.
> 
> This type of problem is almost always related to bad .pc files.

	Ok, you're right. I had a bunch of old .pc files from previous
installations, including a mozilla install I don't use anymore. It was
my fault ;) I just removed them now.

	But, I noticed that Firefox 2 used to install those .pc files
and Firefox 3 don't do that anymore. So, I don't have any .pc
firefox files.

	The solution was to use:

GECKO_LIBS="-L/usr/local/gecko-sdk/lib" GECKO_CFLAGS="-I/usr/local/gecko-sdk/include" ./configure

	It finds Gecko correctly, but generates this:

/usr/local/bin/xpidl -w -m header -I  -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl

** (process:31644): WARNING **: Parse of . failed: Is a directory

	Is there a way I can give it by hand what it wants?

	I have the following directory structure:

fraga@tux ~/src$ ls /usr/local/gecko-sdk/
bin@  idl@  include@  lib@  sdk/  xpcom-config.h

	Thanks again! ;)	

-- 
Linux 2.6.28-rc6: Killer Bat of Doom
http://u-br.net



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/