[jhc] trouble with jhc 0.7.1

David Roundy roundyd at physics.oregonstate.edu
Fri Aug 28 12:41:02 EDT 2009


When I do 'rm *.hl' and make libs in the tarball directory, I get an error:

The output follows, which is rather lengthy, but might help.  The
final error is once again:

user error (Codec.Compression.Zlib: incompatible zlib version)

Not sure what this means.

David

$ make libs
./jhc   --noauto -L- -L. -ilib/jhc --build-hl lib/jhc/jhc.cabal -o jhc-1.0.hl
jhc --noauto -L- -L. -ilib/jhc --build-hl lib/jhc/jhc.cabal -o jhc-1.0.hl
jhc 0.7.1 (0.7.0-13)
Creating library from description file: "lib/jhc/jhc.cabal"
Reading: "lib/jhc/jhc.cabal"
Finding Dependencies...
Using Ho Cache: '/mnt/home/droundy/.jhc/cache'
Data.Char               [lib/jhc/Data/Char.hs]
lib/jhc/Data/Word.hs:2   - Warning: The pragma 'LANGUAGE' is unknown
Data.Word               [lib/jhc/Data/Word.hs]
lib/jhc/Jhc/Prim.hs:2   - Warning: The pragma 'LANGUAGE' is unknown
Jhc.Prim                [lib/jhc/Jhc/Prim.hs]
lib/jhc/Jhc/String.hs:2   - Warning: The pragma 'LANGUAGE' is unknown
lib/jhc/Jhc/String.hs:17  - Warning: The pragma 'VCONSTRUCTOR' is unknown
Jhc.String              [lib/jhc/Jhc/String.hs]
lib/jhc/Jhc/Types.hs:1   - Warning: The pragma 'LANGUAGE' is unknown
Jhc.Types               [lib/jhc/Jhc/Types.hs]
Jhc.Basics              [lib/jhc/Jhc/Basics.hs]
Jhc.Int                 [lib/jhc/Jhc/Int.hs]
Numeric                 [lib/jhc/Numeric.hs]
Data.Ratio              [lib/jhc/Data/Ratio.hs]
Jhc.Float               [lib/jhc/Jhc/Float.hs]
Jhc.Enum                [lib/jhc/Jhc/Enum.hs]
Data.Int                [lib/jhc/Data/Int.hs]
Jhc.Inst.PrimEnum       [lib/jhc/Jhc/Inst/PrimEnum.hs]
Jhc.Order               [lib/jhc/Jhc/Order.hs]
Jhc.IO                  [lib/jhc/Jhc/IO.hs]
lib/jhc/Foreign/C/Types.hs:2   - Warning: The pragma 'LANGUAGE' is unknown
Foreign.C.Types         [lib/jhc/Foreign/C/Types.hs]
lib/jhc/Jhc/Options.hs:2   - Warning: The pragma 'LANGUAGE' is unknown
Jhc.Options             [lib/jhc/Jhc/Options.hs]
Jhc.Num                 [lib/jhc/Jhc/Num.hs]
Jhc.Show                [lib/jhc/Jhc/Show.hs]
Prelude                 [lib/jhc/Prelude.hs]
Jhc.Inst.Enum           [lib/jhc/Jhc/Inst/Enum.hs]
Jhc.Inst.Read           [lib/jhc/Jhc/Inst/Read.hs]
Prelude.Float           [lib/jhc/Prelude/Float.hs]
Foreign.Marshal.Alloc   [lib/jhc/Foreign/Marshal/Alloc.hs]
Foreign.Marshal.Utils   [lib/jhc/Foreign/Marshal/Utils.hs]
Foreign.Ptr             [lib/jhc/Foreign/Ptr.hs]
Foreign.Storable        [lib/jhc/Foreign/Storable.hs]
Jhc.Addr                [lib/jhc/Jhc/Addr.hs]
Jhc.Inst.Show           [lib/jhc/Jhc/Inst/Show.hs]
Jhc.Monad               [lib/jhc/Jhc/Monad.hs]
Jhc.Inst.Storable       [lib/jhc/Jhc/Inst/Storable.hs]
Jhc.List                [lib/jhc/Jhc/List.hs]
Jhc.Maybe               [lib/jhc/Jhc/Maybe.hs]
Prelude.IO              [lib/jhc/Prelude/IO.hs]
Foreign.C.String        [lib/jhc/Foreign/C/String.hs]
Foreign.Marshal.Array   [lib/jhc/Foreign/Marshal/Array.hs]
System.C.Stdio          [lib/jhc/System/C/Stdio.hs]
Prelude.Text            [lib/jhc/Prelude/Text.hs]
Jhc.Text.Read           [lib/jhc/Jhc/Text/Read.hs]
Prelude.CType           [lib/jhc/Prelude/CType.hs]
Jhc.Tuples              [lib/jhc/Jhc/Tuples.hs]
Foreign.C.Error         [lib/jhc/Foreign/C/Error.hs]
System.IO.Unsafe        [lib/jhc/System/IO/Unsafe.hs]
Jhc.Array               [lib/jhc/Jhc/Array.hs]
Jhc.Handle              [lib/jhc/Jhc/Handle.hs]
Jhc.Hole                [lib/jhc/Jhc/Hole.hs]
Jhc.JumpPoint           [lib/jhc/Jhc/JumpPoint.hs]
System.Mem              [lib/jhc/System/Mem.hs]
System.Mem.StableName   [lib/jhc/System/Mem/StableName.hs]
Typechecking...
[ 1 of 49- Jhc.Prim
- 2 of 49- Jhc.String
- 3 of 49] Jhc.Types        (.............................................)
[ 4 of 49] Foreign.C.Types  (.............................................)
[ 5 of 49] Data.Int         (.............................................)
[ 6 of 49] Jhc.Int          (.............................................)
[ 7 of 49] Jhc.Inst.PrimEnum(.............................................)
[ 8 of 49] Jhc.Basics       (.............................................)
[ 9 of 49- Jhc.Enum
-10 of 49] Jhc.Order        (.............................................)
[11 of 49] Jhc.Options      (.............................................)
[12 of 49] Jhc.IO           lib/jhc/Jhc/IO.hs:128 - Warning: Explicit
quantification is a non-haskell98 feature
(.............................................)
[13 of 49] Jhc.Monad        (.............................................)
[14 of 49] Jhc.Addr         (.............................................)
[15 of 49] Jhc.JumpPoint    (.............................................)
[16 of 49] Jhc.Array        (.............................................)
[17 of 49] System.Mem       (.............................................)
[18 of 49] System.Mem.StableName(.............................................)
[19 of 49] Data.Word        (.............................................)
[20 of 49] Jhc.Show         (.............................................)
[21 of 49- Jhc.Num
-22 of 49] Jhc.Float        (.............................................)
[23 of 49] Jhc.Inst.Show    (.............................................)
[24 of 49] Foreign.Storable (.............................................)
[25 of 49] Foreign.Ptr      (.............................................)
[26 of 49] System.C.Stdio   (.............................................)
[27 of 49] Jhc.Inst.Storable(.............................................)
[28 of 49] Jhc.List         lib/jhc/Jhc/List.hs:14  - Warning:
Explicit quantification is a non-haskell98 feature
lib/jhc/Jhc/List.hs:18  - Warning: Explicit quantification is a
non-haskell98 feature
lib/jhc/Jhc/List.hs:28  - Warning: Explicit quantification is a
non-haskell98 feature
lib/jhc/Jhc/List.hs:29  - Warning: Explicit quantification is a
non-haskell98 feature
lib/jhc/Jhc/List.hs:31  - Warning: Explicit quantification is a
non-haskell98 feature
lib/jhc/Jhc/List.hs:34  - Warning: Explicit quantification is a
non-haskell98 feature
lib/jhc/Jhc/List.hs:83  - Warning: Explicit quantification is a
non-haskell98 feature
lib/jhc/Jhc/List.hs:86  - Warning: Explicit quantification is a
non-haskell98 feature
(.............................................)
[29 of 49] Jhc.Maybe        (.............................................)
[30 of 49- Prelude.IO
-31 of 49- Foreign.C.String
-32 of 49- Foreign.Marshal.Array
-33 of 49- Foreign.Marshal.Alloc
-34 of 49] Foreign.Marshal.Utils(.............................................)
[35 of 49] Jhc.Inst.Enum    (.............................................)
[36 of 49] Prelude.CType    (.............................................)
[37 of 49] Jhc.Text.Read    (.............................................)
[38 of 49] Jhc.Tuples       (.............................................)
[39 of 49- Data.Char
-40 of 49- Numeric
-41 of 49- Data.Ratio
-42 of 49- Prelude
-43 of 49- Jhc.Inst.Read
-44 of 49- Prelude.Float
-45 of 49] Prelude.Text     (.............................................)
[46 of 49] Jhc.Hole         (.............................................)
[47 of 49] System.IO.Unsafe (.............................................)
[48 of 49] Foreign.C.Error  (.............................................)
[49 of 49] Jhc.Handle       (.............................................)
Compiling...
[ 1 of 49- Jhc.Prim
- 2 of 49- Jhc.String
- 3 of 49] Jhc.Types        <........**........................................>
user error (Codec.Compression.Zlib: incompatible zlib version)
make: *** [jhc-1.0.hl] Error 1


More information about the jhc mailing list