OpenAL builds despite --disable-openal (was: Error building GHC: can't locate import `Package')

Peter Simons simons at cryp.to
Mon Dec 20 06:59:41 EST 2004


I wrote:

 > I deleted it and said "make" again, and now it seems to work
 > (it's still building).

As it turned out, the build does not succeed. It fails while
trying to build OpenAL:

 | Sound/OpenAL/AL/BasicTypes.hs:63:15:
 |     Not in scope: type constructor or class `HTYPE_ALFLOAT'
 |
 | Sound/OpenAL/AL/BasicTypes.hs:66:16:
 |     Not in scope: type constructor or class `HTYPE_ALCLAMPF'
 |
 | Sound/OpenAL/AL/BasicTypes.hs:69:16:
 |     Not in scope: type constructor or class `HTYPE_ALDOUBLE'
 |
 | Sound/OpenAL/AL/BasicTypes.hs:72:16:
 |     Not in scope: type constructor or class `HTYPE_ALCLAMPD'
 | <<ghc: 24301732 bytes, 7 GCs, 1178666/2280256 avg/max bytes residency (2 samples), 17M in use, 0.02 INIT (0.00 elapsed), 0.15 MUT (0.34 elapsed), 0.10 GC (0.10 elapsed) :ghc>>
 | make[2]: *** [Sound/OpenAL/AL/BasicTypes.o] Error 1
 | make[1]: *** [all] Error 1
 | make[1]: Leaving directory `/usr/local/src/ghc-current/libraries'

It shouldn't even build OpenOL, however, because I ran
./configure with "--disable-openal".

I see the flag in "libraries/config.log", so it has been
passed through alright. But ${SUBDIRS} contains the "OpenAL"
directory nonetheless afterwards.

Any ideas how to fix this? (Except for manually editing the
makefile?)

Peter



More information about the Glasgow-haskell-users mailing list