[Slackbuilds-users] haskell-platform

Jorge Almeida jjalmeida at gmail.com
Sun May 11 21:25:00 UTC 2014


I installed ghc and hscolour with no problems.

haskell-platform fails to compile:

(...)
[48 of 86] Compiling Graphics.Rendering.OpenGL.GL.VertexArrays (
Graphics/Rendering/OpenGL/GL/VertexArrays.hs,
dist/build/Graphics/Rendering/OpenGL/GL/VertexArrays.o )

Graphics/Rendering/OpenGL/GL/VertexArrays.hs:557:1:
    Unacceptable argument type in foreign declaration: AttribLocation
    When checking declaration:
      foreign import ccall unsafe "dynamic" dyn_glVertexAttribPointerARB
        :: Invoker (AttribLocation
                    -> GLint -> GLenum -> GLboolean -> GLsizei -> Ptr
a -> IO ())

Graphics/Rendering/OpenGL/GL/VertexArrays.hs:558:1:
    Unacceptable argument type in foreign declaration: AttribLocation
    When checking declaration:
      foreign import ccall unsafe "dynamic" dyn_glVertexAttribIPointer
        :: Invoker (AttribLocation
                    -> GLint -> GLenum -> GLsizei -> Ptr a -> IO ())

Graphics/Rendering/OpenGL/GL/VertexArrays.hs:574:1:
    Unacceptable argument type in foreign declaration: AttribLocation
    When checking declaration:
      foreign import ccall unsafe "dynamic" dyn_glDisableVertexAttribArrayARB
        :: Invoker (AttribLocation -> IO ())

Graphics/Rendering/OpenGL/GL/VertexArrays.hs:575:1:
    Unacceptable argument type in foreign declaration: AttribLocation
    When checking declaration:
      foreign import ccall unsafe "dynamic" dyn_glEnableVertexAttribArrayARB
        :: Invoker (AttribLocation -> IO ())

Error:
Building the OpenGL-2.2.3.1 package failed
make: *** [build.stamp] Error 2

TIA

Jorge Almeida


More information about the SlackBuilds-users mailing list