On Thu, 2008-06-19 at 17:16 -0300, Marco Túlio Gontijo e Silva wrote:
> Hello there.
> I've tried to change the Debian gtk2hs package to use xulrunner-dev
> instead of libxul-dev, but I got the problem that is described in this
> Do you know what kind of thing must be changed in Gtk2hs?
> -------- Mensagem encaminhada --------
> De: Mike Hommey <mh@...>
> Para: Marco Túlio Gontijo e Silva <marcot@...>
> Assunto: Re: Status update for xulrunner 1.9 - maintainers, we need you
> Data: Thu, 19 Jun 2008 21:57:48 +0200
> On Thu, Jun 19, 2008 at 04:06:51PM -0300, Marco Túlio Gontijo e Silva wrote:
> > Hello,
> > I'm trying to update gtk2hs to use xulrunner-dev instead of libxul-dev,
> > but I'm getting in configure:
> > checking for XULRUNNER_MOZEMBED... no
> > configure: error: XULRunner requirement not met. Perhaps you need to
> > install xulrunner or xulrunner-devel
> > Any idea about what could be causing this?
It's looking for the pkg-config package xulrunner. We're asking
pkg-config if it's present and in turn, pkg-config would be looking for
the file /usr/lib/pkgconfig/xulrunner.pc.
Does the debian package xulrunner-dev provide that file? Or does it
provide a .pc file with a different name? One way or another we need an
appropriate pkg-config file so that we can find the right c flags etc.
For example you'll notice that the gtk-dev package provides the
file /usr/lib/pkgconfig/gtk+-2.0.pc so that we can call pkg-config
--cflags gtk+-2.0 and find out what C flags to use to compile against
gtk+. We need something similar for xulrunner.