*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user Dependency Cabal >=1.6: using Cabal-1.7.4 Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.7.4 --make Setup.lhs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.lhs, setup/Main.o ) Linking setup/setup ... setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/tkhs-0.2.3 --verbose Configuring tkhs-0.2.3... Flags chosen: test=False Dependency base ==4.*: using base-4.1.0.0 Dependency mtl -any: using mtl-1.1.0.2 Dependency parsec ==2.*: using parsec-2.1.0.1 Dependency pretty -any: using pretty-1.0.1.1 Dependency utf8-string -any: using utf8-string-0.3.6 Dependency vty ==4.2.1.*: using vty-4.2.1.0 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package tkhs-0.2.3 requires parsec-2.1.0.1 package vty-4.2.1.0 requires parsec-3.0.1 Using Cabal-1.7.3 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/tkhs-0.2.3/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/tkhs-0.2.3 Documentation installed in: /usr/local/tmp/archive/install/share/doc/tkhs-0.2.3 No alex found Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.9 found on system at: /usr/local/tmp/archive/install/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.4 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar /usr/bin/gcc /tmp/1270.c -o /tmp/1270 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/include -I/usr/local/tmp/archive/install/lib/bytestring-0.9.1.5/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup build setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for tkhs-0.2.3... Building tkhs-0.2.3... Building executable tkhs... Creating dist/build/tkhs (and its parents) Creating dist/build/tkhs/tkhs-tmp (and its parents) /usr/local/bin/ghc --make -o dist/build/tkhs/tkhs -hide-all-packages -package-conf dist/package.conf.inplace -i -idist/build/tkhs/tkhs-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/tkhs/tkhs-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/tkhs/tkhs-tmp -hidir dist/build/tkhs/tkhs-tmp -stubdir dist/build/tkhs/tkhs-tmp -package base-4.1.0.0 -package mtl-1.1.0.2 -package parsec-2.1.0.1 -package pretty-1.0.1.1 -package utf8-string-0.3.6 -package vty-4.2.1.0 -O -Wall src/Main.hs [1 of 5] Compiling Vty ( src/Vty.hs, dist/build/tkhs/tkhs-tmp/Vty.o ) [2 of 5] Compiling Zipper ( src/Zipper.hs, dist/build/tkhs/tkhs-tmp/Zipper.o ) [3 of 5] Compiling Tkhs ( src/Tkhs.hs, dist/build/tkhs/tkhs-tmp/Tkhs.o ) [4 of 5] Compiling Parser ( src/Parser.hs, dist/build/tkhs/tkhs-tmp/Parser.o ) src/Parser.hs:8:0: Warning: Module `Control.Monad.Identity' is imported, but nothing from it is used, except perhaps instances visible in `Control.Monad.Identity' To suppress this warning, use: import Control.Monad.Identity() [5 of 5] Compiling Main ( src/Main.hs, dist/build/tkhs/tkhs-tmp/Main.o ) Linking dist/build/tkhs/tkhs ... /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slqz_info': (.text+0x227f): undefined reference to `fcntl_read' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slqz_info': (.text+0x22ab): undefined reference to `fcntl_read' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `skA0_info': (.text+0x2358): undefined reference to `fcntl_write' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `skAq_info': (.text+0x240f): undefined reference to `fcntl_write' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slwb_info': (.text+0x2703): undefined reference to `fcntl_read' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slwb_info': (.text+0x272f): undefined reference to `fcntl_read' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slzG_info': (.text+0x29a3): undefined reference to `fcntl_lock' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slCa_info': (.text+0x2b73): undefined reference to `fcntl_lock' /usr/local/tmp/archive/install/lib/unix-2.4.0.0/ghc-6.10.2/libHSunix-2.4.0.0.a(IO.o): In function `slFq_info': (.text+0x2dff): undefined reference to `fcntl_lock' collect2: ld returned 1 exit status *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/tkhs-0.2.3 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose Configuring tkhs-0.2.3... setup: At least the following dependencies are missing: base >1 && <1