#7281: GHC 7.4.2 build fails on Fedora17
---------------------------------+------------------------------------------
 Reporter:  PaulJohnson          |          Owner:                
     Type:  bug                  |         Status:  new           
 Priority:  normal               |      Component:  Compiler      
  Version:  7.4.2                |       Keywords:                
       Os:  Linux                |   Architecture:  x86_64 (amd64)
  Failure:  Building GHC failed  |       Testcase:                
Blockedby:                       |       Blocking:                
  Related:                       |  
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7281>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to