NetBSD appears to be an unusual platform in a number of regards. For
purposes of building darcs, the functions that External.hs imports from
term.h are instead found in /usr/include/termcap.h on my system. term.h
doesn't exist. 

I am not a configure expert, so I can't submit a patch, but I did get it
to build, and I hope my experience might help future builders of darcs on
NetBSD.

All I did was edit autoconf.mk, setting HAVE_CURSES to True and replacing
term.h with termcap.h in External.hs. THis enabled me to build darcs with
color support. Sorry that I can't be of more help, but hopefully this
message will find its way into Google to prevent future problems. 

If anyone does have a fix to configure and/or External.lhs, I'm happy to
try to build with it. 

Thanks,
Michael

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to