[SERVER-12333] mongodb-2.4.5 does not compile with v8-3.19.18.4 Created: 05/Jul/13  Updated: 10/Dec/14  Resolved: 09/Mar/14

Status: Closed
Project: Core Server
Component/s: Build, JavaScript
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Helmut Jarausch Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Gentoo Linux "bleeding edge"


Issue Links:
Duplicate
duplicates SERVER-10282 Compilation fails with >=v8-3.19 Closed
Operating System: Linux
Participants:

 Description   

Compiling MongoDB with a recent versions of V8 (like 3.19.18.4, but some earlier versions, as well) fails to compile:
/usr/include/v8.h: In member function 'v8::Persistent<v8::Context> mongo::V8Scope::getContext()':

/usr/include/v8.h:750:3: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context; v8::Persistent<T> = v8::Persistent<v8::Context>]' is private

In file included from src/mongo/scripting/engine_v8.cpp:18:0:
src/mongo/scripting/engine_v8.h:287:59: error: within this context
In file included from src/mongo/scripting/engine_v8.h:20:0,
from src/mongo/scripting/engine_v8.cpp:18:



 Comments   
Comment by Eliot Horowitz (Inactive) [ 11/Jan/14 ]

How are you compiling mongo?
Forcing it to use the system v8?

Generated at Thu Feb 08 03:28:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.