#2067: ALUT fails to build on Mac OS X
--------------------------+-------------------------------------------------
 Reporter:  guest         |          Owner:         
     Type:  bug           |         Status:  closed 
 Priority:  normal        |      Milestone:         
Component:  Build System  |        Version:  6.8.2  
 Severity:  normal        |     Resolution:  invalid
 Keywords:  ALUT, build   |     Difficulty:  Unknown
 Testcase:                |   Architecture:  x86    
       Os:  MacOS X       |  
--------------------------+-------------------------------------------------
Comment (by guest):

 The situation seems to be somewhat messier than that. If I understand the
 situation correctly, Apple only removed the ALUT header files, but the
 old, deprecated ALUT 1.0 code is still linked into the OpenAL framework
 together with the new OpenAL 1.1 code. Now, the function names in ALUT 1.0
 (linked into the framework) collide with the new ALUT 1.1 names, so one
 cannot simply link with an ALUT 1.1 library (provided by Creative under
 the name `freealut`, see http://openal.org/downloads.html) and the OpenAL
 framework included in Mac OS X. You can change the colliding names in the
 `freealut` source, which is un ugly hack; nevertheless I did that, and
 managed to build this `freealut` library; however I couldn't make it work
 with GHC, as the the Cabal build system of the Haskell ALUT wanted a
 (nonexisting) ALUT.framework (I had a `libalut.a` or something like that
 instead, as the result of the above hacking).

 All in all, I think the current situation is not acceptable, at least with
 ALUT being on the list of bundled libraries (of course, the main source of
 the problem is Apple, but still). And while OpenAL 1.1 in theory should
 work without ALUT, I couldn't make it work.

 By the way, the Windows binary distribution of GHC 6.8.2 seems to
 completely miss both OpenAL and ALUT.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2067#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to