Thread Modulinstallation - Strawberry Perl - Windows 7 (20 answers)
Opened by Crian at 2010-11-09 08:53

Crian
 2010-11-09 08:53
#142545 #142545
User since
2003-08-04
5866 Artikel
ModeratorIn
[Homepage]
user image
Ich hab bei der Arbeit ein neues Windows 7 System hingestellt bekommen und dachte das wäre der geeignete Zeitpunkt, einmal Strawberry Perl (Version 5.12.1.0) statt Active Perl auszuprobieren, allerdings ... bisher überzeugt es nicht.

Es war kein Perl::Tk dabei, was mich schonmal sehr gewundert hat. Na gut, installiere ich das halt nach, Strawberryperl soll man ja wie normale Perls über das CPAN installieren können.

Gut, der Versuch schlug sowohl mit

Code: (dl )
1
2
perl -MCPAN -e shell
install Tk


als auch mit

Code: (dl )
1
2
perl -MCPANPLUS -e shell
i Tk


fehl.

Auszug aus dem log:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[MSG] [Mon Nov  8 16:53:41 2010] Extracted 'Tk-804.029/'
[MSG] [Mon Nov 8 16:53:41 2010] Extracted 'Tk-804.029/pTk/'
[MSG] [Mon Nov 8 16:53:41 2010] Extracted 'Tk-804.029/pod/'
...
[MSG] [Mon Nov 8 16:53:44 2010] Extracted 'Tk-804.029/pTk/mTk/tclGeneric/tclCompCmds.c'
[MSG] [Mon Nov 8 16:53:44 2010] Extracted 'Tk-804.029/pTk/mTk/tclGeneric/tclAlloc.c'
[MSG] [Mon Nov 8 16:53:45 2010] Extracted 'Tk' to 'C:\strawberry\cpanplus\5.12.1\build\Tk-804.029'
[MSG] [Mon Nov 8 16:54:12 2010] PPM for perl5.012001
Test Compiling config/perlrx.c
C:\strawberry\perl\bin\perl.exe is installed in C:\strawberry\perl\lib okay
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x130000) in child, cygheap, Win32 error 0
Test Compiling config/pmop.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x280000) in child, cygheap, Win32 error 0
Test Compiling config/pregcomp2.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x130000) in child, cygheap, Win32 error 0
Test Compiling config/regexp511.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x1F0000) in child, cygheap, Win32 error 0
Test Compiling config/signedchar.c
cc1.exe: Invalid option `ms-bitfields'
Test Compile/Run config/unsigned.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cc1.exe: *** Couldn't reserve space for cygwin's heap (0x130000) in child, cygheap, Win32 error 0
Test Compiling config/Ksprintf.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x240000) in child, cygheap, Win32 error 0
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cc1.exe: *** Couldn't reserve space for cygwin's heap (0x130000) in child, cygheap, Win32 error 0
Test Compiling config/svtrv.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x1D0000) in child, cygheap, Win32 error 0
Writing Tk/Config.pm
Writing pTk/tkConfig.h
Skip InputO on MSWin32
Skip Mwm on MSWin32
Skip WinPhoto on MSWin32
Checking if your kit is complete...
Looks good
Generating Dependencies for MSWin32, win_arch=MSWin32
Test Compiling config/Hstrtoul.c
cc1.exe: Invalid option `ms-bitfields'
Test Compiling config/Hstrdup.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x1A0000) in child, cygheap, Win32 error 0
Test Compiling config/Hstrcasecmp.c
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.2-5\cpp.exe: *** Couldn't reserve space for cygwin's heap (0x130000) in child, cygheap, Win32 error 0
Extracting ClientWin.c
Extracting default.h
Extracting exWinHandle.c
...
Finding dependencies for tkGlue_f.c
Finding dependencies for tkWin32Dll.c
Tests in PNG
Tests in JPEG
Tests in Event
Writing Makefile for Tk

[MSG] [Mon Nov 8 16:54:12 2010] DEFAULT 'filter_prereqs' HANDLER RETURNING 'sub return value'
[ERROR] [Mon Nov 8 16:54:19 2010] MAKE failed: C:\strawberry\perl\bin\perl.exe pTk/mkVFunc -t MSWin32 tkGlue.h
Ignoring from tkGlue.exc
tkGlue.h:48: extern SV *XEvent_Info _((EventAndKeySym *obj,char *s));
tkGlue.h:49: extern EventAndKeySym *SVtoEventAndKeySym _((SV *arg));
tkGlue.h:52: extern XS(XStoWidget);
tkGlue.h:57: EXTERN void Boot_Glue (pTHX);
tkGlue.h:58: EXTERN void Boot_Tix (pTHX);
...
cp Xlib.t ..\blib\arch\Tk\pTk\Xlib.t
cp tkIntPlatDecls.t ..\blib\arch\Tk\pTk\tkIntPlatDecls.t
cp tkWinDefault.h ..\blib\arch\Tk\pTk\tkWinDefault.h
cp tkWinPort.h ..\blib\arch\Tk\pTk\tkWinPort.h
gcc -c -I.. -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I.. -I../pTk/mTk/xlib -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2 -DVERSION=\"804.029\" -DXS_VERSION=\"804.029\" "-IC:\strawberry\perl\lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ ClientWin.c
gcc: No input files
dmake: Error code 129, while making 'ClientWin.o'
dmake.EXE: Error code 255, while making 'pTk\libpTk.a'

[ERROR] [Mon Nov 8 16:54:19 2010] Unable to create a new distribution object for 'Tk' -- cannot continue


Hat jemand eine Idee? Oder installiere ich das bewährte, andere Perl?
Last edited: 2010-11-09 08:54:45 +0100 (CET)
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite

View full thread Modulinstallation - Strawberry Perl - Windows 7