1:BUILD_BY[name] student0 1:BUILD_ENVIRONMENT[operating system 32 vs 64] 1:END_BUILD_ENVIRONMENT 1:DEPENDENCIES[list of dependencies with where to get them] nginx: http://nginx.org/download/ v8: https://developers.google.com/v8/build 1:END_DEPENDENCIES 1:NOTES[notes on attempted build] !beware, make sure you get an older version of nginx that has a file named "configure" in the build directory. It is necessary later on. make with nginx after following instructions produces the following sample error: In file included from /home/zms/Desktop/builds/WangLZ012/src/extremejs/ngxv8/ngx_http_v8_embed_module.cpp:16:0: /home/zms/Desktop/builds/WangLZ012/src/extremejs/ngxv8/v8js.h: In member function ‘std::string V8Js::run(std::string)’: /home/zms/Desktop/builds/WangLZ012/src/extremejs/ngxv8/v8js.h:59:39: error: no matching function for call to ‘v8::Context::Scope::Scope(v8::Persistent&)’ /home/zms/Desktop/builds/WangLZ012/src/extremejs/ngxv8/v8js.h:59:39: note: candidates are: /home/zms/Desktop/builds/WangLZ012/src/v8/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent&) /home/zms/Desktop/builds/WangLZ012/src/v8/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided /home/zms/Desktop/builds/WangLZ012/src/v8/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle) /home/zms/Desktop/builds/WangLZ012/src/v8/include/v8.h:4966:14: note: no known conversion for argument 1 from ‘v8::Persistent’ to ‘v8::Handle’ 1:END_NOTES 2:BUILD_BY[name] student8 2:BUILD_ENVIRONMENT[operating system 32 vs 64] Ubuntu 14.04 32-bit 2:END_BUILD_ENVIRONMENT 2:DEPENDENCIES[list of dependencies with where to get them] sudo apt-get install svn nginx 1.0.5 from http://nginx.org/download/ sudo apt-get install lamp-server^ json2.js https://raw.githubusercontent.com/douglascrockford/JSON-js/master/json2.js 2:END_DEPENDENCIES 2:NOTES[notes on attempted build] To build v8 library: $ svn checkout http://v8.googlecode.com/svn/branches/3.4/ v8 $ cd v8 $ svn co http://gyp.googlecode.com/svn/trunk build/gyp $ build/gyp_v8 -Dcomponent=shared_library $ make -f Makefile-ia32 BUILDTYPE=Release $ cd ../extremejs-master $ sudo cp ../v8/out/Release/lib.target/libv8.so /usr/lib $ cd nginx Replaced last two lines of config by: CORE_INCS="/home/student/repro_lab/Wang/v8/include $CORE_INCS" CORE_LIBS="-L/home/student/repro_lab/Wang/v8 -lv8 -lstdc++ -ldl $CORE_LIBS" For v8js.h, replaced first argument of fopen by: /home/student/repro_lab/Wang/extremejs-master/ngxv8/init.txt $ cd nginx-1.0.5 $ ./configure --prefix=/home/student/repro_lab/Wang/nginx_install --add-module=/home/student/repro_lab/Wang/extremejs-master/ngxv8 --with-ld-opt="-lstdc++ -ldl -lpthread" --sbin-path=/usr/local/sbin --with-cc-opt="-Wno-deprecated -fomit-frame-pointer -pthread" --without-http_rewrite_module --without-http_fastcgi_module --without-http_scgi_module --without-http_proxy_module --without-http_split_clients_module --without-http_uwsgi_module --without-http_gzip_module Commented out line 96, 97, 190, 192, 310, 312, 314, 315 of /home/student/repro_lab/Wang/extremejs-master/ngxv8/ngx_http_v8_embed_module.cpp to avoid "set but not used" error $ make $ make install $ sudo apt-get install lamp-server^ $ sudo service apache2 restart Edited migrator.js and replace 192.168.1.239 with 127.0.0.1 Replaced link on line 22 of gobang.html and gobangc.html with json.js Replaced link on line 23 of gobang.html and gobangc.html with http://code.jquery.com/jquery-1.7.1.min.js Downloaded json2.js from https://raw.githubusercontent.com/douglascrockford/JSON-js/master/json2.js Renamed json2.js to json.js and placed it at extremejs-master/migrator/examples/gobang/json.js $ sudo cp -R extremejs-master/migrator/ /var/www/html/ Went to http://127.0.0.1/migrator/examples/gobang/gobang.html and it worked. 2:END_NOTES