[Slackbuilds-users] haskell-platform

Willy Sudiarto Raharjo willysr at slackbuilds.org
Mon May 12 01:06:05 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon 12 May 2014 04:25:00 AM WIB, Jorge Almeida wrote:
> 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

Just tested here on a VM and it built fine using sbopkg
FYI, i didn't build hscolour and i think it's already mentioned on the
README

This is intended to be installed on a system that does not already have
any
haskell-related components (other than ghc, of course) installed,
so for best results (and chance of success), you should remove any of
those
before you try to build haskell-platform.


ghc:
  MD5SUM check for ghc-7.6.2-x86_64-unknown-linux.tar.bz2 ... OK
  Building package ghc-7.6.2-x86_64-1_SBo.tgz ... OK
  Installing package ghc-7.6.2-x86_64-1_SBo.tgz ... OK

haskell-platform:
  MD5SUM check for haskell-platform-2013.2.0.0.tar.gz ... OK
  Building package haskell-platform-2013.2.0.0-x86_64-1_SBo.tgz ... OK
  Installing package haskell-platform-2013.2.0.0-x86_64-1_SBo.tgz ... OK


- --
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlNwHn0ACgkQiHuDdNczM4GokACgqPV8T38ytArcftCnNY6fmOSm
jg4Anj787ESqezjjo1Fg8zbFiktGzndC
=3pVT
-----END PGP SIGNATURE-----



More information about the SlackBuilds-users mailing list