Trouble building haskeline on OpenBSD, due to libiconv?

yary not.com at gmail.com
Thu Feb 19 22:06:32 EST 2009


Hello,

I'm having trouble building haskeline. I suspect its my setup and not
haskeline, thus I'm not submitting a bug report in trac.

Here's the output from the build process:
pinky ~/pugs $ cabal install pugs
Resolving dependencies...
Downloading haskeline-0.6.1.3...
[1 of 1] Compiling Main             (
/tmp/TMPhaskeline-0.6.1.3/haskeline-0.6.1.3/Setup.hs,
/tmp/TMPhaskeline-0.6.1.3/haskeline-0.6.1.3/dist/setup/Main.o )
Linking /tmp/TMPhaskeline-0.6.1.3/haskeline-0.6.1.3/dist/setup/setup ...
/usr/local/lib/ghc-6.10.1/libHSrts.a(RtsFlags.o)(.text+0xd69): In
function `setFullProgArgv':
: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/ghc-6.10.1/libHSrts.a(RtsFlags.o)(.text+0xacb): In
function `open_stats_file':
: warning: sprintf() is often misused, please use snprintf()
Configuring haskeline-0.6.1.3...
checking whether to use -liconv... setup: Unable to link against the
iconv library.
cabal: Error: some packages failed to install:
Pugs-6.2.13.14 depends on haskeline-0.6.1.3 which failed to install.
haskeline-0.6.1.3 failed during the configure step. The exception was:
exit: ExitFailure 1
pinky ~/pugs $ find /usr/local/lib -name '*iconv*'
/usr/local/lib/libiconv.so.4.0
/usr/local/lib/libiconv.a
/usr/local/lib/libiconv.la
====
As you can see this is in the process of building pugs- I don't know
much about Haskell or cabal. If someone can tell me where to look I
can dig deeper.

Thanks!

-y



More information about the Haskeline mailing list