*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user /usr/local/bin/ghc --print-libdir Creating dist/setup (and its parents) /usr/local/bin/ghc -package Cabal-1.10.1.0 --make Setup.lhs -o dist/setup/setup -odir dist/setup -hidir dist/setup [1 of 1] Compiling Main ( Setup.lhs, dist/setup/Main.o ) Linking dist/setup/setup ... dist/setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/hmatrix-0.2.0.0 --haddock-option=--built-in-themes --verbose Configuring hmatrix-0.2.0.0... Flags chosen: splitbase=True Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency array -any: using array-0.3.0.2 Dependency base >=3: using base-4.3.1.0 Dependency haskell98 -any: using haskell98-1.1.0.1 Using Cabal-1.10.1.0 compiled by ghc-7.0 Using compiler: ghc-7.0.1.20101215 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/hmatrix-0.2.0.0/ghc-7.0.1.20101215 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hmatrix-0.2.0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hmatrix-0.2.0.0 Using alex version 2.3.3 found on system at: /usr/bin/alex 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.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 7.0.1.20101215 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.0.1.20101215 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.9.0 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 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.17 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.25 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 No uhc found *** setup build dist/setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hmatrix-0.2.0.0... Creating dist/build/Numeric/GSL/Special (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=700 --cflag=-Dlinux_BUILD_OS --cflag=-Dlinux_HOST_OS --cflag=-Di386_BUILD_ARCH --cflag=-Di386_HOST_ARCH --cflag=-O4 --lflag=-lgsl --lflag=-lblas --lflag=-llapack --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/time-1.2.0.3/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/process-1.0.1.5/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/directory-1.1.0.0/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/unix-2.4.1.0/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/old-time-1.0.0.6/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/base-4.3.1.0/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/include --cflag=-I/usr/local/lib/ghc-7.0.1.20101215/include --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/haskell98-1.1.0.1 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/haskell98-1.1.0.1 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/random-1.0.0.3 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/random-1.0.0.3 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/time-1.2.0.3 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/time-1.2.0.3 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/process-1.0.1.5 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/process-1.0.1.5 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/directory-1.1.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/directory-1.1.0.0 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/unix-2.4.1.0 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/unix-2.4.1.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/old-time-1.0.0.6 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/old-time-1.0.0.6 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/old-locale-1.0.0.2 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/old-locale-1.0.0.2 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/filepath-1.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/filepath-1.2.0.0 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/array-0.3.0.2 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/array-0.3.0.2 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/base-4.3.1.0 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/base-4.3.1.0 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/integer-gmp-0.2.0.3 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/integer-gmp-0.2.0.3 --lflag=-lgmp --lflag=-L/usr/local/lib/ghc-7.0.1.20101215/ghc-prim-0.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215/ghc-prim-0.2.0.0 --lflag=-L/usr/local/lib/ghc-7.0.1.20101215 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215 --lflag=-lm --lflag=-lrt --lflag=-ldl --lflag=-L/usr/local/lib/ghc-7.0.1.20101215 --lflag=-Wl,-R,/usr/local/lib/ghc-7.0.1.20101215 -o dist/build/Numeric/GSL/Special/Internal.hs lib/Numeric/GSL/Special/Internal.hsc Building hmatrix-0.2.0.0... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name hmatrix-0.2.0.0 -hide-all-packages -fbuilding-cabal-package -i -idist/build -ilib -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id array-0.3.0.2-1df307f7aa24807848edcd21ee4a14a9 -package-id base-4.3.1.0-08d1542e223f30665b846c92c4416607 -package-id haskell98-1.1.0.1-c82f735e4083fb2c95241ca6f2f41c16 -O -fvia-C -O -XHaskell98 -XForeignFunctionInterface Data.Packed Data.Packed.Vector Data.Packed.Matrix Numeric.GSL.Vector Numeric.GSL.Matrix Numeric.GSL.Differentiation Numeric.GSL.Integration Numeric.GSL.Fourier Numeric.GSL.Polynomials Numeric.GSL.Minimization Numeric.GSL.Special Numeric.GSL.Special.Gamma Numeric.GSL.Special.Erf Numeric.GSL.Special.Airy Numeric.GSL.Special.Exp Numeric.GSL.Special.Bessel Numeric.GSL.Special.Clausen Numeric.GSL.Special.Coulomb Numeric.GSL.Special.Coupling Numeric.GSL.Special.Dawson Numeric.GSL.Special.Debye Numeric.GSL.Special.Dilog Numeric.GSL.Special.Elementary Numeric.GSL.Special.Ellint Numeric.GSL.Special.Expint Numeric.GSL.Special.Fermi_dirac Numeric.GSL.Special.Gegenbauer Numeric.GSL.Special.Hyperg Numeric.GSL.Special.Laguerre Numeric.GSL.Special.Lambert Numeric.GSL.Special.Pow_int Numeric.GSL.Special.Psi Numeric.GSL.Special.Synchrotron Numeric.GSL.Special.Trig Numeric.GSL.Special.Zeta Numeric.GSL.Special.Log Numeric.GSL.Special.Legendre Numeric.GSL Numeric.LinearAlgebra Numeric.LinearAlgebra.LAPACK Numeric.LinearAlgebra.Linear Numeric.LinearAlgebra.Instances Numeric.LinearAlgebra.Interface Numeric.LinearAlgebra.Algorithms Graphics.Plot Data.Packed.Internal Data.Packed.Internal.Common Data.Packed.Internal.Vector Data.Packed.Internal.Matrix Numeric.GSL.Special.Internal [ 1 of 50] Compiling Data.Packed.Internal.Common ( lib/Data/Packed/Internal/Common.hs, dist/build/Data/Packed/Internal/Common.o ) on the commandline: Warning: The -fvia-C flag will be removed in a future GHC release lib/Data/Packed.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Data/Packed/Internal/Common.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Data/Packed/Internal/Matrix.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Data/Packed/Internal/Vector.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Data/Packed/Internal/Vector.hs:1:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead lib/Data/Packed/Matrix.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/GSL/Fourier.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/GSL/Minimization.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/GSL/Polynomials.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/GSL/Special/Internal.hsc:1:12: Warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead lib/Numeric/GSL/Vector.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/LinearAlgebra/Algorithms.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/LinearAlgebra/Instances.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/LinearAlgebra/Instances.hs:1:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead lib/Numeric/LinearAlgebra/Interface.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead lib/Numeric/LinearAlgebra/Linear.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 2 of 50] Compiling Data.Packed.Internal.Vector ( lib/Data/Packed/Internal/Vector.hs, dist/build/Data/Packed/Internal/Vector.o ) [ 3 of 50] Compiling Data.Packed.Internal.Matrix ( lib/Data/Packed/Internal/Matrix.hs, dist/build/Data/Packed/Internal/Matrix.o ) [ 4 of 50] Compiling Numeric.GSL.Vector ( lib/Numeric/GSL/Vector.hs, dist/build/Numeric/GSL/Vector.o ) [ 5 of 50] Compiling Data.Packed.Internal ( lib/Data/Packed/Internal.hs, dist/build/Data/Packed/Internal.o ) [ 6 of 50] Compiling Numeric.GSL.Differentiation ( lib/Numeric/GSL/Differentiation.hs, dist/build/Numeric/GSL/Differentiation.o ) [ 7 of 50] Compiling Numeric.GSL.Integration ( lib/Numeric/GSL/Integration.hs, dist/build/Numeric/GSL/Integration.o ) [ 8 of 50] Compiling Numeric.GSL.Fourier ( lib/Numeric/GSL/Fourier.hs, dist/build/Numeric/GSL/Fourier.o ) [ 9 of 50] Compiling Numeric.GSL.Polynomials ( lib/Numeric/GSL/Polynomials.hs, dist/build/Numeric/GSL/Polynomials.o ) [10 of 50] Compiling Numeric.GSL.Special.Internal ( dist/build/Numeric/GSL/Special/Internal.hs, dist/build/Numeric/GSL/Special/Internal.o ) [11 of 50] Compiling Numeric.GSL.Special.Airy ( lib/Numeric/GSL/Special/Airy.hs, dist/build/Numeric/GSL/Special/Airy.o ) [12 of 50] Compiling Numeric.GSL.Special.Bessel ( lib/Numeric/GSL/Special/Bessel.hs, dist/build/Numeric/GSL/Special/Bessel.o ) [13 of 50] Compiling Numeric.GSL.Special.Clausen ( lib/Numeric/GSL/Special/Clausen.hs, dist/build/Numeric/GSL/Special/Clausen.o ) [14 of 50] Compiling Numeric.GSL.Special.Coulomb ( lib/Numeric/GSL/Special/Coulomb.hs, dist/build/Numeric/GSL/Special/Coulomb.o ) [15 of 50] Compiling Numeric.GSL.Special.Coupling ( lib/Numeric/GSL/Special/Coupling.hs, dist/build/Numeric/GSL/Special/Coupling.o ) [16 of 50] Compiling Numeric.GSL.Special.Dawson ( lib/Numeric/GSL/Special/Dawson.hs, dist/build/Numeric/GSL/Special/Dawson.o ) [17 of 50] Compiling Numeric.GSL.Special.Debye ( lib/Numeric/GSL/Special/Debye.hs, dist/build/Numeric/GSL/Special/Debye.o ) [18 of 50] Compiling Numeric.GSL.Special.Dilog ( lib/Numeric/GSL/Special/Dilog.hs, dist/build/Numeric/GSL/Special/Dilog.o ) [19 of 50] Compiling Numeric.GSL.Special.Elementary ( lib/Numeric/GSL/Special/Elementary.hs, dist/build/Numeric/GSL/Special/Elementary.o ) [20 of 50] Compiling Numeric.GSL.Special.Ellint ( lib/Numeric/GSL/Special/Ellint.hs, dist/build/Numeric/GSL/Special/Ellint.o ) [21 of 50] Compiling Numeric.GSL.Special.Erf ( lib/Numeric/GSL/Special/Erf.hs, dist/build/Numeric/GSL/Special/Erf.o ) [22 of 50] Compiling Numeric.GSL.Special.Exp ( lib/Numeric/GSL/Special/Exp.hs, dist/build/Numeric/GSL/Special/Exp.o ) [23 of 50] Compiling Numeric.GSL.Special.Expint ( lib/Numeric/GSL/Special/Expint.hs, dist/build/Numeric/GSL/Special/Expint.o ) [24 of 50] Compiling Numeric.GSL.Special.Fermi_dirac ( lib/Numeric/GSL/Special/Fermi_dirac.hs, dist/build/Numeric/GSL/Special/Fermi_dirac.o ) [25 of 50] Compiling Numeric.GSL.Special.Gamma ( lib/Numeric/GSL/Special/Gamma.hs, dist/build/Numeric/GSL/Special/Gamma.o ) [26 of 50] Compiling Numeric.GSL.Special.Gegenbauer ( lib/Numeric/GSL/Special/Gegenbauer.hs, dist/build/Numeric/GSL/Special/Gegenbauer.o ) [27 of 50] Compiling Numeric.GSL.Special.Hyperg ( lib/Numeric/GSL/Special/Hyperg.hs, dist/build/Numeric/GSL/Special/Hyperg.o ) [28 of 50] Compiling Numeric.GSL.Special.Laguerre ( lib/Numeric/GSL/Special/Laguerre.hs, dist/build/Numeric/GSL/Special/Laguerre.o ) [29 of 50] Compiling Numeric.GSL.Special.Lambert ( lib/Numeric/GSL/Special/Lambert.hs, dist/build/Numeric/GSL/Special/Lambert.o ) [30 of 50] Compiling Numeric.GSL.Special.Legendre ( lib/Numeric/GSL/Special/Legendre.hs, dist/build/Numeric/GSL/Special/Legendre.o ) [31 of 50] Compiling Numeric.GSL.Special.Log ( lib/Numeric/GSL/Special/Log.hs, dist/build/Numeric/GSL/Special/Log.o ) [32 of 50] Compiling Numeric.GSL.Special.Pow_int ( lib/Numeric/GSL/Special/Pow_int.hs, dist/build/Numeric/GSL/Special/Pow_int.o ) [33 of 50] Compiling Numeric.GSL.Special.Psi ( lib/Numeric/GSL/Special/Psi.hs, dist/build/Numeric/GSL/Special/Psi.o ) [34 of 50] Compiling Numeric.GSL.Special.Synchrotron ( lib/Numeric/GSL/Special/Synchrotron.hs, dist/build/Numeric/GSL/Special/Synchrotron.o ) [35 of 50] Compiling Numeric.GSL.Special.Trig ( lib/Numeric/GSL/Special/Trig.hs, dist/build/Numeric/GSL/Special/Trig.o ) [36 of 50] Compiling Numeric.GSL.Special.Zeta ( lib/Numeric/GSL/Special/Zeta.hs, dist/build/Numeric/GSL/Special/Zeta.o ) [37 of 50] Compiling Numeric.GSL.Special ( lib/Numeric/GSL/Special.hs, dist/build/Numeric/GSL/Special.o ) [38 of 50] Compiling Data.Packed.Vector ( lib/Data/Packed/Vector.hs, dist/build/Data/Packed/Vector.o ) [39 of 50] Compiling Data.Packed.Matrix ( lib/Data/Packed/Matrix.hs, dist/build/Data/Packed/Matrix.o ) [40 of 50] Compiling Numeric.GSL.Matrix ( lib/Numeric/GSL/Matrix.hs, dist/build/Numeric/GSL/Matrix.o ) [41 of 50] Compiling Numeric.GSL.Minimization ( lib/Numeric/GSL/Minimization.hs, dist/build/Numeric/GSL/Minimization.o ) [42 of 50] Compiling Numeric.GSL ( lib/Numeric/GSL.hs, dist/build/Numeric/GSL.o ) [43 of 50] Compiling Numeric.LinearAlgebra.LAPACK ( lib/Numeric/LinearAlgebra/LAPACK.hs, dist/build/Numeric/LinearAlgebra/LAPACK.o ) [44 of 50] Compiling Data.Packed ( lib/Data/Packed.hs, dist/build/Data/Packed.o ) [45 of 50] Compiling Numeric.LinearAlgebra.Linear ( lib/Numeric/LinearAlgebra/Linear.hs, dist/build/Numeric/LinearAlgebra/Linear.o ) [46 of 50] Compiling Numeric.LinearAlgebra.Instances ( lib/Numeric/LinearAlgebra/Instances.hs, dist/build/Numeric/LinearAlgebra/Instances.o ) [47 of 50] Compiling Graphics.Plot ( lib/Graphics/Plot.hs, dist/build/Graphics/Plot.o ) [48 of 50] Compiling Numeric.LinearAlgebra.Algorithms ( lib/Numeric/LinearAlgebra/Algorithms.hs, dist/build/Numeric/LinearAlgebra/Algorithms.o ) lib/Numeric/LinearAlgebra/Algorithms.hs:319:25: parse error on input `rec'