cheecheeo / haskell-cgi

A library for writing CGI programs
Other
5 stars 9 forks source link

Build failures with cgi-3001.1.8.5 #9

Closed akakcolin closed 10 years ago

akakcolin commented 10 years ago

Using ghc7.8.3

Build failures with cgi-3001.1.8.5:, how to solve it?

Component build order: library creating dist/build creating dist/build/autogen Building cgi-3001.1.8.5... Preprocessing library cgi-3001.1.8.5... Building library... creating dist/build /usr/bin/ghc --make -fbuilding-cabal-package -O -j4 -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name cgi-3001.1.8.5 -hide-all-packages -package-db dist/package.conf.inplace -package-id MonadCatchIO-mtl-0.3.1.0-773c5f6a1530d976cea503e2afd852eb -package-id base-4.7.0.1-df210ede1eb79477fef5662549c32927 -package-id bytestring-0.10.4.0-4aa78c8ca7b6b65993eefc131f7d94fa -package-id containers-0.5.5.1-0d8db9193d3e3371e0142bcc8a4a0721 -package-id mtl-2.2.1-7e36fa184fee4ff5c892cec1466dde72 -package-id network-2.6.0.2-4c637b02ab326f434a00e6d206eeaeb0 -package-id network-uri-2.6.0.1-a57e351e0a9e152838450c6337b87f28 -package-id old-locale-1.0.0.6-09baf1dbc5be8338e5eba7c5bb515505 -package-id old-time-1.1.0.2-eab97c1e6d2cda84575b30ce4bfcfaf2 -package-id parsec-3.1.7-0f0b4a73a3fce8b579411e43b9dba365 -package-id xhtml-3000.2.1-2da8c2cd0581a1aa5b8f1c06f5c3b943 -XHaskell98 -XCPP -XMultiParamTypeClasses Network.CGI Network.CGI.Monad Network.CGI.Protocol Network.CGI.Cookie Network.CGI.Compat Network.CGI.Accept Network.CGI.Multipart Network.CGI.Header -Wall

Network/CGI.hs:1:16: Warning: -fallow-overlapping-instances is deprecated: use -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances #-} instead

Network/CGI/Monad.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [5 of 8] Compiling Network.CGI.Protocol ( Network/CGI/Protocol.hs, dist/build/Network/CGI/Protocol.o )

Network/CGI/Protocol.hs:47:49: Module ‘Data.Typeable’ does not export ‘mkTyCon’

cheecheeo commented 10 years ago

@akakcolin GHC 7.8 support was implemented in cgi >= 3001.2.0.0 (https://github.com/cheecheeo/haskell-cgi/blob/master/changelog)