On Thu, Feb 06, 2014 at 12:05:50PM -0800, Chris Brannon wrote:
> Adam Thompson <[email protected]> writes:
> 
> > If so, then that's definitely a debian bug and should probably be reported 
> > as
> > such, unless they provide a js-config script,
> > pkg-config .pc file or docs about this in their readme.
> 
> They do provide a .pc file, but it is broken, as shown below:
> 
> Script started on Thu Feb  6 11:57:46 2014
> chris@somehost:~$ g++ `pkg-config --cflags mozilla-js` jshello.cpp  
> `pkg-config --libs mozilla-js`
> In file included from <command-line>:0:0:
> /usr/include/stdc-predef.h:39:1: fatal error: 
> /usr/include/mozjs/mozjs/js/RequiredDefines.h: No such file or directory
>  #endif
>  ^
> compilation terminated.
> 
> So there's a possible bug in their package and a definite typo in their
> .pc file.

Both count as bugs. I just tried including the mentioned header file using the
correct file and edbrowse still blows up in the same place I think.
At least it's better than the experimental mozjs26d package where the jsapi.h
is a broken symlink to something under /tmp!

I've tried asking the person at Debian about the compile flags but still
haven't heard anything. Could you please put together a couple of bug reports
or should I do it?

Cheers,
Adam.
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to