|
|
发表于 2008-6-4 19:46:25
|
显示全部楼层
Post by wheelz;1859073
不用手工指定!上面那个补丁也修复了这个spidermonkey的问题。
我这里打了补丁后还必须手工指定,不然还是找不到spidermonkey,现在configure通过了,但make时又出错了,还需要什么步骤?
- ........
- In file included from /usr/include/xulrunner-sdk-1.9pre/unstable/jsatom.h:53,
- from /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:49,
- from converter.cc:21:
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:45:20: error: pratom.h: No such file or directory
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:46:20: error: prlock.h: No such file or directory
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:47:20: error: prcvar.h: No such file or directory
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:48:22: error: prthread.h: No such file or directory
- In file included from /usr/include/xulrunner-sdk-1.9pre/unstable/jsatom.h:53,
- from /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:49,
- from converter.cc:21:
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:63: error: ISO C++ forbids declaration of 'PRLock' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:63: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:64: error: ISO C++ forbids declaration of 'PRCondVar' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:64: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jslock.h:77: error: 'PRLock' does not name a type
- In file included from converter.cc:21:
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:258: error: ISO C++ forbids declaration of 'JSLock' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:258: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:287: error: ISO C++ forbids declaration of 'PRLock' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:287: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:288: error: ISO C++ forbids declaration of 'PRCondVar' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:288: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:289: error: ISO C++ forbids declaration of 'PRCondVar' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:289: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:294: error: ISO C++ forbids declaration of 'PRLock' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:294: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:300: error: ISO C++ forbids declaration of 'PRCondVar' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:300: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:312: error: ISO C++ forbids declaration of 'PRCondVar' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:312: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:330: error: ISO C++ forbids declaration of 'PRLock' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:330: error: expected ';' before '*' token
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:361: error: ISO C++ forbids declaration of 'PRLock' with no type
- /usr/include/xulrunner-sdk-1.9pre/unstable/jscntxt.h:361: error: expected ';' before '*' token
- make[4]: *** [libggadget_smjs_la-converter.lo] 错误 1
- make[4]: Leaving directory `/home/waynef/下载/google-gadgets-for-linux-0.9.1/extensions/smjs_script_runtime'
- make[3]: *** [all-recursive] 错误 1
- make[3]: Leaving directory `/home/waynef/下载/google-gadgets-for-linux-0.9.1/extensions/smjs_script_runtime'
- make[2]: *** [all-recursive] 错误 1
- make[2]: Leaving directory `/home/waynef/下载/google-gadgets-for-linux-0.9.1/extensions'
- make[1]: *** [all-recursive] 错误 1
- make[1]: Leaving directory `/home/waynef/下载/google-gadgets-for-linux-0.9.1'
- make: *** [all] 错误 2
复制代码 |
|