[Haskell-cafe] (re)newcomer
Matthew Fairtlough
research at fairtlough.net
Sat Dec 18 09:40:40 CET 2010
Hello Haskell-cafers,
I used to teach Haskell (and Clean!) at University level but haven't
touched Haskell in years and certainly never used it with a Mac. Now I
work in publishing and want to experiment with Haskell's web services
and see if I can help set up an open-source system for handling ONIX xml
data.
So I tried to install happstack-server (among several other things) and
this depends on unix but cabal can't install unix. Error and
diagnostics below as best as I could see to report them. Any
tips/pointers much appreciated; I'm not sure if this is a bug or where
to report it if it is one...
thanks for any help. Matthew.
bash-3.2# cabal install unix
Resolving dependencies...
cabal: cannot configure unix-2.4.1.0. It requires base >=4.2 && <4.4
For the dependency on base >=4.2 && <4.4 there are these packages:
base-4.2.0.0, base-4.2.0.1, base-4.2.0.2 and base-4.3.0.0. However none of
them are available.
base-4.2.0.0 was excluded because of the top level dependency base -any
base-4.2.0.1 was excluded because of the top level dependency base -any
base-4.2.0.2 was excluded because of the top level dependency base -any
base-4.3.0.0 was excluded because of the top level dependency base -any
bash-3.2# uname -a
Darwin Matthew-Fairtloughs-MacBook-Pro.local 10.5.0 Darwin Kernel
Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010;
root:xnu-1504.9.17~1/RELEASE_I386 i386
bash-3.2# port version
Version: 1.9.2
bash-3.2# port info haskell-platform
haskell-platform @2009.2.0.2 (devel, haskell)
Description: This is the the Haskell Platform: a single, standard
Haskell distribution for every system. The Haskell
Platform is a blessed library and tool suite for
Haskell
distilled from Hackage.
Homepage: http://hackage.haskell.org/platform/
Runtime Dependencies: ghc, hs-platform-cgi, hs-platform-fgl,
hs-platform-editline, hs-platform-GLUT,
hs-platform-haskell-src, hs-platform-html,
hs-platform-HUnit, hs-platform-mtl,
hs-platform-network,
hs-platform-OpenGL, hs-platform-parallel,
hs-platform-parsec, hs-platform-QuickCheck,
hs-platform-regex-base, hs-platform-regex-compat,
hs-platform-regex-posix, hs-platform-stm,
hs-platform-time, hs-platform-xhtml,
hs-platform-zlib,
hs-platform-HTTP, hs-platform-alex,
hs-platform-happy,
hs-platform-cabal
Platforms: darwin
License: unknown
Maintainers: gwright at macports.org
bash-3.2# cabal -V
cabal-install version 0.6.2
using version 1.6.0.3 of the Cabal library
bash-3.2# cabal info base
* base (library)
Synopsis: Basic libraries
Latest version available: 4.3.0.0
Latest version installed: 4.1.0.0
Homepage: [ Not specified ]
Bug reports:
http://hackage.haskell.org/trac/ghc/newticket?component=libraries/base
Description: This package contains the Prelude and its support
libraries,
and a large collection of useful libraries ranging
from data
structures to parsing combinators and debugging
utilities.
License: BSD3
Maintainer: libraries at haskell.org
Source repo: http://darcs.haskell.org/packages/base/
Flags: integer-simple
Dependencies: rts -any, ghc-prim -any, integer-simple -any,
integer-gmp -any
Documentation: /opt/local/share/ghc-6.10.4/doc/ghc/libraries/base
Cached: No
Modules:
<long list elided>
More information about the Haskell-Cafe
mailing list