ekmett / bytes

Serialization primitives that work with both cereal and binary.
http://hackage.haskell.org/package/bytes
Other
22 stars 13 forks source link

Fails to install with GHC 7.8.4 #24

Closed hawkw closed 8 years ago

hawkw commented 9 years ago

Running on OS X 10.10.3.

$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
$ ghc --version 
The Glorious Glasgow Haskell Compilation System, version 7.8.4
$ cabal install bytes
Resolving dependencies...
[1 of 1] Compiling Main             ( /var/folders/vv/jwv8z8yj66z1rytjgnsn8l1c0000gn/T/bytes-0.15-15766/bytes-0.15/Setup.lhs, /var/folders/vv/jwv8z8yj66z1rytjgnsn8l1c0000gn/T/bytes-0.15-15766/bytes-0.15/dist/setup/Main.o )
Linking /var/folders/vv/jwv8z8yj66z1rytjgnsn8l1c0000gn/T/bytes-0.15-15766/bytes-0.15/dist/setup/setup ...
Configuring bytes-0.15...
Building bytes-0.15...
Preprocessing library bytes-0.15...
[1 of 5] Compiling Data.Bytes.Signed ( src/Data/Bytes/Signed.hs, dist/build/Data/Bytes/Signed.o )
[2 of 5] Compiling Data.Bytes.VarInt ( src/Data/Bytes/VarInt.hs, dist/build/Data/Bytes/VarInt.o )
[3 of 5] Compiling Data.Bytes.Put   ( src/Data/Bytes/Put.hs, dist/build/Data/Bytes/Put.o )
[4 of 5] Compiling Data.Bytes.Get   ( src/Data/Bytes/Get.hs, dist/build/Data/Bytes/Get.o )
[5 of 5] Compiling Data.Bytes.Serial ( src/Data/Bytes/Serial.hs, dist/build/Data/Bytes/Serial.o )
ld: library not found for -lHSvoid-0.7-ghc7.8.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Failed to install bytes-0.15
cabal: Error: some packages failed to install:
bytes-0.15 failed during the building phase. The exception was:
ExitFailure 1
$
glguy commented 9 years ago

I'd start by reinstalling the void package.

hawkw commented 9 years ago

@glguy Okay, tried that. It still fails with the same message.

glguy commented 9 years ago

The error you're seeing is a local problem with your install of the void package. This isn't a bug in the bytes package (or the void package).

hawkw commented 9 years ago

Alright. Don't suppose you'd happen to have any pointers as to what I should do to try and fix this, then?

Sorry for bugging maintainers of bytes with this issue.