1 Jun 2012 04:06
Trouble building scaffolded site.
I'm now unable to build a scaffolded site, with a relatively clean ghc and cabal install. Am not sure what I'm doing wrong. Here are the specifics:
> cd ~/src
> mkdir yesod-platform-bin
> cd yesod-platform-bin
> cabal-dev install yesod-platform
> cd ~/src
> ./yesod-platform-bin/cabal-dev/bin/yesod init # project name: project
> cd project
> cabal-dev install
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: project-0.0.0 (user goal)
trying: http-conduit-1.4.1.7 (dependency of project-0.0.0)
trying: attoparsec-0.10.2.0 (dependency of http-conduit-1.4.1.7)
next goal: yesod-platform (dependency of project-0.0.0)
rejecting: yesod-platform-1.0.4.1, 1.0.4, 1.0.3.4, 1.0.3.3, 1.0.3.2, 1.0.2,
1.0.1, 1.0.0 (conflict: attoparsec==0.10.2.0, yesod-platform =>
attoparsec==0.10.1.1)
rejecting: yesod-platform-0.10.3, 0.10.2 (conflict: project =>
yesod-platform>=1.0 && <1.1)
> ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.4
> cabal --version
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library
> cabal-dev --version
cabal-dev 0.9.1
built with Cabal 1.14.0
> ghc-pkg list
/usr/local/Cellar/ghc/7.0.4/lib/ghc-7.0.4/package.conf.d:
Cabal-1.10.2.0
array-0.3.0.2
base-4.3.1.0
bin-package-db-0.0.0.0
bytestring-0.9.1.10
containers-0.4.0.0
directory-1.1.0.0
extensible-exceptions-0.1.1.2
ffi-1.0
filepath-1.2.0.0
(ghc-7.0.4)
(ghc-binary-0.5.0.2)
ghc-prim-0.2.0.0
(haskell2010-1.0.0.0)
haskell98-1.1.0.1
hpc-0.5.0.6
integer-gmp-0.2.0.3
old-locale-1.0.0.2
old-time-1.0.0.6
pretty-1.0.1.2
process-1.0.1.5
random-1.0.0.3
rts-1.0
template-haskell-2.5.0.0
time-1.2.0.3
unix-2.4.2.0
/Users/dansan/.ghc/x86_64-darwin-7.0.4/package.conf.d:
Cabal-1.14.0
HTTP-4000.2.3
deepseq-1.3.0.0
mtl-2.0.1.0
mtl-2.1.1
network-2.3.0.13
parsec-3.1.2
tar-0.3.2.0
text-0.11.2.1
transformers-0.2.2.0
transformers-0.3.0.0
zlib-0.5.3.3
RSS Feed