[Haskell-beginners] Problem installing EclipseFp in Eclipse

Robert Weisser Robert.Weisser at gmx.com
Thu May 1 14:44:15 UTC 2014


Thanks, Vlatko. I'm not sure I understand everything you said, but I'll give it a try.

Robert
----- Original Message -----
From: Vlatko Basic
Sent: 05/01/14 03:59 AM
To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell
Subject: Re: [Haskell-beginners] Problem installing EclipseFp in Eclipse

Hi Robert,

Current version supports only cabal-dev for sandboxing. New version that is about to come out will support cabal for sandboxing as well.

The problem is that installed ghc depends on cabal version being shipped with.
And it looks like it'll stay like that for a while, and until it is solved, you'll depend on cabal being shipped with ghc.

The problematic packages are bins only, so you can
 - build them sandboxed and
 move the bins to .cabal/bin or
 - move/rename your .cabal and .ghc,
 cabal update,
 build cabal-dev and sourcegraph as usual,
 copy the bins to moved/renamed .cabal/bin,
 delete newly created .cabal and .ghc,
 move/rename back your .cabal and .ghc

You can go with 3. also, but for a bit larger project you'll run into cabal-hell, so better to use it.


It is quite comfortable to work in eclipseFP, so I think it is worth some initial troubles. :-)


Best regards,

vlatko

-------- Original Message --------
Subject: Re: [Haskell-beginners] Problem installing EclipseFp in Eclipse
From: Robert Weisser  Robert.Weisser at gmx.com 
To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell  beginners at haskell.org 
Date: 01.05.2014 05:17

Thanks. That's great info. 
----- Original Message -----
From: Norbert Melzer
Sent: 04/30/14 07:19 PM
To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell
Subject: Re: [Haskell-beginners] Problem installing EclipseFp in Eclipse

Omit cabal-dev it is not maintained anymore and most of its functionality is part of cabal already (cabal sandbox)

Am 01.05.2014 00:18 schrieb "Robert Weisser" < Robert.Weisser at gmx.com >: 
I decided to try out Eclipse with the EclipseFP plug-in for Haskell.
I downloaded Eclipse, and then started to install EclipseFP. At
some point, I got a screen which said that I needed to install
buildwrapper and scion-browser. It offered to install both
of them, and optionally install hoogle, hlint, stylish-haskell,
SourceGraph, and cabal-dev. The option to install the additional
items was pre-checked. I left it checked. The installation of
buildwrapper, etc. took a long time. It seemed to be going well
until I saw the messages below, which say that installing SourceGraph
will likely break several other packages, most of which were part
of the EclipseFP installation.

I am not a complete novice with Haskell but I am a complete novice
with Cabal. I'm not sure what to do. Here are some options I have
considered:

1. Use --force-reinstalls and hope for the best.

2. Try to resolve the problem with Cabal, although I don't know to
do this.

3. Use EclipseFP without SourceGraph and cabal-dev.

4. Use EclipseFP without SourceGraph, but install cabal-dev using
cabal on the command line.

5. Forget about Eclipse altogether, and go back to using vim.

Any advice would be appreciated.

By the way, I am using Haskell Platform 7.6.3.

Here are the messages I saw in the Eclipse console window:

<terminated> Installing executable SourceGraph

Resolving dependencies...
In order, the following would be installed:
asn1-types-0.2.3 (new package)
asn1-encoding-0.8.1.3 (new package)
asn1-parse-0.8.1 (new package)
bktrees-0.3.1 (new package)
byteable-0.1.1 (new package)
cereal-0.4.0.1 (new package)
colour-2.3.3 (new package)
cpphs-1.18.2 (new version)
crypto-pubkey-types-0.4.2.2 (new package)
cryptohash-0.11.4 (new package)
digest-0.0.1.2 (new package)
dlist-0.5 (new version)
aeson-0.7.0.3 (reinstall) changes: dlist-0.7.0.1 -> 0.5
data-default-instances-dlist-0.0.1 (reinstall) changes: dlist-0.7.0.1 -> 0.5
data-default-0.5.3 (reinstall)
cookie-0.4.1.1 (new package)
haskell-src-exts-1.13.5 (new version)
hslua-0.3.12 (new package)
mime-types-0.1.0.4 (new package)
multiset-0.2.2 (new package)
pandoc-types-1.12.3.2 (new package)
pem-0.2.2 (new package)
polyparse-1.8 (new version)
publicsuffixlist-0.1 (new package)
http-client-0.3.2 (new package)
regex-pcre-builtin-0.94.4.8.8.34 tel:0.94.4.8.8.34  (new package)
highlighting-kate-0.5.6.1 (new package)
resourcet-0.4.10.2 (new version)
securemem-0.1.3 (new package)
crypto-cipher-types-0.0.9 (new package)
cipher-aes-0.2.7 (new package)
cipher-rc4-0.1.4 (new package)
crypto-random-0.0.7 (new package)
cprng-aes-0.5.2 (new package)
crypto-numbers-0.2.3 (new package)
crypto-pubkey-0.2.4 (new package)
socks-0.5.4 (new package)
temporary-1.1.2.5 (new package)
text-stream-decode-0.1.0.5 (new package)
conduit-1.0.17.1 (new version)
http-client-conduit-0.2.0.1 (new package)
wl-pprint-text-1.1.0.2 (new package)
graphviz-2999.16.0.0 (new package)
x509-1.4.11 (new package)
x509-store-1.4.4 (new package)
x509-system-1.4.5 (new package)
x509-validation-1.5.0 (new package)
tls-1.2.6 (new package)
connection-0.2.1 (new package)
http-client-tls-0.2.1.1 (new package)
http-conduit-2.0.0.10 (new package)
xml-1.3.13 (new package)
texmath-0.6.6.1 (new package)
yaml-0.8.8.2 (reinstall) changes: conduit-1.1.1 -> 1.0.17.1, resourcet-1.1.2
-> 0.4.10.2
zip-archive-0.2.2.1 (new package)
pandoc-1.12.3.3 (new package)
Graphalyze-0.14.0.2 (new package)
SourceGraph-0.7.0.5 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
stylish-haskell-0.5.10.0
scion-browser-0.3.1
persistent-template-1.3.1.3
persistent-sqlite-1.3.0.5
persistent-1.3.0.6
buildwrapper-0.8.0
dynamic-cabal-0.3.1
Use --force-reinstalls if you want to install anyway.
_______________________________________________
Beginners mailing list
 Beginners at haskell.org 
http://www.haskell.org/mailman/listinfo/beginners 
_______________________________________________ Beginners mailing list  Beginners at haskell.org http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140501/df0b39d9/attachment-0001.html>


More information about the Beginners mailing list