[darcs-users] darcs 2.3.0: compile fails with GHC 6.8.3 on FreeBSD 6.3

Judah Jacobson judah.jacobson at gmail.com
Mon Jul 27 18:29:28 UTC 2009


On Mon, Jul 27, 2009 at 10:23 AM, Mark Stosberg<mark at summersault.com> wrote:
> On Mon, 27 Jul 2009 16:57:21 +0100
> Eric Kow <kowey at darcs.net> wrote:
>
>> Hi Mark,
>>
>> On Thu, Jul 23, 2009 at 17:43:29 +0100, Eric Kow wrote:
>> > > haskeline-0.6.1.6 failed during the configure step. The exception was:
>> > > exit: ExitFailure 1
>>
>> Do you get any more details when you 'cabal install haskeline'?
>> If not, how about 'cabal install -v haskeline?'
>
> Thanks for the support, Eric.
>
> It appears to be dying because the external "iconv" library cannot be
> found. According to the FreeBSD package database, I have "libiconv-1.11"
> installed. Do I need a newer version?
>
> If so, it would be nice to get a diagnostic message more directly to
> that effect when the process fails.

Hi Mark,

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

If that doesn't work, file a bug on http://trac.haskell.org/haskeline
or send a message to the haskeline email list (linked from the trac
page).

Best,
-Judah


More information about the darcs-users mailing list