Skip Menu |

This queue is for tickets about the Math-Random-MT CPAN distribution.

Report information
The Basics
Id: 59512
Status: resolved
Priority: 0/
Queue: Math-Random-MT

People
Owner: Nobody in particular
Requestors: db60 [...] st-andrews.ac.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
I wrote a patch for this issue. Please merge it :) http://github.com/tokuhirom/Math-Random- MT/commit/227d5f2eb8b08370ed7aed3ec6914c2c335c5e2b On 2010-7月-18 日 11:23:36, db60@st-andrews.ac.uk wrote: Show quoted text
> 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 >
Thanks for the report and patch. Closing this issue since this is resolved in version 1.12.