I am compiling MongoDB from a source with instructions from http://www.mongodb.org/display/DOCS/Building+for+Linux
I encountered this error after running "scons all":
rty/js-1.7/jsscan.c third_party/js-1.7/jsscan.c:112:22: error: jsautokw.h: No such file or directory third_party/js-1.7/jsscan.c: In function 'FindKeyword': third_party/js-1.7/jsscan.c:122: warning: label 'test_guess' defined but not used third_party/js-1.7/jsscan.c:119: warning: label 'got_match' defined but not used scons: *** [third_party/js-1.7/jsscan.o] Error 1 scons: building terminated because of errors
I am on 64-bit ubuntu 10.04. gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5), version for scons:
script: v1.2.0.d20100117.r4629, 2010/01/17 22:23:21, by scons on scons-dev engine: v1.2.0.d20100117.r4629, 2010/01/17 22:23:21, by scons on scons-dev
Does anyone have the same problem? Similar errors were reported for this jsscan file in earlier versions, but have been fixed since.
source share