On Mon Feb 20 15:04:32 2006, guest wrote:
Show quoted text> May be I've the problem bicase I've both mozilla and mozilla-firefox
> installed?
It's possible, but it should find the installation in the following
order: mozilla-xpcom, firefox-xpcom, mozilla-firefox-xpcom.
So basically whichever one of those it finds first by using pkg-config,
that's what it should use.
But I think the problem is really just that the everybody seems
to think it's fun to move these header files around all the
damn time... :} Then they don't put that in `pkg-config`, and the names
for pkg-config vary from one distro to another... Maybe I'm not doing
something right. Look in Makefile.PL, to find
# -I/usr/include/mozilla -I/usr/include/mozilla/xpcom
# -I/usr/include/mozilla/string -I/usr/include/mozilla/nspr
$mozdom->set_inc($pkgcfg{cflags}, '-I.', '-I./build',
"-I$incdir", "-I$incdir/dom", "-I$incdir/webbrwsr",
"-I$incdir/content", "-I$incdir/docshell");
You should be able to add one more thing like "-I$incdir/necko"
to that. Then start over with `make realclean`, `perl Makefile.PL`,
etc. Please let me know if it works.