Subject: | Build failure OS X |
Date: | Sun, 18 Jul 2010 16:23:11 +0100 |
To: | bug-Math-Random-MT [...] rt.cpan.org |
From: | Daniel Barker <db60 [...] st-andrews.ac.uk> |
Dear Math-Random-MT,
Thank you for providing this package on CPAN.
Unfortunately it does not build on my system. I'm using OS X 10.6.4,
with gcc version 4.2.1 (Apple Inc. build 5664), and trying to install
Math-Random-MT-1.11 as follows:
perl -MCPAN -e shell
install Math::Random::MT
The first error is here, with a lot of follow-on errors reported:
gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common
-DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os
-DVERSION=\"1.11\" -DXS_VERSION=\"1.11\"
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" _mt.c
In file included from _mt.c:1:
mt.h:17: error: expected specifier-qualifier-list before ‘uint32_t’
mt.h:21: error: expected ‘)’ before ‘seed’
mt.h:22: error: expected ‘)’ before ‘*’ token
Please consider this when you're preparing a new version.
Thanks and best wishes,
Daniel
--
Daniel Barker
http://bio.st-andrews.ac.uk/staff/db60.htm
The University of St Andrews is a charity registered in Scotland : No
SC013532