Brave infernal hell on Ubuntu 12.04

Attempting to drive through the entire hadron trail of Cabal at 12.04 an accurate assembly of Ubuntu, and I was making slow progress.

My first bash command cabal install --allow-newerdisplays the following message at the bottom of a long list of new packages:

cabal: The following packages are likely to be broken by the
reinstalls:
    regex-posix-0.95.1 
    regex-compat-0.95.1 
Use `--force-reinstalls` if you want to install anyway.

(NOTE: The force re-setting never started.)

How can I fix these packages and complete the cabal installation process? I have to stay at 12.04, and cabal is updated.

cabal install ad --reorder-goals ended up installing it.

However, I'm still not from the hellish admiral, as I now have to deal with:

cabal: , , : aeson -any, json-schema -any, monad-logger -any, mtl -any, persistent -any, persistent-postgresql == 2.1.6, persistent-template - , rest-core -any, rest-snap -any, snap-core -any, snap-server -any, text -any "

cabal build

UPDATE: : monad-logger, persistent, ( cabal.) persistant-postgresql == 2.1.6 "- -

, persistant-postgresql .

2: , sudo apt-get install libghc-zlib-dev .

, : Question

libghc-zlib-bindings-dev, , libghc-zlib-dev.

Zlib - , . , .

libghc-zlib-dev:

: , : LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8 .

perl: warning: ( "C" ).

.

, .

, .

, :

#include "zlib.h"

^

. setup-Simple-Cabal-1.22.2.0-x86_64-linux-ghc-7.10.1: > a : * ( ) : zlib.h * C: z

, Ctrl-C Ctrl -V, ?

+4
1

, , , .

( "", "", ), ( ) cabal install --dependencies-only. , , ...

+1

All Articles