[Slackbuilds-users] Problem building libproxy

Didier Spaier didier.spaier at epsm.fr
Tue Jul 6 22:32:38 UTC 2010


Hi all,

trying to build libproxy on Slackware64-13.1 it failed because jsapi.h, referenced in libproxy-0.4.2/libproxy/modules/pacrunner_mozjs.cpp:34 was not found.

Having read the thread http://code.google.com/p/libproxy/issues/detail?id=18 I notice that though I get this:
bash-4.1$ pkg-config --cflags mozilla-js
-DXP_UNIX -DJS_THREADSAFE -I/usr/include/xulrunner-1.9.1.7/stable

in fact jsapi.h is in /usr/include/xulrunner-1.9.1.7/unstable

Thus as I edited /usr/lib64/pkgconfig/mozilla-js.pc with s/stable/unstable/ and then I could build successfully libproxy.

So my questions are:
- I had installed previously xulrunner-1.9.1.7 because I needed it for something else. Is it a dependency of libproxy, though this be not indicated in the README ?
- Is there a packaging problem with xulrunner-1.9.1.7?
- May-be the file jsapi.h was expected from another package but which one? I have another one in /usr/include/seamonkey-2.0.5/js but it is not seen at build time.

Best regards,

Didier


More information about the SlackBuilds-users mailing list