Advertisement
Guest User

cython errorm but already built

a guest
Nov 28th, 2016
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.80 KB | None | 0 0
  1. odroid@odroid:~/Downloads/xpra-1.0-rc1$ sudo python setup.py install
  2. [sudo] password for odroid:
  3. setup.py install
  4. Xpra version 1.0
  5. found pkg-config version: 0.26
  6. build switches:
  7. * enc_x264 : Y
  8. * enc_x265 : N
  9. * enc_xvid : N
  10. * enc_ffmpeg : N
  11. * nvenc7 : N
  12. * vpx : Y
  13. * webp : N
  14. * pillow : Y
  15. * v4l2 : Y
  16. * dec_avcodec2 : N
  17. * csc_swscale : Y
  18. * csc_opencl : Y
  19. * csc_cython : Y
  20. * csc_opencv : Y
  21. * csc_libyuv : N
  22. * memoryview : Y
  23. * bencode : Y
  24. * cython_bencode : Y
  25. * vsock : N
  26. * mdns : Y
  27. * clipboard : Y
  28. * server : Y
  29. * client : Y
  30. * dbus : Y
  31. * x11 : Y
  32. * gtk_x11 : Y
  33. * gtk2 : Y
  34. * gtk3 : N
  35. * html5 : Y
  36. * minify : Y
  37. * pam : N
  38. * sound : Y
  39. * opengl : Y
  40. * printing : Y
  41. * webcam : Y
  42. * rebuild : Y
  43. * annotate : Y
  44. * warn : Y
  45. * strict : Y
  46. * shadow : Y
  47. * proxy : Y
  48. * debug : N
  49. * PIC : Y
  50. * Xdummy : Auto
  51. * Xdummy_wrapper : Auto
  52. * verbose : N
  53. * tests : N
  54. * bundle_tests : N
  55. error running (['uglifyjs', '--version'],),{'stderr': -1, 'stdout': -1}: [Errno 2] No such file or directory
  56. Warning: uglifyjs failed and return -1
  57. Warning: yuicompressor module not found, cannot minify
  58. 'nvcc --version' failed with return code 127
  59. stderr: None
  60. updated ./xpra/build_info.py with:
  61. * BUILD_BIT = 32bit
  62. * BUILD_CPU = armv7l
  63. * BUILD_DATE = 2016-11-27
  64. * BUILD_OS = Linux Ubuntu 14.04 trusty
  65. * BUILD_TIME = 22:53
  66. * BUILT_BY = root
  67. * BUILT_ON = odroid
  68. * COMPILER_VERSION = gcc-4.8.real (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.3) 4.8.4
  69. * CYTHON_VERSION = 0.20.1post0
  70. * LINKER_VERSION = GNU ld (GNU Binutils for Ubuntu) 2.24
  71. * PYTHON_VERSION = 2.7.6
  72. * RELEASE_BUILD = True
  73. * lib_gtk = 3.10.8
  74. * lib_pygobject = 2.28.6
  75. * lib_pygtk = 2.24.0
  76. * lib_vpx = 1.3.0
  77. * lib_x11 = 1.6.2
  78. * lib_x264 = 0.142.2389 956c8d8
  79. * lib_xcomposite = 0.4.4
  80. * lib_xdamage = 1.1.4
  81. * lib_xext = 1.3.2
  82. * lib_xfixes = 5.0.1
  83. * lib_xkbfile = 1.0.8
  84. * lib_xrandr = 1.5.0
  85. * lib_xtst = 1.2.2
  86. found gcc version: 4.8.4
  87. Compiling xpra/x11/bindings/wait_for_x_server.pyx because it changed.
  88. Compiling xpra/x11/bindings/display_source.pyx because it changed.
  89. Compiling xpra/x11/bindings/core_bindings.pyx because it changed.
  90. Compiling xpra/x11/bindings/posix_display_source.pyx because it changed.
  91. Compiling xpra/x11/bindings/randr_bindings.pyx because it changed.
  92. Compiling xpra/x11/bindings/keyboard_bindings.pyx because it changed.
  93. Compiling xpra/x11/bindings/window_bindings.pyx because it changed.
  94. Compiling xpra/x11/bindings/ximage.pyx because it changed.
  95. Compiling xpra/x11/gtk2/gdk_display_source.pyx because it changed.
  96. Compiling xpra/x11/gtk2/gdk_bindings.pyx because it changed.
  97. Compiling xpra/gtk_common/gdk_atoms.pyx because it changed.
  98. Compiling xpra/codecs/xor/cyxor.pyx because it changed.
  99. Compiling xpra/server/cystats.pyx because it changed.
  100. Compiling xpra/server/window/region.pyx because it changed.
  101. Compiling xpra/server/window/motion.pyx because it changed.
  102. Compiling xpra/codecs/enc_x264/encoder.pyx because it changed.
  103. Compiling xpra/codecs/libav_common/av_log.pyx because it changed.
  104. Compiling xpra/codecs/vpx/encoder.pyx because it changed.
  105. Compiling xpra/codecs/vpx/decoder.pyx because it changed.
  106. Compiling xpra/codecs/v4l2/pusher.pyx because it changed.
  107. Compiling xpra/net/bencode/cython_bencode.pyx because it changed.
  108. Cythonizing xpra/codecs/enc_x264/encoder.pyx
  109.  
  110. Error compiling Cython file:
  111. ------------------------------------------------------------
  112. ...
  113. cdef init_encoder(self, options_dict={}):
  114. cdef x264_param_t param
  115. cdef const char *preset
  116. preset = get_preset_names()[self.preset]
  117. self.tune = self.get_tune()
  118. x264_param_default_preset(&param, strtobytes(preset), strtobytes(self.tune))
  119. ^
  120. ------------------------------------------------------------
  121.  
  122. xpra/codecs/enc_x264/encoder.pyx:527:52: Obtaining 'char const *' from temporary Python value
  123.  
  124. Error compiling Cython file:
  125. ------------------------------------------------------------
  126. ...
  127. cdef init_encoder(self, options_dict={}):
  128. cdef x264_param_t param
  129. cdef const char *preset
  130. preset = get_preset_names()[self.preset]
  131. self.tune = self.get_tune()
  132. x264_param_default_preset(&param, strtobytes(preset), strtobytes(self.tune))
  133. ^
  134. ------------------------------------------------------------
  135.  
  136. xpra/codecs/enc_x264/encoder.pyx:527:72: Obtaining 'char const *' from temporary Python value
  137. Traceback (most recent call last):
  138. File "setup.py", line 2483, in <module>
  139. setup_options["ext_modules"] = cythonize(ext_modules, gdb_debug=False)
  140. File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 798, in cythonize
  141. cythonize_one(*args[1:])
  142. File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 915, in cythonize_one
  143. raise CompileError(None, pyx_file)
  144. Cython.Compiler.Errors.CompileError: xpra/codecs/enc_x264/encoder.pyx
  145. odroid@odroid:~/Downloads/xpra-1.0-rc1$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement