[Haskell-cafe] Cabal errors...

2013-08-15 Thread Gregory Guthrie
I am trying to run ecliseFP to use with Haskell, but it gives an error:

SO I tried to rebuild the buildwrapper rogram to get the update, but it fails 
as below. Any hints or help on what to do next?

I think that from some past problems, that theshadowed problem is from global 
and usr-local library clashes, but I have never done anything fancy, I always 
just use cabal install xxx for any packages, so had hoped/assumed that it 
would keep everything straight.

TIA.

Eclipse startup error:

Trying to upgrade from exlipse 4.2 to 4.3, the eclipseFP plugin gives me these 
errors:
On startup,

The version of helper executable buildwrapper at:
...\users\me\AppData\Roaming\cabal\bin\buildwrapper.exe is 0.71
but at least version version 0.7.2 is required.

Choose Install to download and install from hackage,
or Cancel to set it up manually in the Haskell preferences page.


--


Then, it tries to do the update, and fails:
Resolving dependencies...
In order, the following would be installed:
List-0.5.1 (new package)
base64-bytestring-1.0.0.1 (new package)
bktrees-0.3.1 (new package)
blaze-builder-0.3.1.1 (new package)
blaze-markup-0.5.1.5 (new package)
blaze-html-0.5.1.3 (new package)
colour-2.3.3 (new package)
cpphs-1.16 (new package)
data-default-class-0.0.1 (new package)
data-default-instances-base-0.0.1 (new package)
data-default-instances-containers-0.0.1 (new package)
data-default-instances-old-locale-0.0.1 (new package)
digest-0.0.1.2 (new package)
dlist-0.5 (new package)
data-default-instances-dlist-0.0.1 (new package)
data-default-0.5.3 (new package)
extensible-exceptions-0.1.1.4 (reinstall) changes: base-4.5.1.0 - 4.6.0.1
haskell-src-exts-1.13.5 (new package)
multiset-0.2.2 (new package)
polyparse-1.8 (new package)
regex-pcre-builtin-0.94.4.7.8.31 (new package)
highlighting-kate-0.5.5 (new package)
syb-0.3.7 (reinstall) changes: base-4.5.1.0 - 4.6.0.1
hs-bibutils-5.0 (new package)
json-0.7 (new package)
pandoc-types-1.10 (new package)
tagsoup-0.12.8 (new package)
temporary-1.1.2.4 (new package)
utf8-string-0.3.7 -bytestring-in-base (new package)
hexpat-0.20.3 (new package)
citeproc-hs-0.3.8 (new package)
wl-pprint-text-1.1.0.0 (new package)
graphviz-2999.16.0.0 (new package)
xml-1.3.13 (new package)
texmath-0.6.3 (new package)
zip-archive-0.1.3.4 (new package)
pandoc-1.10.1 (new package)
Graphalyze-0.14.0.1 (new package)
SourceGraph-0.7.0.5 (new package)
cabal.exe: The following packages are likely to be broken by the reinstalls:
cgi-3001.1.7.4
haskell-platform-2012.4.0.0
haskell-src-1.0.1.5
Use --force-reinstalls if you want to install anyway.


C:\Users\guthriecabal install buildwrapper
Resolving dependencies...
Configuring aeson-0.6.1.0...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package deepseq-1.3.0.0 requires array-0.4.0.0
package text-0.11.3.1 requires array-0.4.0.1
package deepseq-1.3.0.1 requires array-0.4.0.1
package containers-0.5.0.0 requires array-0.4.0.1
package attoparsec-0.10.4.0 requires array-0.4.0.1
package vector-0.10.0.1 requires base-4.5.1.0
package transformers-0.3.0.0 requires base-4.5.1.0
package primitive-0.5.0.1 requires base-4.5.1.0
package mtl-2.1.2 requires base-4.5.1.0
package deepseq-1.3.0.0 requires base-4.5.1.0
package array-0.4.0.0 requires base-4.5.1.0
package unordered-containers-0.2.3.0 requires base-4.6.0.1
package time-1.4.0.1 requires base-4.6.0.1
package text-0.11.3.1 requires base-4.6.0.1
package template-haskell-2.8.0.0 requires base-4.6.0.1
package syb-0.4.0 requires base-4.6.0.1
package pretty-1.1.1.0 requires base-4.6.0.1
package old-locale-1.0.0.5 requires base-4.6.0.1
package hashable-1.1.2.5 requires base-4.6.0.1
package dlist-0.5 requires base-4.6.0.1
package deepseq-1.3.0.1 requires base-4.6.0.1
package containers-0.5.0.0 requires base-4.6.0.1
package bytestring-0.10.0.2 requires base-4.6.0.1
package blaze-builder-0.3.1.1 requires base-4.6.0.1
package attoparsec-0.10.4.0 requires base-4.6.0.1
package array-0.4.0.1 requires base-4.6.0.1
package aeson-0.6.1.0 requires base-4.6.0.1
package Win32-2.3.0.0 requires base-4.6.0.1
package vector-0.10.0.1 requires deepseq-1.3.0.0
package unordered-containers-0.2.3.0 requires deepseq-1.3.0.1
package time-1.4.0.1 requires deepseq-1.3.0.1
package text-0.11.3.1 requires deepseq-1.3.0.1
package containers-0.5.0.0 requires deepseq-1.3.0.1
package bytestring-0.10.0.2 requires deepseq-1.3.0.1
package attoparsec-0.10.4.0 requires deepseq-1.3.0.1
package aeson-0.6.1.0 requires deepseq-1.3.0.1
package vector-0.10.0.1 requires ghc-prim-0.2.0.0
package primitive-0.5.0.1 requires ghc-prim-0.2.0.0
package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0
package base-4.5.1.0 requires ghc-prim-0.2.0.0
package text-0.11.3.1 requires ghc-prim-0.3.0.0
package integer-gmp-0.5.0.0 requires ghc-prim-0.3.0.0

[Haskell-cafe] cabal errors

2012-11-19 Thread Gregory Guthrie
I did a package check, and I always get a ton of these things:
Warning: haddock-html: E:\Plang\Haskell 
Platform\lib\extralibs\doc\haskell-src-1.0.1.4\html doesn't exist or isn't a 
directory

Which I think is just missing documentation, so I ignore them.

But this time I also got this:
  The following packages are broken, either because they have a problem listed 
above, or because they depend on a broken package.
  HTTP-4000.2.3
  haskell-platform-2012.2.0.0

ghc-pkg list shows:
Cabal-1.10.1.0
Cabal-1.10.2.0
Cabal-1.14.0
Cabal-1.14.0
GLUT-2.1.2.1
GLUT-2.1.2.1
GLUT-2.1.2.1
{HTTP-4000.2.3}
HTTP-4000.2.5
...
  {haskell-platform-2012.2.0.0}
haskell-platform-2012.4.0.0
haskell-src-1.0.1.4
haskell-src-1.0.1.4
haskell-src-1.0.1.5
haskell-src-1.0.1.5
(haskell2010-1.0.0.0)
(haskell2010-1.1.0.1)
(haskell2010-1.1.0.1)
haskell98-1.1.0.1
(haskell98-2.0.0.1)
(haskell98-2.0.0.1)

Not sure what it all means, but looks somewhat goofy to me.

I always just do cabal installs, and an occasional -force-reinstalls when 
told that it is the only option, but recently when they might fail tried a 
cabal-dev install a few times, I assume that is what the {} entries are, 
but am not sure if they can all peacefully coexist.

Do I need to do a reset and start over? I hope not, as it took me many hours of 
fiddling to install some packages like glut, wxcore, and a few others.

Argh.

---


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal errors

2008-02-29 Thread Duncan Coutts

On Thu, 2008-02-28 at 07:10 -0500, Kristofer Buffington wrote:
 Hi
 
 I installed ghc 6.8 from source and I've been installing packages from
 hackage. I'm not sure when the problem started, but I've been getting
 this error trying to install any cabal package.. accept apparently,
 Cabal itself.

(Which is because Cabal does not use the installed Cabal lib to build
itself, it bootstraps from its own source code.)

 Setup.hs:2:0:
 Warning: Deprecated use of `defaultUserHooks'
  (imported from Distribution.Simple):
  Use simpleUserHooks or autoconfUserHooks
 Setup: /usr/local/lib/Cabal-1.3.6/ghc-6.8.2.20080225/HSCabal-1.3.6.o:
 unknown symbol `directoryzm1zi0zi0zi0_SystemziDirectory_a9_closure'
 Setup: exception :: GhcException
 
 Any ideas?

My first suggestion would be to clean and rebuild your development
version of Cabal. Once it's re-registered, see if ghci -package Cabal
works.

Duncan

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal errors

2008-02-29 Thread Ross Paterson
On Thu, Feb 28, 2008 at 07:10:03AM -0500, Kristofer Buffington wrote:
 I installed ghc 6.8 from source and I've been installing packages from
 hackage.  I'm not sure when the problem started, but I've been getting
 this error trying to install any cabal package.. accept apparently,
 Cabal itself.
 
 Setup.hs:2:0:
 Warning: Deprecated use of `defaultUserHooks'
  (imported from Distribution.Simple):
  Use simpleUserHooks or autoconfUserHooks
 Setup: /usr/local/lib/Cabal-1.3.6/ghc-6.8.2.20080225/HSCabal-1.3.6.o: unknown
 symbol `directoryzm1zi0zi0zi0_SystemziDirectory_a9_closure'
 Setup: exception :: GhcException

I've seen this too.  Have you somehow rebuilt directory-1.0.0.0 using
Cabal?  If so, the Cabal-built library exports different internal symbols
from the version built with ghc-6.8.2, even though it's the same source
compiled with the same version of GHC.  Any library built against the
earlier version will no longer work.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] cabal errors

2008-02-28 Thread Kristofer Buffington
Hi

I installed ghc 6.8 from source and I've been installing packages from
hackage. I'm not sure when the problem started, but I've been getting this
error trying to install any cabal package.. accept apparently, Cabal itself.

Setup.hs:2:0:
Warning: Deprecated use of `defaultUserHooks'
 (imported from Distribution.Simple):
 Use simpleUserHooks or autoconfUserHooks
Setup: /usr/local/lib/Cabal-1.3.6/ghc-6.8.2.20080225/HSCabal-1.3.6.o:
unknown symbol `directoryzm1zi0zi0zi0_SystemziDirectory_a9_closure'
Setup: exception :: GhcException

Any ideas?
-- 

-kb
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe