Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Throughly confused by this error message (David Place)
2. Cannot install cairo with cabal... (Sean Charles)
----------------------------------------------------------------------
Message: 1
Date: Wed, 6 Jul 2011 19:54:37 -0400
From: David Place <[email protected]>
Subject: Re: [Haskell-beginners] Throughly confused by this error
message
To: Michael Litchard <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
That's ok. Fire away. I often think that you need to ask a question before
your own brain will admit that it already knows the answer.
____________________
David Place
Owner, Panpipes Ho! LLC
http://panpipesho.com
[email protected]
On Jul 6, 2011, at 7:03 PM, Michael Litchard wrote:
> You know, it's happened more than once. I'll send my problem to this
> list, and a few minutes later I see someone really obviously wrong.
> The problem is partially fixed in the sense that the changes I made
> are producing errors that make sense to me.
------------------------------
Message: 2
Date: Thu, 07 Jul 2011 09:19:26 +0100
From: Sean Charles <[email protected]>
Subject: [Haskell-beginners] Cannot install cairo with cabal...
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
flushed as in happy, not like a buffer, with my recent OpenGL and
haskell hacking I attempted to install cairo to try rendering a cairo
generated image into a GL texture but once again, the sometimes
obstreperous cabal is making it hard.
<rant>
I sometimes think that cabal is the "weak" point for newbies like me
accepting Haskell in all its goodness... if you can't cleanly and simply
install libraries then ultimately you will walk away for something less
obstructive...
</rant>
Can anybody tell me that this means and how to solve it ?
Thanks,
Sean.
-----
scharles@ubuntu:~/stuff/hackinge/objitsu/trunk/haskell/felt/src$ cabal
--version
cabal-install version 0.10.2
using version 1.10.2.0 of the Cabal library
scharles@ubuntu:~/stuff/hackinge/objitsu/trunk/haskell/felt/src$ ghc
--version
The Glorious Glasgow Haskell Compilation System, version 6.12.3
scharles@ubuntu:~/stuff/hackinge/objitsu/trunk/haskell/felt/src$ ghci
--version
The Glorious Glasgow Haskell Compilation System, version 6.12.3
-----
/tmp/cairo-0.12.013023/cairo-0.12.0/Gtk2HsSetup.hs:25:2:
warning: #warning Setup.hs is guessing the version of Cabal. If
compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal
version 1.x.0 when building (prefixed by --ghc-option= when using the
'cabal' command)
[1 of 2] Compiling Gtk2HsSetup (
/tmp/cairo-0.12.013023/cairo-0.12.0/Gtk2HsSetup.hs,
/tmp/cairo-0.12.013023/cairo-0.12.0/dist/setup/Gtk2HsSetup.o )
/tmp/cairo-0.12.013023/cairo-0.12.0/Gtk2HsSetup.hs:201:69:
Couldn't match expected type `PackageDBStack'
against inferred type `PackageDB'
In the sixth argument of `registerPackage', namely `packageDb'
In the expression:
registerPackage
verbosity installedPkgInfo pkg lbi inplace packageDb
In a case alternative:
_ | modeGenerateRegFile -> die "Generate Reg File not supported"
| modeGenerateRegScript -> die "Generate Reg Script not
supported"
| otherwise
-> registerPackage
verbosity installedPkgInfo pkg lbi inplace packageDb
cabal: Error: some packages failed to install:
cairo-0.12.0 failed during the configure step. The exception was:
ExitFailure 1
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 37, Issue 11
*****************************************