Skip to content

Instantly share code, notes, and snippets.

@ofan
Created July 3, 2013 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ofan/5921893 to your computer and use it in GitHub Desktop.
Save ofan/5921893 to your computer and use it in GitHub Desktop.
snappy error
esolving dependencies...
Configuring Snappy-0.0...
Building Snappy-0.0...
Preprocessing library Snappy-0.0...
[ 1 of 31] Compiling Snappy.UncheckedByteArraySink.RawType ( src/Snappy/UncheckedByteArraySink/RawType.hs, dist/build/Snappy/UncheckedByteArraySink/RawType.o )
[ 2 of 31] Compiling Snappy.UncheckedByteArraySink.FFI ( dist/build/Snappy/UncheckedByteArraySink/FFI.hs, dist/build/Snappy/UncheckedByteArraySink/FFI.o )
[ 3 of 31] Compiling Snappy.ByteArraySource.RawType ( src/Snappy/ByteArraySource/RawType.hs, dist/build/Snappy/ByteArraySource/RawType.o )
[ 4 of 31] Compiling Snappy.ByteArraySource.FFI ( dist/build/Snappy/ByteArraySource/FFI.hs, dist/build/Snappy/ByteArraySource/FFI.o )
[ 5 of 31] Compiling Snappy.CppString.RawType ( src/Snappy/CppString/RawType.hs, dist/build/Snappy/CppString/RawType.o )
[ 6 of 31] Compiling Snappy.CppString.Interface ( src/Snappy/CppString/Interface.hs, dist/build/Snappy/CppString/Interface.o )
[ 7 of 31] Compiling Snappy.CppString.FFI ( dist/build/Snappy/CppString/FFI.hs, dist/build/Snappy/CppString/FFI.o )
[ 8 of 31] Compiling Snappy.CppString.Cast ( src/Snappy/CppString/Cast.hs, dist/build/Snappy/CppString/Cast.o )
[ 9 of 31] Compiling Snappy.CppString.Implementation ( src/Snappy/CppString/Implementation.hs, dist/build/Snappy/CppString/Implementation.o )
[10 of 31] Compiling Snappy.Sink.RawType ( src/Snappy/Sink/RawType.hs, dist/build/Snappy/Sink/RawType.o )
[11 of 31] Compiling Snappy.Sink.Interface ( src/Snappy/Sink/Interface.hs, dist/build/Snappy/Sink/Interface.o )
[12 of 31] Compiling Snappy.UncheckedByteArraySink.Interface ( src/Snappy/UncheckedByteArraySink/Interface.hs, dist/build/Snappy/UncheckedByteArraySink/Interface.o )
[13 of 31] Compiling Snappy.UncheckedByteArraySink.Cast ( src/Snappy/UncheckedByteArraySink/Cast.hs, dist/build/Snappy/UncheckedByteArraySink/Cast.o )
[14 of 31] Compiling Snappy.Sink.FFI ( dist/build/Snappy/Sink/FFI.hs, dist/build/Snappy/Sink/FFI.o )
[15 of 31] Compiling Snappy.Sink.Cast ( src/Snappy/Sink/Cast.hs, dist/build/Snappy/Sink/Cast.o )
[16 of 31] Compiling Snappy.Sink.Implementation ( src/Snappy/Sink/Implementation.hs, dist/build/Snappy/Sink/Implementation.o )
src/Snappy/Sink/Implementation.hs:26:12:
No instance for (Castable CULong CULong)
arising from a use of `xform2'
Possible fix:
add an instance declaration for (Castable CULong CULong)
In the expression: xform2 c_sink_append
In an equation for `append': append = xform2 c_sink_append
In the instance declaration for `ISink Sink'
Failed to install Snappy-0.0
cabal: Error: some packages failed to install:
Snappy-0.0 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment