Advertisement
gatoatigrado3

accelerate-cuda install failure

Jan 14th, 2013
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.47 KB | None | 0 0
  1. gatoatigrado@oliver:~/sandbox/oss/accelerate> command cabal install --enable-library-profiling accelerate-cuda
  2. Resolving dependencies...
  3. [1 of 1] Compiling Main ( /tmp/cuda-0.4.1.1-17217/cuda-0.4.1.1/Setup.hs, /tmp/cuda-0.4.1.1-17217/cuda-0.4.1.1/dist/setup/Main.o )
  4. Linking /tmp/cuda-0.4.1.1-17217/cuda-0.4.1.1/dist/setup/setup ...
  5. Configuring cuda-0.4.1.1...
  6. configure: WARNING: unrecognized options: --with-compiler
  7. configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
  8. checking for gcc... /usr/bin/gcc
  9. checking whether the C compiler works... yes
  10. checking for C compiler default output file name... a.out
  11. checking for suffix of executables...
  12. checking whether we are cross compiling... no
  13. checking for suffix of object files... o
  14. checking whether we are using the GNU C compiler... yes
  15. checking whether /usr/bin/gcc accepts -g... yes
  16. checking for /usr/bin/gcc option to accept ISO C89... none needed
  17. checking build system type... x86_64-unknown-linux-gnu
  18. checking host system type... x86_64-unknown-linux-gnu
  19. checking target system type... x86_64-unknown-linux-gnu
  20. checking for nvcc... /usr/local/cuda-5.0/bin/nvcc
  21. checking for Apple Blocks extension... no
  22. checking how to run the C preprocessor... /usr/bin/gcc -E
  23. checking for grep that handles long lines and -e... /usr/bin/grep
  24. checking for egrep... /usr/bin/grep -E
  25. checking for ANSI C header files... yes
  26. checking for sys/types.h... yes
  27. checking for sys/stat.h... yes
  28. checking for stdlib.h... yes
  29. checking for string.h... yes
  30. checking for memory.h... yes
  31. checking for strings.h... yes
  32. checking for inttypes.h... yes
  33. checking for stdint.h... yes
  34. checking for unistd.h... yes
  35. checking cuda.h usability... yes
  36. checking cuda.h presence... yes
  37. checking for cuda.h... yes
  38. checking cuda_runtime_api.h usability... yes
  39. checking cuda_runtime_api.h presence... yes
  40. checking for cuda_runtime_api.h... yes
  41. checking for library containing cuDriverGetVersion... -lcuda
  42. checking for library containing cudaRuntimeGetVersion... -lcudart
  43. configure: creating ./config.status
  44. config.status: creating cuda.buildinfo
  45. configure: WARNING: unrecognized options: --with-compiler
  46. Building cuda-0.4.1.1...
  47. Preprocessing library cuda-0.4.1.1...
  48. [ 1 of 27] Compiling Foreign.CUDA.Driver.Error ( dist/build/Foreign/CUDA/Driver/Error.hs, dist/build/Foreign/CUDA/Driver/Error.o )
  49.  
  50. Foreign/CUDA/Driver/Error.chs:41:1:
  51. Warning: Pattern match(es) are non-exhaustive
  52. In an equation for `describe':
  53. Patterns not matched:
  54. PeerAccessUnsupported
  55. NotPermitted
  56. NotSupported
  57. [ 2 of 27] Compiling Foreign.CUDA.Internal.Offsets ( dist/build/Foreign/CUDA/Internal/Offsets.hs, dist/build/Foreign/CUDA/Internal/Offsets.o )
  58. [ 3 of 27] Compiling Foreign.CUDA.Internal.C2HS ( Foreign/CUDA/Internal/C2HS.hs, dist/build/Foreign/CUDA/Internal/C2HS.o )
  59. [ 4 of 27] Compiling Foreign.CUDA.Driver.Utils ( dist/build/Foreign/CUDA/Driver/Utils.hs, dist/build/Foreign/CUDA/Driver/Utils.o )
  60. [ 5 of 27] Compiling Foreign.CUDA.Driver.Stream ( dist/build/Foreign/CUDA/Driver/Stream.hs, dist/build/Foreign/CUDA/Driver/Stream.o )
  61.  
  62. Foreign/CUDA/Driver/Stream.chs:49:10:
  63. Warning: No explicit method nor default method for `toEnum'
  64. In the instance declaration for `Enum StreamFlag'
  65.  
  66. Foreign/CUDA/Driver/Stream.chs:49:10:
  67. Warning: No explicit method nor default method for `fromEnum'
  68. In the instance declaration for `Enum StreamFlag'
  69. [ 6 of 27] Compiling Foreign.CUDA.Driver.Event ( dist/build/Foreign/CUDA/Driver/Event.hs, dist/build/Foreign/CUDA/Driver/Event.o )
  70.  
  71. Foreign/CUDA/Driver/Event.chs:54:10:
  72. Warning: No explicit method nor default method for `toEnum'
  73. In the instance declaration for `Enum WaitFlag'
  74.  
  75. Foreign/CUDA/Driver/Event.chs:54:10:
  76. Warning: No explicit method nor default method for `fromEnum'
  77. In the instance declaration for `Enum WaitFlag'
  78. [ 7 of 27] Compiling Foreign.CUDA.Runtime.Error ( dist/build/Foreign/CUDA/Runtime/Error.hs, dist/build/Foreign/CUDA/Runtime/Error.o )
  79. [ 8 of 27] Compiling Foreign.CUDA.Runtime.Utils ( dist/build/Foreign/CUDA/Runtime/Utils.hs, dist/build/Foreign/CUDA/Runtime/Utils.o )
  80. [ 9 of 27] Compiling Foreign.CUDA.Runtime.Stream ( dist/build/Foreign/CUDA/Runtime/Stream.hs, dist/build/Foreign/CUDA/Runtime/Stream.o )
  81. [10 of 27] Compiling Foreign.CUDA.Runtime.Exec ( dist/build/Foreign/CUDA/Runtime/Exec.hs, dist/build/Foreign/CUDA/Runtime/Exec.o )
  82.  
  83. Foreign/CUDA/Runtime/Exec.chs:114:31:
  84. Couldn't match expected type `()' with actual type `CChar'
  85. Expected type: Ptr ()
  86. Actual type: CString
  87. In the second argument of `cudaFuncGetAttributes'_', namely a2'
  88. In the first argument of `(>>=)', namely
  89. cudaFuncGetAttributes'_ a1' a2'
  90.  
  91. Foreign/CUDA/Runtime/Exec.chs:198:28:
  92. Couldn't match expected type `()' with actual type `CChar'
  93. Expected type: Ptr ()
  94. Actual type: CString
  95. In the first argument of `cudaFuncSetCacheConfig'_', namely a1'
  96. In the first argument of `(>>=)', namely
  97. cudaFuncSetCacheConfig'_ a1' a2'
  98.  
  99. Foreign/CUDA/Runtime/Exec.chs:214:16:
  100. Couldn't match expected type `()' with actual type `CChar'
  101. Expected type: Ptr ()
  102. Actual type: CString
  103. In the first argument of `cudaLaunch'_', namely a1'
  104. In the first argument of `(>>=)', namely cudaLaunch'_ a1'
  105. Configuring th-orphans-0.6...
  106. Building th-orphans-0.6...
  107. Preprocessing library th-orphans-0.6...
  108. [1 of 1] Compiling Language.Haskell.TH.Instances ( src/Language/Haskell/TH/Instances.hs, dist/build/Language/Haskell/TH/Instances.o )
  109. Loading package ghc-prim ... linking ... done.
  110. Loading package integer-gmp ... linking ... done.
  111. Loading package base ... linking ... done.
  112. Loading package array-0.4.0.1 ... linking ... done.
  113. Loading package deepseq-1.3.0.1 ... linking ... done.
  114. Loading package containers-0.4.2.1 ... linking ... done.
  115. Loading package pretty-1.1.1.0 ... linking ... done.
  116. Loading package template-haskell ... linking ... done.
  117. Loading package th-lift-0.5.5 ... linking ... done.
  118.  
  119. src/Language/Haskell/TH/Instances.hs:100:3:cabal: Error: some packages failed to install:
  120. accelerate-cuda-0.12.1.2 depends on th-orphans-0.6 which failed to install.
  121. cuda-0.4.1.1 failed during the building phase. The exception was:
  122. ExitFailure 1
  123. haskell-src-meta-0.6.0.1 depends on th-orphans-0.6 which failed to install.
  124. language-c-quote-0.4.4 depends on th-orphans-0.6 which failed to install.
  125. th-orphans-0.6 failed during the building phase. The exception was:
  126. ExitFailure 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement