Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@dev:~# pgxn install plv8
- INFO: best version: plv8 1.4.1
- INFO: saving /tmp/tmpaqaLYf/plv8-1.4.1.zip
- INFO: unpacking: /tmp/tmpaqaLYf/plv8-1.4.1.zip
- INFO: building extension
- sed -e 's/^#undef PLV8_VERSION/#define PLV8_VERSION "1.4.1"/' plv8_config.h.in > plv8_config.h
- g++ -Wall -O2 -I. -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE -fPIC -c -o plv8.o plv8.cc
- plv8.cc: In function 'Datum common_pl_call_handler(FunctionCallInfo, Dialect)':
- plv8.cc:286:52: error: could not convert 'proc->plv8_proc::cache->plv8_proc_cache::function' from 'v8::Persistent<v8::Function>' to 'v8::Handle<v8::Function>'
- plv8.cc: In function 'Datum CallFunction(FunctionCallInfo, plv8_exec_env*, int, plv8_type*, plv8_type*)':
- plv8.cc:401:35: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
- plv8.cc:429:35: error: within this context
- plv8.cc:431:37: error: could not convert 'xenv->plv8_exec_env::recv' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Object>'
- plv8.cc: In function 'Datum CallSRFunction(FunctionCallInfo, plv8_exec_env*, int, plv8_type*, plv8_type*)':
- plv8.cc:509:35: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
- plv8.cc:524:35: error: within this context
- plv8.cc:526:63: error: could not convert 'xenv->plv8_exec_env::recv' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Object>'
- plv8.cc: In function 'Datum CallTrigger(FunctionCallInfo, plv8_exec_env*)':
- plv8.cc:572:35: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
- plv8.cc:656:35: error: within this context
- plv8.cc:658:46: error: could not convert 'xenv->plv8_exec_env::recv' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Object>'
- plv8.cc: In function 'Datum common_pl_call_validator(FunctionCallInfo, Dialect)':
- plv8.cc:732:45: error: could not convert 'proc->plv8_proc::cache->plv8_proc_cache::function' from 'v8::Persistent<v8::Function>' to 'v8::Handle<v8::Function>'
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h: In function 'plv8_exec_env* CreateExecEnv(v8::Handle<v8::Function>)':
- /usr/include/v8.h:752:3: error: 'v8::Persistent<T>& v8::Persistent<T>::operator=(const v8::Persistent<T>&) [with T = v8::Context; v8::Persistent<T> = v8::Persistent<v8::Context>]' is private
- plv8.cc:926:35: error: within this context
- plv8.cc:927:37: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
- plv8.cc:927:37: note: candidates are:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
- /usr/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
- /usr/include/v8.h:4966:14: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'v8::Handle<v8::Context>'
- /usr/include/v8.h:4964:9: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
- /usr/include/v8.h:4964:9: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'const v8::Context::Scope&'
- plv8.cc:932:69: error: no matching function for call to 'v8::Persistent<v8::ObjectTemplate>::New(v8::Local<v8::ObjectTemplate>)'
- plv8.cc:932:69: note: candidate is:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::ObjectTemplate]
- /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:933:13: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:935:49: error: within this context
- plv8.cc:935:64: error: no matching function for call to 'v8::Persistent<v8::Object>::New(v8::Local<v8::Object>)'
- plv8.cc:935:64: note: candidate is:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Object]
- /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
- plv8.cc:937:12: error: within this context
- plv8.cc: In function 'char* CompileDialect(const char*, Dialect)':
- plv8.cc:947:81: warning: 'static v8::Persistent<v8::Context> v8::Context::New(v8::ExtensionConfiguration*, v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)' is deprecated (declared at /usr/include/v8.h:4849) [-Wdeprecated-declarations]
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /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
- plv8.cc:947:81: error: within this context
- plv8.cc:948:38: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
- plv8.cc:948:38: note: candidates are:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
- /usr/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
- /usr/include/v8.h:4966:14: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'v8::Handle<v8::Context>'
- /usr/include/v8.h:4964:9: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
- /usr/include/v8.h:4964:9: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'const v8::Context::Scope&'
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
- plv8.cc:972:13: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
- plv8.cc:984:54: error: within this context
- plv8.cc: In function 'plv8_proc* Compile(Oid, FunctionCallInfo, bool, bool, Dialect)':
- plv8.cc:1044:15: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)'
- plv8.cc:1044:15: note: candidate is:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Function]
- /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
- plv8.cc: In function 'v8::Local<v8::Function> CompileFunction(const char*, int, const char**, const char*, bool, bool, Dialect)':
- plv8.cc:1061:52: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
- plv8.cc: In function 'v8::Local<v8::Function> find_js_function(Oid)':
- plv8.cc:1169:52: error: no matching function for call to 'v8::Local<v8::Function>::New(v8::Persistent<v8::Function>&)'
- plv8.cc:1169:52: note: candidates are:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:5444:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Function]
- /usr/include/v8.h:5444:10: note: no known conversion for argument 1 from 'v8::Persistent<v8::Function>' to 'v8::Handle<v8::Function>'
- /usr/include/v8.h:5457:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Function]
- /usr/include/v8.h:5457:10: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:5463:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, const v8::Persistent<T>&) [with T = v8::Function]
- /usr/include/v8.h:5463:10: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:5479:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, T*) [with T = v8::Function]
- /usr/include/v8.h:5479:10: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h: In function 'v8::Persistent<v8::Context> GetGlobalContext()':
- /usr/include/v8.h:752:3: error: 'v8::Persistent<T>& v8::Persistent<T>::operator=(const v8::Persistent<T>&) [with T = v8::Context; v8::Persistent<T> = v8::Persistent<v8::Context>]' is private
- plv8.cc:1258:39: error: within this context
- plv8.cc:1265:59: error: conversion from 'v8::Persistent<v8::ObjectTemplate>' to non-scalar type 'v8::Handle<v8::ObjectTemplate>' requested
- plv8.cc:1268:45: warning: 'static v8::Persistent<v8::Context> v8::Context::New(v8::ExtensionConfiguration*, v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)' is deprecated (declared at /usr/include/v8.h:4849) [-Wdeprecated-declarations]
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:752:3: error: 'v8::Persistent<T>& v8::Persistent<T>::operator=(const v8::Persistent<T>&) [with T = v8::Context; v8::Persistent<T> = v8::Persistent<v8::Context>]' is private
- plv8.cc:1268:45: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:752:3: error: 'v8::Persistent<T>& v8::Persistent<T>::operator=(const v8::Persistent<T>&) [with T = v8::Context; v8::Persistent<T> = v8::Persistent<v8::Context>]' is private
- plv8.cc:1271:25: error: within this context
- plv8.cc:1288:48: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
- plv8.cc:1288:48: note: candidates are:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
- /usr/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
- /usr/include/v8.h:4966:14: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'v8::Handle<v8::Context>'
- /usr/include/v8.h:4964:9: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
- /usr/include/v8.h:4964:9: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'const v8::Context::Scope&'
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
- plv8.cc:1311:33: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /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
- plv8.cc:1328:9: error: within this context
- plv8.cc: In function 'v8::Persistent<v8::ObjectTemplate> GetGlobalObjectTemplate()':
- plv8.cc:1340:65: error: no matching function for call to 'v8::Persistent<v8::ObjectTemplate>::New(v8::Local<v8::ObjectTemplate>)'
- plv8.cc:1340:65: note: candidate is:
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::ObjectTemplate]
- /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1342:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1343:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1344:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1345:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1346:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1347:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1348:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1349:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1350:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1351:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1352:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
- plv8.cc:1359:9: error: within this context
- In file included from plv8.h:12:0,
- from plv8.cc:8:
- /usr/include/v8.h:750:3: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::ObjectTemplate; v8::Persistent<T> = v8::Persistent<v8::ObjectTemplate>]' is private
- plv8.cc:1362:9: error: within this context
- gmake: *** [plv8.o] Error 1
- ERROR: command returned 2: gmake PG_CONFIG=/usr/local/pgsql/bin/pg_config all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement