cabal - Failing to install Haskell uniplate library -


i trying install elm , instructions install haskell , then

sh> cabal update sh> cabal install cabal-install sh> cabal install -j elm elm-repl elm-reactor elm-get 

when do, cabal-install installation installs text-1.2.0.0 conflicts text-1.1.0.0 uniplate requires uniplate , dependents fail install. text-1.1.0.0 installed , present rejected in favour of text-1.2.0.0, though target needs text-1.1.0.0.

is there way insist cabal use text-1.1.0.0? there way text-1.1.0.0 , text-1.2.0.0 co-exist? there way convince uniplate can accept text-1.2.0.0? or way make uniplate (or cabal) believe version text-1.1.0.0 installed? work?

when explicitly try install version 1.1.0.0 of text, told reinstall break other packages. apparently downgrade , not co-installation. cabal not seem have option allow me install 2 versions of same library @ same time.

if uninstall haskell , libraries , re-install elm (without installing cabal-install don't text-1.2.0.0 installed there no clash), 100 or lines of

package aeson-0.7.0.4-8f84b14cc682e4c9b009352420076a45 unusable due missing or recursive dependencies:   attoparsec-0.10.4.0-ec2d0a330db1f6e3a6a3b79471a403ef hashable-1.2.2.0-45bd22df8c4ead6b3a7fb1d08bb07f7d mtl-2.1.3.1-8bcc0591131896cfc8761a93703d4c61 scientific-0.2.0.2-5e275f5d96527da6dc1f05642692a484 syb-0.4.1-be94ebe67c3607f5df1dfcc1906f5d5c text-1.1.0.0-9bd69e9ace700e05fb08e463086bc383 unordered-containers-0.2.4.0-69836b34d13649bcfacc8fb0c9f53e64 vector-0.10.9.1-c550551354bc7c2b5a1d261f39b2f3f4 package aeson-pretty-0.7.1-5dc26d5a4560afe110e90283479a1251 unusable due missing or recursive dependencies: aeson-0.7.0.4-8f84b14cc682e4c9b009352420076a45        text-1.1.0.0-9bd69e9ace700e05fb08e463086bc383  unordered-containers-0.2.4.0-69836b34d13649bcfacc8fb0c9f53e64  vector-0.10.9.1-c550551354bc7c2b5a1d261f39b2f3f4 package asn1-encoding-0.9.0-94e9066cccf7ead73bee5ae4aa982071 unusable due missing or recursive dependencies: mtl-2.1.3.1-8bcc0591131896cfc8761a93703d4c61 package asn1-parse-0.9.0-af4efc4777a8a0d9d19a626d5e4b08ff unusable due missing or recursive dependencies: asn1-encoding-0.9.0-94e9066cccf7ead73bee5ae4aa982071 mtl-2.1.3.1-8bcc0591131896cfc8761a93703d4c61  text-1.1.0.0-9bd69e9ace700e05fb08e463086bc383 

i have no idea @ how in resolve or try. has trod path before , have advice or pointers?

thank you.

edit installing in sandbox changes outcome degrees: text-1.1.0.0 not clash text-1.1.0.0 still can not loaded (despite being installed) , still remains unsatisfied dependency.

blaze-builder first fail cannot satisfy -package-id text-1.1.0.0-9bd69e9ace700e05fb08e463086bc383 yet same log earlier stated [_12] trying: text-1.1.0.0/installed-9bd... (dependency of elm-0.13) without apparent error or complaint.

cabal list shows both text-1.1.0.0 , text-1.2.0.0 installed.

installing blaze-builder separately looks same. dependency resolution shows

[_56] trying: blaze-builder-0.3.3.4 (user goal) [_57] next goal: text (dependency of blaze-builder-0.3.3.4) [_57] trying: text-1.1.0.0/installed-9bd... [_58] done 

all looks later, same log has

<command line>: cannot satisfy -package-id text-1.1.0.0-9bd69e9ace700e05fb08e463086bc383     (use -v more information) 

the ghc command line had -v flag , trying re-run command line copied log, more -vs, gives error "can't find package database @ dist/dist-sandbox-ad0bcd57/package.conf.inplace".

no package.conf.inplace seems exist.

further edit

on elm install page link buildfromsource.hs script supposed work installing elm. in time took script run , fail work, managed install leiningen, node, npm, grunt , clojure. further along road getting clojurescript installed in 20 minutes in getting elm installed in week.

elm looked really interesting playing way hard get.

thanks again tried help.

* edit *

i got it.

every executable installed installer @ http://elm-lang.org/install.elm caused segfault.

the "build source" option @ same page did not work because dependencies either stepped on each other or not straight in first place.

the ghc @ http://new-www.haskell.org/downloads/osx needs later version of mac os have. (a link older versions not have gone astray.)

the solution (and obvious in retrospect) port install haskell-platform , port install hs-cabal-install , cabal install elm .... did have run 1 of installers twice because not find hackage.haskell.org (how 'user' error?) hello-world.elm compiles.

thank again.

it looks dependency issues elements have installed. need install in sandbox.

first, update latest version of cabal:

$ cabal update $ cabal install cabal cabal-install 

next, make sure have installed version of cabal on $path.

$ cabal > /path/to/cabal/bin/cabal 

if says /usr/bin/cabal need export cabal on $path. me `/home/username/.cabal/bin

$ export path=/path/to/cabal/bin/cabal;$path 

run which cabal again , ensure pointing path.

now have latest version of cabal. run following:

$ mkdir elm $ cd elm $ cabal sandbox init 

this initialize sandbox dependencies independent of other installs. within directory, should able install elm platform running:

$ cabal install elm elm-repl elm-reactor elm-get 

these installed in sub-directory called .cabal-sanbox/bin/ convenience, want add $path can run executables directory.

hope helps!


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -