[100%] Building CXX object libproxy/CMakeFiles/pacrunner_mozjs.dir/modules/pacrunner_mozjs.cpp.o
/home/agriffis/proj/libproxy/libproxy/modules/pacrunner_mozjs.cpp:34:19: error: jsapi.h: No such file or directory
I can make it build with the following, which I'm absolutely
certain is not the ideal fix. :-)
Aron
Index: libproxy/modules/pacrunner_mozjs.cpp
===================================================================
--- libproxy/modules/pacrunner_mozjs.cpp (revision 609)
+++ libproxy/modules/pacrunner_mozjs.cpp (working copy)
@@ -31,7 +31,7 @@
#define XP_WIN
#endif
#endif
-#include <jsapi.h>
+#include "/usr/include/xulrunner-1.9.1.8/unstable/jsapi.h"
#include "pacutils.h"
#ifndef INET_ADDRSTRLEN
The problem is that the proper include dir isn't being specified. Try
looking in CMakeCache.txt to see the values of MOZJS_*. Also, try
clearing your CMakeCache.txt file. I've seen this problem before when
that file gets out of date.
If none of that works, try putting some message() commands in
libproxy/CMakeLists.txt in the mozjs section.
Nathaniel