User Tools

Site Tools


build:compile_spidermonkey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
build:compile_spidermonkey [2010/04/17 08:14]
j.m
build:compile_spidermonkey [2010/04/17 08:17]
j.m
Line 116: Line 116:
   - Run these commands from a root console or with the **sudo** command if you are able: <​code>​install nspr-devel   - Run these commands from a root console or with the **sudo** command if you are able: <​code>​install nspr-devel
 yum install nspr-devel</​code>​ This will create the directory /​usr/​include/​nspr4/​. yum install nspr-devel</​code>​ This will create the directory /​usr/​include/​nspr4/​.
-  - Download SpiderMonkey to /tmp from [[http://​www.mozilla.org/​js/​spidermonkey/​|this website]]. We used version 1.5.rc4, but it should not really matter.+  - Download SpiderMonkey to /tmp from [[http://​www.mozilla.org/​js/​spidermonkey/​|the Mozilla ​website]]. We used version 1.5.rc4, but it should not really matter.
   - Extract the downloaded source file to /​usr/​local/​src. It should create a **js/** directory there.   - Extract the downloaded source file to /​usr/​local/​src. It should create a **js/** directory there.
   - Step into the main build directory <​code>​cd js/​src</​code>​   - Step into the main build directory <​code>​cd js/​src</​code>​
Line 126: Line 126:
 make</​code>​ make</​code>​
   - Copy (or link) the libjs.so just created to /usr/lib (so that it can be found in final Avidemux link step with no fuss) <​code>​cp Linux_All_DBG.OBJ/​libjs.so /​usr/​lib</​code>​   - Copy (or link) the libjs.so just created to /usr/lib (so that it can be found in final Avidemux link step with no fuss) <​code>​cp Linux_All_DBG.OBJ/​libjs.so /​usr/​lib</​code>​
-  - When you compile Avidemux itself, you need to run the **./​configure** with the argument **--with-jsapi-include=/​usr/​local/​src/​js/​src**+  - When you compile Avidemux itself, you need to run the **./​configure** with the argument **<​nowiki>​--</​nowiki>​with-jsapi-include=/​usr/​local/​src/​js/​src**
  
 ==== Slackware ==== ==== Slackware ====
Line 206: Line 206:
 ===== Library error/​failure ===== ===== Library error/​failure =====
  
-When doing the configure, if you used the --prefix for jsapi.h, but there is an error at the library stage, locate libsmjs.so or libjs.so or libmozjs.so on your system. Then symbolically link it to /​usr/​local/​lib or /usr/lib+When doing the configure, if you used the <​nowiki>​--</​nowiki>​prefix for jsapi.h, but there is an error at the library stage, locate libsmjs.so or libjs.so or libmozjs.so on your system. Then symbolically link it to /​usr/​local/​lib or /usr/lib
  
build/compile_spidermonkey.txt ยท Last modified: 2012/11/11 08:51 (external edit)