[Hackage] #450: Bug in GLUT's build: configure

Hackage trac at galois.com
Sun Jan 11 06:40:55 EST 2009

#450: Bug in GLUT's build: configure
  Reporter:  Peaker         |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  miscellaneous  |      Version:
  Severity:  major          |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:                 |  
 This is a glut package bug, but I could not find any web page with which
 to report glut bugs, so I am hoping this here will get to the right

 GLUT's build has a configure script. When that script says: "libGLUT...
 yes/no" its not actually looking just for libGLUT, but for various other
 libs such as libXmu.  Additionally, when it fails to find these other
 libraries, and gets a "no", it still finishes the configure and build
 "successfully", but without the proper -l flags in the package
 description. This results in linkage failures of GLUT programs later.

 In my opinion the fix should include:

 A. Look for libXmu and any other such library in a separate configure
 item, so its clear what's missing.

 B. Failure to find necessary libraries should fail the
 configure/build/install, and not continue as if successful, only to fail

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/450>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list