L.S.,

I downloaded OpenAL from Hackage and tried to compile a program that uses it (on a Windows XP computer). I got a long list of messages in the linking phase; I found a related ticket,
  http://hackage.haskell.org/trac/ghc/ticket/1140
with a patch. I applied the patch manually and removed the package and installed it again. The problem remained.

The output from the compiler run:
ghc -Wall --make TestOpenAL.hs -i"C:\Programs\Haskell\Libs" -dcore-lint -o TestO
  penAL.exe
  [1 of 1] Compiling Main             ( TestOpenAL.hs, TestOpenAL.o )

  TestOpenAL.hs:57:8:
    Warning: This binding for `s' shadows an existing binding
             In a pattern binding in
                a 'do' expression
  Linking TestOpenAL.exe ...
C:\Program Files\Haskell\OpenAL-1.3.1.1\ghc-6.8.2/libHSOpenAL-1.3.1.1.a(Buffer.o
  )(.text+0x1de):fake: undefined reference to [EMAIL PROTECTED]'
C:\Program Files\Haskell\OpenAL-1.3.1.1\ghc-6.8.2/libHSOpenAL-1.3.1.1.a(Buffer.o
  )(.text+0x5f7):fake: undefined reference to [EMAIL PROTECTED]'
C:\Program Files\Haskell\OpenAL-1.3.1.1\ghc-6.8.2/libHSOpenAL-1.3.1.1.a(Buffer.o
  )(.text+0xa4e):fake: undefined reference to [EMAIL PROTECTED]'
C:\Program Files\Haskell\OpenAL-1.3.1.1\ghc-6.8.2/libHSOpenAL-1.3.1.1.a(Source.o
  )(.text+0x1b9):fake: undefined reference to [EMAIL PROTECTED]'
C:\Program Files\Haskell\OpenAL-1.3.1.1\ghc-6.8.2/libHSOpenAL-1.3.1.1.a(Source.o
  )(.text+0x30d):fake: undefined reference to [EMAIL PROTECTED]'

Etcetera.



Then I downloaded OpenAL with the command:
  darcs get http://darcs.haskell.org/packages/OpenAL/

Trying to install this gives:
  Libs\OpenAL>runhaskell Setup.hs configure
  Configuring OpenAL-1.3.1.1...

  Libs\OpenAL>runhaskell Setup.hs build
  Preprocessing library OpenAL-1.3.1.1...
  Building OpenAL-1.3.1.1...

  Sound/OpenAL/Config.hs:40:0:
       HsOpenALConfig.h: No such file or directory


My questions are:
  1) How do I get a proper package installed?
  2) How do I find tickets for a certain package?
  3) Is there an automatic way of applying patches from the tickets?
  4) Is the darcs repository version incomplete?


--
Met vriendelijke groet,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to