Hi Duncan,

Just forwarding this to you in case it's of any interest.

Mark: perhaps there are things to file against Cabal's bug tracker?
http://hackage.haskell.org/trac/hackage/wiki

Thanks :-)

Eric

On Mon, Jul 27, 2009 at 16:19:37 -0400, Mark Stosberg wrote:
> > > The cabal-install program has an annoying feature that if a dependency
> > > fails to build, it sometimes still tries to build the original
> > > package.  So I'm willing to bet that a diagnostic message was output,
> > > but was buried in the middle of the darcs build output.
> > > 
> > > Running "cabal install haskeline" should provide a better error
> > > message.  To get  it working, you may need to provide extra arguments
> > > to point to iconv's headers/library files, e.g.
> > > 
> > > cabal install haskeline --extra-include-dirs=/usr/include
> > > --extra-lib-dirs=/usr/lib
> > 
> > A variation of that worked:
> > 
> > cabal install haskeline --extra-include-dirs=/usr/include 
> > --extra-lib-dirs=/usr/local/lib
> > 
> > Perhaps the inclusion of "/usr/local/lib" can be automated on FreeBSD in 
> > the future?
> > 
> > Now that I'm past that I'm getting a notice about "curl" being missing,
> > which should be straightforward to address. I'll post further notes to
> > darcs-users once this compile/install is done.
> 
> The compile completed by using this:
> 
>  cabal install darcs --extra-lib-dirs=/usr/local/lib
> 
> It would be nice if "/usr/local/lib" could be automatically used 
> for the darcs build on FreeBSD, since it's a standard library path
> there.

Note: I (Eric) have already responded about the below, saying that this
was due to recompiling between library/executable (which will go away
with next Cabal, yay!) and that Mark could try cabal test.

> A little more feedback on the "cabal" system:
> 
> - The compile should a status of "1 of 136", which I took was like a
>   progress bar, but then when it got to 136, it started the counting
>   over again. It actually completed after two round of counting.
> 
> - I would like to know if there's a way to run the test suite via cabal,
>   as that gives me extra confidence that darcs is working as expected on 
>   my platform.



-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to