I have built Firefox from the source code, and I am trying to create a component. I try running xpidl on my .idl file from terminal
$ xpidl -m header -w -v- I $XPIDL_INC \ > -o nsIPageSummary nsIPageSummary.idl
but I get -bash: xpidl: command not found
I’ve tried changing the path PATH=$PATH:/usr/src/mozilla/xpcom/typelib/xpidl, but to no avail. I am probably just completely misunderstanding how to use the xpidl command. But is all you need the Fire fox source code it having been built? And is there a certain directory that you need to be in to use the command?
Which version of Firefox do you use?
https://developer.mozilla.org/en-US/docs/XPIDL/xpidl
https://developer.mozilla.org/en-US/docs/XPIDL/pyxpidl