[haskell-platform] #8: Generic Unix source tarball
haskell-platform
haskell-platform at projects.haskell.org
Sun Apr 26 07:23:08 EDT 2009
#8: Generic Unix source tarball
----------------------+-----------------------------------------------------
Reporter: duncan | Owner: dons
Type: defect | Status: new
Priority: major | Milestone: Release 1: 2009.0.0
Component: Platform | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by visq):
* type: task => defect
Comment:
I tried the generic unix tarball on Mac OS X and noted that there is an
error in the autoconf script.
The autoconf script checks whether {{{$target_os}}} is {{{darwin*}}} or
win32, without requesting {{{AC_CANONICAL_TARGET}}}.
As a result, {{{$target_os}}} is empty and {{{OSX=yes}}} resp.
{{{WIN32=yes}}} is never set.
Because of this, the OpenGL test fails on my system.
I'm not an autoconf expert, but it works if you insert the following lines
at line 2 of config.in
{{{
AC_CONFIG_AUX_DIR([scripts])
AC_CANONICAL_TARGET
}}}
and copy {{{config.sub}}} and {{{config.guess}}} into the scripts/
directory.
If attached a patch to fix this problem, but it should be reviewed by
someone comfortable with autotools.
-- benedikt
--
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/8#comment:3>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
More information about the Haskell-platform
mailing list