Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 50443
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: julian_levens [...] tw4.com
Cc:
AdminCc:

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



Subject: Fail to install Unicode/Map8
Date: Tue, 13 Oct 2009 15:03:49 +0100
To: <bug-Perl-Dist-Strawberry [...] rt.cpan.org>, <bug-Unicode-Map8 [...] rt.cpan.org>
From: <julian_levens [...] tw4.com>
Download (untitled) / with headers
text/plain 8.5k
Hi I'm not able to install Unicode::Map8 onto Strawberry perl. I have no idea whether this is a Strawberry or Unicode::Map8 problem, so I've sent this as a bug report to both :-) I've provided quite a bit of details below, but if you need more then please let me know, thanks. Strawberry perl version is: C:\strawberry\perl\bin>perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.10.0.6 #1 Mon Jul 20 00:01:14 2009 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define 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_CONTE XT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', 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:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\li b"' libpth=C:\strawberry\c\lib libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw inmm -lversion -lodbc32 -lodbccp32 libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\st rawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Jul 20 2009 00:10:46 @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib . C:\strawberry\perl\bin> I receive the following errors: C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap -typemap typemap Map8.xs > Map8.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Map8.xsc Map8.c gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0. 12\" -DXS_VERSION=\"0.12\" "-IC:\strawberry\perl\lib\CORE" -DPERL Map8.c Map8.xs: In function `XS_Unicode__Map8__empty_block': Map8.xs:201: warning: comparison is always false due to limited range of data ty pe gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0. 12\" -DXS_VERSION=\"0.12\" "-IC:\strawberry\perl\lib\CORE" -DPERL map8x.c In file included from map8.h:13, from map8x.c:9: C:/strawberry/perl/lib/CORE/perl.h:158:1: warning: "aTHX" redefined In file included from map8.h:12, from map8x.c:9: C:/strawberry/perl/lib/CORE/XSUB.h:428:1: warning: this is the location of the p revious definition In file included from map8.h:13, from map8x.c:9: C:/strawberry/perl/lib/CORE/perl.h:1343:1: warning: "socketpair" redefined In file included from map8.h:12, from map8x.c:9: C:/strawberry/perl/lib/CORE/XSUB.h:626:1: warning: this is the location of the p revious definition In file included from map8.h:13, from map8x.c:9: C:/strawberry/perl/lib/CORE/perl.h:3490:19: macro "PerlProc_getuid" passed 1 arg uments, but takes just 0 In file included from map8.h:13, from map8x.c:9: C:/strawberry/perl/lib/CORE/perl.h:3490: error: 'PerlProc_getuid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:281: error: previous declaration of 'PerlPro c_getuid' was here C:/strawberry/perl/lib/CORE/perl.h:3490: error: 'PerlProc_getuid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:281: error: previous declaration of 'PerlPro c_getuid' was here C:/strawberry/perl/lib/CORE/perl.h:3491:20: macro "PerlProc_geteuid" passed 1 ar guments, but takes just 0 C:/strawberry/perl/lib/CORE/perl.h:3491: error: 'PerlProc_geteuid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:283: error: previous declaration of 'PerlPro c_geteuid' was here C:/strawberry/perl/lib/CORE/perl.h:3491: error: 'PerlProc_geteuid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:283: error: previous declaration of 'PerlPro c_geteuid' was here C:/strawberry/perl/lib/CORE/perl.h:3492:19: macro "PerlProc_getgid" passed 1 arg uments, but takes just 0 C:/strawberry/perl/lib/CORE/perl.h:3492: error: 'PerlProc_getgid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:282: error: previous declaration of 'PerlPro c_getgid' was here C:/strawberry/perl/lib/CORE/perl.h:3492: error: 'PerlProc_getgid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:282: error: previous declaration of 'PerlPro c_getgid' was here C:/strawberry/perl/lib/CORE/perl.h:3493:20: macro "PerlProc_getegid" passed 1 ar guments, but takes just 0 C:/strawberry/perl/lib/CORE/perl.h:3493: error: 'PerlProc_getegid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:284: error: previous declaration of 'PerlPro c_getegid' was here C:/strawberry/perl/lib/CORE/perl.h:3493: error: 'PerlProc_getegid' redeclared as different kind of symbol C:/strawberry/perl/lib/CORE/win32.h:284: error: previous declaration of 'PerlPro c_getegid' was here In file included from C:/strawberry/perl/lib/CORE/perl.h:4700, from map8.h:13, from map8x.c:9: C:/strawberry/perl/lib/CORE/embedvar.h:179:1: warning: "PL_madskills" redefined In file included from map8.h:12, from map8x.c:9: C:/strawberry/perl/lib/CORE/XSUB.h:421:1: warning: this is the location of the p revious definition In file included from C:/strawberry/perl/lib/CORE/perl.h:4700, from map8.h:13, from map8x.c:9: C:/strawberry/perl/lib/CORE/embedvar.h:349:1: warning: "PL_xmlfp" redefined In file included from map8.h:12, from map8x.c:9: C:/strawberry/perl/lib/CORE/XSUB.h:422:1: warning: this is the location of the p revious definition map8x.c: In function `map8_new': map8x.c:24: error: `my_perl' undeclared (first use in this function) map8x.c:24: error: (Each undeclared identifier is reported only once map8x.c:24: error: for each function it appears in.) map8x.c: In function `map8_addpair': map8x.c:61: error: `my_perl' undeclared (first use in this function) map8x.c: In function `map8_free': map8x.c:213: error: `my_perl' undeclared (first use in this function) dmake.EXE: Error code 129, while making 'map8x.o' GAAS/Unicode-Map8-0.12.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: GAAS/Unicode-Map8-0.12.tar.gz : make NO Show quoted text
cpan>
Thanks very much Julian Levens Programme Analyst TW4 fulfilment services (Time Warner Publishing B.V.) Kabelweg 73 1014 BA Amsterdam T + 31-20-4874235 E julian_levens@tw4.com <mailto:arvid_jayal@tw4.com> W www.tw4.com <http://www.tw4.com> ----------------------------------------------------------------------- This communication is intended only for use by the addressee. It may contain confidential or privileged information. If you receive this communication unintentionally, please inform us immediately. Thank you. TW4 Fulfilment Services (Time Warner Publishing B.V.), Kabelweg 73, 1014 BA, Amsterdam is registered with the trade register in the Netherlands under number 33104120. Our VAT number is NL 001425511B01.
Download (untitled) / with headers
text/html 37.8k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 197b
Hi, apply the following patch to map8.h: #ifdef PERL #include "EXTERN.h" -#include "XSUB.h" #include "perl.h" +#include "XSUB.h" #else With this patch works for me (all tests PASS). -- kmx
Subject: RE: [rt.cpan.org #50443] Fail to install Unicode/Map8
Date: Tue, 13 Oct 2009 16:35:14 +0100
To: <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: <julian_levens [...] tw4.com>
Download (untitled) / with headers
text/plain 1.3k
Thanks, that works. Is this ordering of the headers OK for Windows and other environment or is it a known fix for Windows only. I'll report this to the Author of Unicode::Map8 as well. Thanks again Julian Levens Programme Analyst TW4 fulfilment services (Time Warner Publishing B.V.) Kabelweg 73 1014 BA Amsterdam T + 31-20-4874235 E julian_levens@tw4.com W www.tw4.com Show quoted text
-----Original Message----- From: kmx via RT [mailto:bug-Perl-Dist-Strawberry@rt.cpan.org] Sent: 13 October 2009 16:59 To: Levens, Julian - TW4 <julian_levens@tw4.com> Subject: [rt.cpan.org #50443] Fail to install Unicode/Map8 <URL: https://rt.cpan.org/Ticket/Display.html?id=50443 > Hi, apply the following patch to map8.h: #ifdef PERL #include "EXTERN.h" -#include "XSUB.h" #include "perl.h" +#include "XSUB.h" #else With this patch works for me (all tests PASS). -- kmx ----------------------------------------------------------------------- This communication is intended only for use by the addressee. It may contain confidential or privileged information. If you receive this communication unintentionally, please inform us immediately. Thank you. TW4 Fulfilment Services (Time Warner Publishing B.V.), Kabelweg 73, 1014 BA, Amsterdam is registered with the trade register in the Netherlands under number 33104120. Our VAT number is NL 001425511B01.
Unicode-String-0.13 has been uploaded with this fix.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.