Re: Understanding ghc-pkg dependencies when not using cabal

2012-06-02 Thread Tim Cuthbertson
On Sat, Jun 2, 2012 at 5:38 AM, Joachim Breitner m...@joachim-breitner.de wrote: Hi, as I’m involved with the Debian packaging I can probably answer a few of your questions. Am Samstag, den 02.06.2012, 00:01 +1000 schrieb Tim Cuthbertson: For an example, lets use ansi-terminal [1

Understanding ghc-pkg dependencies when not using cabal

2012-06-01 Thread Tim Cuthbertson
Hi all, I'm very interested in distributing ghc packages via zero-install [0]. I'm excited about ghc 7.4's ${pkgroot} support, since it means that many packages could now be made relocatable (as long as they don't need to know about paths to resources, etc). But I'm having some trouble

can't compile ghc-7.4.1: No rule to make target `libraries/process/ghc.mk'

2012-05-30 Thread Tim Cuthbertson
I've rm -rf'd my ~/.cabal to ensure old stuff doesn't get in the way, installed all the dependencies (on fedora 17, bootstrapping with ghc-7.0.4), unpacked the ghc-7.4.1 tarball, and run: ./configure --prefix=`pwd`/installed make make install and here's the log:

Re: can't compile ghc-7.4.1: No rule to make target `libraries/process/ghc.mk'

2012-05-30 Thread Tim Cuthbertson
On Thu, May 31, 2012 at 2:41 AM, Ian Lynagh ig...@earth.li wrote: On Wed, May 30, 2012 at 08:44:26PM +1000, Tim Cuthbertson wrote: Configuring hsc2hs-0.67... make[1]: *** No rule to make target `libraries/process/ghc.mk'.  Stop. make: *** [all] Error 2 Any hints? That file should

Re: ghc trac not sending verification emails?

2012-05-29 Thread Tim Cuthbertson
On Tue, May 29, 2012 at 10:38 AM, Ian Lynagh ig...@earth.li wrote: On Tue, May 29, 2012 at 10:09:47AM +1000, Tim Cuthbertson wrote: I signed up for an account on http://hackage.haskell.org/trac/ghc/ to report a couple of bugs, but can't file them until my email address is verified. I've

relocatable packages: GHC_PACKAGE_PATH and package.conf

2012-05-28 Thread Tim Cuthbertson
Hi all, I'm trying to build a relocatable package using cabal, and running into some difficulties. I've created / used the following script to attempt to create a relocatable package: https://github.com/gfxmonk/0compile-cabal-build/blob/2cf4a08b146333d9292f6f8fd38431dd5c5c80f1/cabal-build When

ghc trac not sending verification emails?

2012-05-28 Thread Tim Cuthbertson
I signed up for an account on http://hackage.haskell.org/trac/ghc/ to report a couple of bugs, but can't file them until my email address is verified. I've tried two different email addresses, waited more than 24 hours, and checked my spam folder but sill don't see anything. Is email sending

Re: relocatable packages: GHC_PACKAGE_PATH and package.conf

2012-05-28 Thread Tim Cuthbertson
On Tue, May 29, 2012 at 12:24 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: On 28 May 2012 05:36, Tim Cuthbertson t...@gfxmonk.net wrote:  - ghc doesn't seem to support ${pkgroot} prefixes. I thought it did, but I'm new to this so I may be misunderstanding where they can be used. I