Can I compile mutt under cygwin? [closed]
I've been trying to compile mutt under cygwin for a few days. The included version is outdated and does not include things I need like header caching. Anyways, I always get the message:
"configure: error: no curses library found"
I have all the curses + devel stuff installed + termpcap, which I heard might be related. I've tried re-installing, i've tried specifying the location on the configure command line, but i'm not sure i'm doing it right:
"--with-curses=/usr/lib/libncurses.a --with-curses=/usr/lib/libncurses.dll.a --with-curses=/usr/include/ncurses"
Here's my config.log:
http://floatsolutions.net/docs/config.log
Any ideas?
EDIT: Context
It looks like your environment is messed up.
configure:11329: gcc -o conftest.exe -g -O2 conftest.c -ltermcap >&5
C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ld.exe: cannot find -ltermcap
Your building form cygwin, but it's roping in mingwin build tools from your "Haskell Platform" program?
try prefixing your command w/ the env utility, try this in cygwin:
env -i PATH=/usr/bin:/usr/local/bin:/usr/sbin:/usr/locals/bin ./configure
1.4.2.2 is part of cygwin, if you select it in the mail package section.