[darcs-users] 2.8 beta 3 (builds on FreeBSD 8.1 with GHC 6.10.4, fails on Ubuntu 10.04, Lucid)
Mark Stosberg
mark at summersault.com
Thu Feb 16 13:01:52 UTC 2012
On 01/19/2012 02:35 AM, Ganesh Sittampalam wrote:
> Hi,
>
> I've uploaded darcs 2.8 beta 3 to hackage. You can install it with
> 'cabal install darcs-beta'.
>
> The only change since beta 2 is to fix a problem with the package
> generation. If you managed to install beta 2 despite that problem, then
> there's nothing new in beta 3.
>
> The draft changelog at http://wiki.darcs.net/changes%20since%202.5 is
> now mostly complete.
Thanks for your work on this Ganesh.
I was previously affected by the packaging problem, and have confirmed
that I can now build this beta on FreeBSD 8.1 with GHC 6.10.4.
However, it fails to build on Ubuntu 10.04 "Lucid Lynx" with GHC 6.12.1,
because it can't find some curses headers. Upgrading cabal-install with
"cabal install cabal-install" does not help.
Below is the output I'm getting. It refers to "config.log", but I can't
find this file below .cabal .
I assume there is some curses "-dev" package that needs to be installed,
but I'm not sure which one, and the manual suggests no further packages
will be required:
http://www.darcs.net/manual/Building_darcs.html
Mark
###
$ .cabal/bin/cabal install darcs-beta
Resolving dependencies...
Configuring terminfo-0.3.2.3...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
configure: error: curses headers could not be found, so this package
cannot be built
See `config.log' for more details.
cabal: Error: some packages failed to install:
darcs-beta-2.7.98.3 depends on terminfo-0.3.2.3 which failed to install.
haskeline-0.6.4.6 depends on terminfo-0.3.2.3 which failed to install.
terminfo-0.3.2.3 failed during the configure step. The exception was:
ExitFailure 1
More information about the darcs-users
mailing list