Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 16704
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: info [...] whawes.co.uk
Cc:
AdminCc:

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



Subject: Build problems on Win32
version will not build for me on Win32. Here is the error: C:\Perl\5.8.7\.cpanplus\5.8.7\build\version-0.50>perl build gcc -c -I"vutil" -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL _IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -I"C:\perl\5.8.7 \lib\CORE" -I"C:\MinGW\include" -o "vutil\vutil.o" "vutil\vutil.c" In file included from C:/perl/5.8.7/lib/CORE/win32thread.h:4, from C:/perl/5.8.7/lib/CORE/perl.h:2306, from vutil\/vutil.h:2, from vutil\vutil.c:1: C:/perl/5.8.7/lib/CORE/win32.h:243: error: redefinition of typedef 'intptr_t' C:/MinGW/include/stdint.h:60: error: previous declaration of 'intptr_t' was here C:/perl/5.8.7/lib/CORE/win32.h:248: error: redefinition of typedef 'uintptr_t' C:/MinGW/include/stdint.h:61: error: previous declaration of 'uintptr_t' was her e error building dll file from './vutil/vutil.c' at c:/Perl/site/5.8.7/lib/Module/ Build/Platform/Windows.pm line 105. Output from "perl -V": C:\Perl\5.8.7\.cpanplus\5.8.7\build\version-0.50>perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=define use5005threads=undef useithreads=define usemultiplicity=de fine useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.2', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek size=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"c:\perl\5.8.7\lib\CORE" -L"C:\MinGW\lib"' libpth=C:\MinGW\lib libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw inmm -lversion -lodbc32 libc=-lmsvcrt, so=dll, useshrplib=yes, libperl=libperl58.a gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"c:\perl\5.8.7\lib\CORE" -L"C:\MinGW\l ib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Built under MSWin32 Compiled at Dec 22 2005 12:17:48 %ENV: PERL5_CPANPLUS_IS_RUNNING="3244" PERL_READLINE_NOWARN="1" @INC: c:/Perl/5.8.7/lib c:/Perl/site/5.8.7/lib .
That's not strictly a problem with version.pm itself, but rather a conflict between the Perl supplied: C:/perl/5.8.7/lib/CORE/win32.h and the MingGW provided file: C:/MinGW/include/stdint.h I cannot do anything about it (since it happens just because I include perl.h). There is probably a gcc option to convert those errors into warnings. Sorry. John
[JPEACOCK - Fri Dec 23 11:54:00 2005]: Show quoted text
> C:/MinGW/include/stdint.h > > I cannot do anything about it (since it happens just because I include > perl.h). There is probably a gcc option to convert those errors into > warnings.
It turns out this is likely to be related to a problem that was just fixed in bleadperl, see the thread here: http://tinyurl.com/9euqk Apparently, if you downgrade to mingw-runtime-3.2, that will fix it. I'm going to close this ticket as "Not my problem!" ;-) John