I tried to compile mongo 2.6.6 from. Because I'm using Debian system, I imitated scripts in PKGBUILDs to compile my mongo. I used the v8 engine library compiled as the script in PKGBUILDs. At the linking stage of mongo, many linking errors displayed. Some of them were
$this->bbcode_second_pass_code('', '
......
undefined reference to `v8::HandleScope::HandleScope()'
undefined reference to `v8::Undefined()'
......
')
I saw mongo tried to link the v8 library. It seems the compiled v8 library is not completed, which means some functions were not included. Source of v8 was downloaded from googleapis.com.
Does mongo need another special version of v8?