[web-devel] Yesod beginner
Michael Snoyman
michael at snoyman.com
Thu Jun 16 04:52:32 CEST 2011
On Thu, Jun 16, 2011 at 12:46 AM, anthropornis <anthropornis at gmail.com> wrote:
> Hello,
>
> I was following the "Yesod in Five Minutes Instructions" and I had a couple
> of bumps in the road.
>
> The first one was when trying to do step 6, I get the following terminal
> output:
> unrecognized option `--only-dependencies'
>
> After ignoring that for the moment, I proceeded to trying to run the devel
> server and I get this terminal output:
> yesod: user error (At least the following dependencies are missing:
> persistent-postgresql ==0.5.*)
>
> I'm guessing the second error may be related to the first, maybe
> persistent-postgresql was one of those dependencies that was supposed to be
> installed?
>
> I did create the Postgres databases and user specified in the Yesod app
> config file.
>
> I'm using this PPA on Ubuntu 11.04 64-bit, as the repo version of the
> Haskell Platform seems to be broken:
> https://launchpad.net/~brcha/+archive/ppa
>
> Thanks for any insight.
>
Try just plain "cabal install", the "--only-dependencies" is available
in newer versions of the "cabal" tool. I'm going to remove it from the
docs.
Michael
More information about the web-devel
mailing list