John Adams - 2010-06-14

Hi,
I can't build Lush (either 1.2.1 or 2 beta 2) on the latest cygwin, both
under Windows XP 32bit and WIndows 7 64 bit. When I run ./configure, it
complains:

checking bfd.h usability… yes
checking bfd.h presence… yes
checking for bfd.h… yes
checking for bfd_init in -lbfd… yes
checking for dcgettext in -lintl… yes
checking whether bfd works with -Bstatic… no
checking whether bfd works with -Bstatic and -lintl… no
checking whether bfd works alone… no
checking whether bfd works with -lintl… no
configure: error: Unable to locate BFD development files.

I tried re-installing the binutils and installed almost every cygwin package,
but it doesn't work. When I manually change the configuration script to force
okay_bfd=yes, then compiling Lush gives various errors:

fileio.c:364: error: `S_IFDIR' undeclared (first use in this function)

Thanks,
John