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:  Question about ghc and cabal: finding packages (C Gosch)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Aug 2010 14:16:23 +0200
From: C Gosch <[email protected]>
Subject: Re: [Haskell-beginners] Question about ghc and cabal: finding
        packages
To: Daniel Fischer <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Thanks guys for the helpful comments!
I will try the "cabal configure" way tonight.

Cheers!
Christian

2010/8/19 Daniel Fischer <[email protected]>

> On Thursday 19 August 2010 13:19:26, Jonas Almström Duregård wrote:
> > Try simply
> >
> > cabal configure
> >
> > in the directory where Setup.lhs (and your .cabal file) is located.
> >
> > /J
>
> Or, to configure, build and install in one go, just `cabal install' in that
> directory.
> If you want to go the runhaskell Setup.[l]hs road, however, you have to
> pass the --user flag to runhaskell Setup.[l]hs configure if you need
> packages from your user db.
> Or you have to reinstall the cabal-installed packages globally (surprise:
> pass the --global flag to cabal install), perhaps set `user-install: False'
> in ~/.cabal/config if you want to have global installs by default.
>
> >
> > On 19 August 2010 09:12, C Gosch <[email protected]> wrote:
> > > Hi everyone,
> > > I have installed ghc 6.12.3 and the Haskell platform; now, when I
> > > install packages from hackage using
> > >    cabal install <package-name>,
> > > they get installed in ~/.cabal,
> > > which is fair enough.
> > > However, when I call a
> > >    runhaskell Setup.lhs configure
> > > that used to work on a different computer with the same software
> > > setup, ghc (or is it cabal?) complains that it cannot find the
> > > packages I have just installed.
> > > Checking again revealed that they are indeed installed, just not in
> > > the ghc installation directory,
> > > but under ~/.cabal.
> > > How can I tell cabal and/or ghc where to look for libraries?
> > >
> > > Thanks, again, for any help!
> > > Christian
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.haskell.org/pipermail/beginners/attachments/20100819/b548ce86/attachment-0001.html

------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 26, Issue 39
*****************************************

Reply via email to