jgm/zip-archive

Problem while "cabal install zip-archive"

Closed this issue · 2 comments

I've got the following message:

"Building zip-archive-0.1.1.8...
Preprocessing library zip-archive-0.1.1.8...
[1 of 1] Compiling Codec.Archive.Zip ( Codec/Archive/Zip.hs, dist/build/Codec/Archive/Zip.o )

Codec/Archive/Zip.hs:413:13: Not in scope: `lookAheadM'

Codec/Archive/Zip.hs:486:10: Not in scope: `lookAhead'

Codec/Archive/Zip.hs:514:33: Not in scope: `lookAhead'

Codec/Archive/Zip.hs:575:10: Not in scope: `lookAhead'
Failed to install zip-archive-0.1.1.8
cabal: Error: some packages failed to install:
zip-archive-0.1.1.8 failed during the building phase. The exception was:
ExitFailure 1"

jgm commented

Hm. lookAhead and lookAheadM seem to have been removed from
binary. Will investigate...

+++ cesnunes [Oct 07 12 22:38 ]:

I've got the following message:

"Building zip-archive-0.1.1.8...
Preprocessing library zip-archive-0.1.1.8...
[1 of 1] Compiling Codec.Archive.Zip ( Codec/Archive/Zip.hs,
dist/build/Codec/Archive/Zip.o )

Codec/Archive/Zip.hs:413:13: Not in scope: `lookAheadM'

Codec/Archive/Zip.hs:486:10: Not in scope: `lookAhead'

Codec/Archive/Zip.hs:514:33: Not in scope: `lookAhead'

Codec/Archive/Zip.hs:575:10: Not in scope: `lookAhead'
Failed to install zip-archive-0.1.1.8
cabal: Error: some packages failed to install:
zip-archive-0.1.1.8 failed during the building phase. The exception
was:
ExitFailure 1"

--
Reply to this email directly or [1]view it on GitHub.
[J6T91GIPIyhU-8ti4GCGP7AlC2fiocPKodp06RQqyLzTP6U_nZWd6FL8pVMyzhsS.gif]

References

  1. #5
jgm commented

I've added the constraint 'binary < 0.6' to zip-archive.cabal.
This should fix the problem.

Pull from the archive, then cabal install. If it fails trying
to compile directory, then do cabal clean && cabal install -fdirectory11.

+++ cesnunes [Oct 07 12 22:38 ]:

I've got the following message:

"Building zip-archive-0.1.1.8...
Preprocessing library zip-archive-0.1.1.8...
[1 of 1] Compiling Codec.Archive.Zip ( Codec/Archive/Zip.hs,
dist/build/Codec/Archive/Zip.o )

Codec/Archive/Zip.hs:413:13: Not in scope: `lookAheadM'

Codec/Archive/Zip.hs:486:10: Not in scope: `lookAhead'

Codec/Archive/Zip.hs:514:33: Not in scope: `lookAhead'

Codec/Archive/Zip.hs:575:10: Not in scope: `lookAhead'
Failed to install zip-archive-0.1.1.8
cabal: Error: some packages failed to install:
zip-archive-0.1.1.8 failed during the building phase. The exception
was:
ExitFailure 1"

--
Reply to this email directly or [1]view it on GitHub.
[J6T91GIPIyhU-8ti4GCGP7AlC2fiocPKodp06RQqyLzTP6U_nZWd6FL8pVMyzhsS.gif]

References

  1. #5