Advertisement
Guest User

Untitled

a guest
Jun 20th, 2013
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.88 KB | None | 0 0
  1. root@dev:~# pgxn install plv8
  2. INFO: best version: plv8 1.4.1
  3. INFO: saving /tmp/tmpaqaLYf/plv8-1.4.1.zip
  4. INFO: unpacking: /tmp/tmpaqaLYf/plv8-1.4.1.zip
  5. INFO: building extension
  6. sed -e 's/^#undef PLV8_VERSION/#define PLV8_VERSION "1.4.1"/' plv8_config.h.in > plv8_config.h
  7. 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
  8. plv8.cc: In function 'Datum common_pl_call_handler(FunctionCallInfo, Dialect)':
  9. 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>'
  10. plv8.cc: In function 'Datum CallFunction(FunctionCallInfo, plv8_exec_env*, int, plv8_type*, plv8_type*)':
  11. plv8.cc:401:35: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
  12. In file included from plv8.h:12:0,
  13. from plv8.cc:8:
  14. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
  15. plv8.cc:429:35: error: within this context
  16. plv8.cc:431:37: error: could not convert 'xenv->plv8_exec_env::recv' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Object>'
  17. plv8.cc: In function 'Datum CallSRFunction(FunctionCallInfo, plv8_exec_env*, int, plv8_type*, plv8_type*)':
  18. plv8.cc:509:35: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
  19. In file included from plv8.h:12:0,
  20. from plv8.cc:8:
  21. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
  22. plv8.cc:524:35: error: within this context
  23. plv8.cc:526:63: error: could not convert 'xenv->plv8_exec_env::recv' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Object>'
  24. plv8.cc: In function 'Datum CallTrigger(FunctionCallInfo, plv8_exec_env*)':
  25. plv8.cc:572:35: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
  26. In file included from plv8.h:12:0,
  27. from plv8.cc:8:
  28. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
  29. plv8.cc:656:35: error: within this context
  30. plv8.cc:658:46: error: could not convert 'xenv->plv8_exec_env::recv' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Object>'
  31. plv8.cc: In function 'Datum common_pl_call_validator(FunctionCallInfo, Dialect)':
  32. 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>'
  33. In file included from plv8.h:12:0,
  34. from plv8.cc:8:
  35. /usr/include/v8.h: In function 'plv8_exec_env* CreateExecEnv(v8::Handle<v8::Function>)':
  36. /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
  37. plv8.cc:926:35: error: within this context
  38. plv8.cc:927:37: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
  39. plv8.cc:927:37: note: candidates are:
  40. In file included from plv8.h:12:0,
  41. from plv8.cc:8:
  42. /usr/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
  43. /usr/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided
  44. /usr/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
  45. /usr/include/v8.h:4966:14: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'v8::Handle<v8::Context>'
  46. /usr/include/v8.h:4964:9: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
  47. /usr/include/v8.h:4964:9: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'const v8::Context::Scope&'
  48. plv8.cc:932:69: error: no matching function for call to 'v8::Persistent<v8::ObjectTemplate>::New(v8::Local<v8::ObjectTemplate>)'
  49. plv8.cc:932:69: note: candidate is:
  50. In file included from plv8.h:12:0,
  51. from plv8.cc:8:
  52. /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::ObjectTemplate]
  53. /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
  54. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  55. plv8.cc:933:13: error: within this context
  56. In file included from plv8.h:12:0,
  57. from plv8.cc:8:
  58. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  59. plv8.cc:935:49: error: within this context
  60. plv8.cc:935:64: error: no matching function for call to 'v8::Persistent<v8::Object>::New(v8::Local<v8::Object>)'
  61. plv8.cc:935:64: note: candidate is:
  62. In file included from plv8.h:12:0,
  63. from plv8.cc:8:
  64. /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Object]
  65. /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
  66. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Object]' is private
  67. plv8.cc:937:12: error: within this context
  68. plv8.cc: In function 'char* CompileDialect(const char*, Dialect)':
  69. 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]
  70. In file included from plv8.h:12:0,
  71. from plv8.cc:8:
  72. /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
  73. plv8.cc:947:81: error: within this context
  74. plv8.cc:948:38: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
  75. plv8.cc:948:38: note: candidates are:
  76. In file included from plv8.h:12:0,
  77. from plv8.cc:8:
  78. /usr/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
  79. /usr/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided
  80. /usr/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
  81. /usr/include/v8.h:4966:14: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'v8::Handle<v8::Context>'
  82. /usr/include/v8.h:4964:9: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
  83. /usr/include/v8.h:4964:9: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'const v8::Context::Scope&'
  84. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
  85. plv8.cc:972:13: error: within this context
  86. In file included from plv8.h:12:0,
  87. from plv8.cc:8:
  88. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
  89. plv8.cc:984:54: error: within this context
  90. plv8.cc: In function 'plv8_proc* Compile(Oid, FunctionCallInfo, bool, bool, Dialect)':
  91. plv8.cc:1044:15: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)'
  92. plv8.cc:1044:15: note: candidate is:
  93. In file included from plv8.h:12:0,
  94. from plv8.cc:8:
  95. /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::Function]
  96. /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
  97. plv8.cc: In function 'v8::Local<v8::Function> CompileFunction(const char*, int, const char**, const char*, bool, bool, Dialect)':
  98. plv8.cc:1061:52: error: conversion from 'v8::Persistent<v8::Context>' to non-scalar type 'v8::Handle<v8::Context>' requested
  99. plv8.cc: In function 'v8::Local<v8::Function> find_js_function(Oid)':
  100. plv8.cc:1169:52: error: no matching function for call to 'v8::Local<v8::Function>::New(v8::Persistent<v8::Function>&)'
  101. plv8.cc:1169:52: note: candidates are:
  102. In file included from plv8.h:12:0,
  103. from plv8.cc:8:
  104. /usr/include/v8.h:5444:10: note: static v8::Local<T> v8::Local<T>::New(v8::Handle<T>) [with T = v8::Function]
  105. /usr/include/v8.h:5444:10: note: no known conversion for argument 1 from 'v8::Persistent<v8::Function>' to 'v8::Handle<v8::Function>'
  106. /usr/include/v8.h:5457:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Function]
  107. /usr/include/v8.h:5457:10: note: candidate expects 2 arguments, 1 provided
  108. /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]
  109. /usr/include/v8.h:5463:10: note: candidate expects 2 arguments, 1 provided
  110. /usr/include/v8.h:5479:10: note: static v8::Local<T> v8::Local<T>::New(v8::Isolate*, T*) [with T = v8::Function]
  111. /usr/include/v8.h:5479:10: note: candidate expects 2 arguments, 1 provided
  112. /usr/include/v8.h: In function 'v8::Persistent<v8::Context> GetGlobalContext()':
  113. /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
  114. plv8.cc:1258:39: error: within this context
  115. plv8.cc:1265:59: error: conversion from 'v8::Persistent<v8::ObjectTemplate>' to non-scalar type 'v8::Handle<v8::ObjectTemplate>' requested
  116. 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]
  117. In file included from plv8.h:12:0,
  118. from plv8.cc:8:
  119. /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
  120. plv8.cc:1268:45: error: within this context
  121. In file included from plv8.h:12:0,
  122. from plv8.cc:8:
  123. /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
  124. plv8.cc:1271:25: error: within this context
  125. plv8.cc:1288:48: error: no matching function for call to 'v8::Context::Scope::Scope(v8::Persistent<v8::Context>&)'
  126. plv8.cc:1288:48: note: candidates are:
  127. In file included from plv8.h:12:0,
  128. from plv8.cc:8:
  129. /usr/include/v8.h:4970:5: note: v8::Context::Scope::Scope(v8::Isolate*, v8::Persistent<v8::Context>&)
  130. /usr/include/v8.h:4970:5: note: candidate expects 2 arguments, 1 provided
  131. /usr/include/v8.h:4966:14: note: v8::Context::Scope::Scope(v8::Handle<v8::Context>)
  132. /usr/include/v8.h:4966:14: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'v8::Handle<v8::Context>'
  133. /usr/include/v8.h:4964:9: note: v8::Context::Scope::Scope(const v8::Context::Scope&)
  134. /usr/include/v8.h:4964:9: note: no known conversion for argument 1 from 'v8::Persistent<v8::Context>' to 'const v8::Context::Scope&'
  135. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::Context]' is private
  136. plv8.cc:1311:33: error: within this context
  137. In file included from plv8.h:12:0,
  138. from plv8.cc:8:
  139. /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
  140. plv8.cc:1328:9: error: within this context
  141. plv8.cc: In function 'v8::Persistent<v8::ObjectTemplate> GetGlobalObjectTemplate()':
  142. plv8.cc:1340:65: error: no matching function for call to 'v8::Persistent<v8::ObjectTemplate>::New(v8::Local<v8::ObjectTemplate>)'
  143. plv8.cc:1340:65: note: candidate is:
  144. In file included from plv8.h:12:0,
  145. from plv8.cc:8:
  146. /usr/include/v8.h:5508:4: note: static T* v8::Persistent<T>::New(v8::Isolate*, T*) [with T = v8::ObjectTemplate]
  147. /usr/include/v8.h:5508:4: note: candidate expects 2 arguments, 1 provided
  148. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  149. plv8.cc:1342:9: error: within this context
  150. In file included from plv8.h:12:0,
  151. from plv8.cc:8:
  152. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  153. plv8.cc:1343:9: error: within this context
  154. In file included from plv8.h:12:0,
  155. from plv8.cc:8:
  156. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  157. plv8.cc:1344:9: error: within this context
  158. In file included from plv8.h:12:0,
  159. from plv8.cc:8:
  160. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  161. plv8.cc:1345:9: error: within this context
  162. In file included from plv8.h:12:0,
  163. from plv8.cc:8:
  164. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  165. plv8.cc:1346:9: error: within this context
  166. In file included from plv8.h:12:0,
  167. from plv8.cc:8:
  168. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  169. plv8.cc:1347:9: error: within this context
  170. In file included from plv8.h:12:0,
  171. from plv8.cc:8:
  172. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  173. plv8.cc:1348:9: error: within this context
  174. In file included from plv8.h:12:0,
  175. from plv8.cc:8:
  176. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  177. plv8.cc:1349:9: error: within this context
  178. In file included from plv8.h:12:0,
  179. from plv8.cc:8:
  180. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  181. plv8.cc:1350:9: error: within this context
  182. In file included from plv8.h:12:0,
  183. from plv8.cc:8:
  184. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  185. plv8.cc:1351:9: error: within this context
  186. In file included from plv8.h:12:0,
  187. from plv8.cc:8:
  188. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  189. plv8.cc:1352:9: error: within this context
  190. In file included from plv8.h:12:0,
  191. from plv8.cc:8:
  192. /usr/include/v8.h:770:3: error: 'T* v8::Persistent<T>::operator->() const [with T = v8::ObjectTemplate]' is private
  193. plv8.cc:1359:9: error: within this context
  194. In file included from plv8.h:12:0,
  195. from plv8.cc:8:
  196. /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
  197. plv8.cc:1362:9: error: within this context
  198. gmake: *** [plv8.o] Error 1
  199. ERROR: command returned 2: gmake PG_CONFIG=/usr/local/pgsql/bin/pg_config all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement