[Haskell-cafe] Re: ANNOUNCE: Blueprint 0.1 -- PREVIEW
Gregory Crosswhite
gcross at phys.washington.edu
Fri Dec 4 14:26:13 EST 2009
Yes, that is because at this time Blueprint is presently of a lower quality than other packages on Hackage. ;-) At the moment you need to execute the setup script manually:
runhaskell Setup.hs bootstrap
./Setup configure
./Setup build +RTS -N4 -RTS
./Setup install
(The "+RTS -N4 -RTS" part is optional; it just tells Setup to use up to 4 threads to do building in parallel where possible.)
I have known about the problem that you just mentioned --- that is, although running "cabal configure" and "cabal build" in the build directory works just fine, "cabal install" does not work --- but because my .cabal file looked fine I assumed until now that it was just a quirk of the "cabal" program. I only just now figured out that to make "cabal install" work I need to make sure that the build dependencies are listed in the Library section rather than only in the main section, as otherwise cabal refuses to simply run "Setup install" even though that actually takes care of everything for it!
Anyway, thank you for checking out Blueprint! At this point it might be better to pull the sources directly from github (the "Home Page" link) since I have made many improvements since that release (though I haven't fixed the "cabal install" problem yet). And I do plan on thoroughly polishing and documenting Blueprint one of these days. :-)
Cheers,
Greg
On Dec 4, 2009, at 11:02 AM, Ben Franksen wrote:
> Gregory Crosswhite wrote:
>> I have posted Blueprint to Hackage so that people can see what I have done
>> and possibly play with it.
>
> Very interesting, this. However, I could not build it. I get
>
> ben at sarun[2]: ~/tmp > cabal install blueprint
> Resolving dependencies...
> cabal: There is no installed version of base
>
> Needless to say this is wrong:
>
> ben at sarun[2]: ~/tmp > ghc-pkg list base
> /usr/local/lib/ghc-6.10.4/./package.conf:
> base-3.0.3.1, base-4.1.0.0
> /home/ben/.ghc/i386-linux-6.10.4/package.conf:
>
> This has not happened to me with any other packages from hackage.
>
> Cheers
> Ben
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list