Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MongoDB CPAN distribution.

Maintainer(s)' notes

Please don't report bugs here. Please use the MongoDB Perl driver issue tracker instead.

Report information
The Basics
Id: 53922
Status: resolved
Priority: 0/
Queue: MongoDB

People
Owner: Nobody in particular
Requestors: perl [...] galumph.com
Cc:
AdminCc:

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



CC:
Subject: MongoDB 0.27 build failure on Strawberry Perl 5.10.1.0.
Date: Fri, 22 Jan 2010 17:10:02 +0000 (GMT)
To: bug-MongoDB [...] rt.cpan.org
From: perl [...] galumph.com
The build fails because there's no int64_t. I don't know what the difference between gcc on, say, Linux, and the one included with Strawberry is, so I'm not sure what sort of #ifdef to use (thus no patch included), but adding "#include <stdint.h>" after line 32 in perl_mongo.h fixes the problem. Show quoted text
----- Relevant build output ----- C:\strawberry\perl\bin\perl.exe "-Iinc" C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap xs\Connection.xs > xs\Connection.xsc && C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e "mv" -- xs\Connection.xsc xs\Connection.c gcc -c -I. -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\" -o xs\Connection.o "-IC:\strawberry\perl\lib\CORE" xs\Connection.c In file included from xs\Connection.xs:17: ./perl_mongo.h:123: error: syntax error before "int64_t" In file included from xs\Connection.xs:18: ./mongo_link.h:132: error: syntax error before "int64_t" ./mongo_link.h:132: warning: no semicolon at end of struct or union ./mongo_link.h:143: error: syntax error before '}' token ./mongo_link.h:143: warning: data definition has no type or storage class dmake.EXE: Error code 129, while making 'xs\Connection.o' [ERROR] MAKE failed: No such file or directory
Resolved by http://github.com/mongodb/mongo-perl- driver/commit/92d4c15523fcbba824ac08a870b6dd41c207e9a6