try cabal install linear before doctests