From 699a5cef99d20bc13b31fc926c0d5c988cb94866 Mon Sep 17 00:00:00 2001 From: Jon Kristensen Date: Mon, 10 Jun 2013 22:49:27 +0200 Subject: [PATCH] Specify and mention `cabal-install' dependency The `cabal-install' dependency needs to be at least 1.14 so that the build of `lifted-base' will not fail with an "unrecognized option: --disable-benchmarks" error. --- README.md | 5 +++++ pontarius-xmpp.cabal | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 63fbd06..216eab4 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,11 @@ _Note:_ You will need the ICU Unicode library and it's header files in order to be able to build Pontarius XMPP. On Debian, you will need to install the *libicu-dev* package. In Fedora, the package is called *libicu-devel*. +_Note to GHC 7.0 users:_ You will need *cabal-install*, version *0.14.0* or +higher, or the build will fail with an "unrecognized option: +--disable-benchmarks" error. The versions *1.16.0* and higher might not build on +your system; if so, install *0.14.0* with "cabal install cabal-install-0.14.0". + The first thing to do is to import the modules that we are going to use. We are also using the OverloadedStrings LANGUAGE pragma in order to be able to type Text values like strings. diff --git a/pontarius-xmpp.cabal b/pontarius-xmpp.cabal index cbeacda..c3637a4 100644 --- a/pontarius-xmpp.cabal +++ b/pontarius-xmpp.cabal @@ -1,6 +1,6 @@ Name: pontarius-xmpp Version: 0.2.0.1 -Cabal-Version: >= 1.6 +Cabal-Version: >= 1.4 Build-Type: Simple License: OtherLicense License-File: LICENSE.md