id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
7281	GHC 7.4.2 build fails on Fedora17	PaulJohnson	judah.jacobson@gmail.com	"On Fedora 17 the build fails when attempting to run ""configure"". The relevant section says:
{{{
checking for ncurses.h... yes
checking for setupterm in -lncursesw... no
checking for setupterm in -lncurses... no
checking for setupterm in -lcurses... no
configure: error: in `/home/paj/packages/ghc-7.4.2/libraries/terminfo':
configure: error: curses library not found, so this package cannot be built
}}}
The relevant section from config.log says:
{{{
configure~:3285: gcc -o conftest -g -O2   conftest.c -lncursesw   >&5
/usr/bin/ld: /tmp/cc1CCCaI.o: undefined reference to symbol 'setupterm'
/usr/bin/ld: note: 'setupterm' is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker command line
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
}}}
I've set the architecture to x86_64 because thats what I run, but I expect it would happen on other Fedora 17s as well."	bug	closed	high	7.8.1	libraries (other)	7.4.2	fixed			Linux	x86_64 (amd64)	Building GHC failed	Unknown				
