Hallo
ich versuche gerade ein altes Programm zum Laufen zu bringen. Ich habe Strawberry Perl installiert und bekomme die Fehlermeldung:
Can't locate Tk.pm in @INC
Eine Installation über cpan funktioniert leider nicht, da dies hier im Netz geblockt wird, kann ich leider auch nicht ändern.
Ich habe mir daher die Tk-804.030.tar.gz runtergeladen und wie folgt installiert:
- unzip Tk-804.030.tar.gz to the folder C:\strawberry\perl\lib\Tk-804.030
- open perl command shell and go to folder C:\strawberry\perl\lib\Tk-804.030
- call: perl makefile.pl
- call: gmake test
- call: gmake install
Aber am Ende bekomme ich sowohl bei dem makefile Fehlermeldungen als auch beim test & install.
bei makefile sind es die Meldungen:
QuoteLine 7: config/pmop.c:7:8: error: 'struct pmop' has no member named 'op_pmdynflags'; did you mean 'op_pmflags'?
Line 11: config/pmop.c:8:8: error: 'struct pmop' has no member named 'op_pmpermflags'; did you mean 'op_pmflags'?
Line 33: config/svtrv.c:9:5: error: duplicate case value
ignore 'error "PNG_USER_PRIVATEBUILD must be defined if PNGAPI is changed"'
Invalid term: -32768 && INT_MAX == 32767 at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 56, <C:\STRAWB~1\c\include/pngconf.h> line 486.
trailing: -32768 && INT_MAX == 32767 at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 105, <C:\STRAWB~1\c\include/pngconf.h> line 486.
ignore 'error "libpng requires a signed 16-bit type"'
ignore 'error "libpng requires an unsigned 16-bit type"'
Invalid term: -2147483646 && INT_MAX > 2147483646 at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 56, <C:\STRAWB~1\c\include/pngconf.h> line 502.
trailing: -2147483646 && INT_MAX > 2147483646 at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 105, <C:\STRAWB~1\c\include/pngconf.h> line 502.
Invalid term: -2147483646 && LONG_MAX > 2147483646 at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 56, <C:\STRAWB~1\c\include/pngconf.h> line 504.
trailing: -2147483646 && LONG_MAX > 2147483646 at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 105, <C:\STRAWB~1\c\include/pngconf.h> line 504.
ignore 'error "libpng requires a signed 32-bit (or more) type"'
trailing: U at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 105, <C:\STRAWB~1\c\include/pngconf.h> line 510.
trailing: U at C:/Strawberry/perl/lib/Tk-804.030/Tk/MakeDepend.pm line 105, <C:\STRAWB~1\c\include/pngconf.h> line 512.
ignore 'error "libpng requires an unsigned 32-bit (or more) type"'
und in der gmake install bekommen ich
QuoteLine 3561: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3597: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3616: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3634: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3653: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3671: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3690: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3708: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3727: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3745: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3764: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3782: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3801: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3819: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3838: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3856: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3875: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3893: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3912: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3930: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3949: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 3967: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 3986: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 4004: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 4025: C:\STRAWB~1\perl\lib\CORE/handy.h:111:34: error: 'bool' undeclared (first use in this function); did you mean 'Bool'?
Line 4043: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 4061: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 4079: C:\STRAWB~1\perl\lib\CORE/handy.h:111:39: error: expected ':' before numeric constant
Line 4097: gmake[1]: *** [Makefile:326: Xlib.o] Error 1
Line 4099: gmake: *** [Makefile:710: subdirs] Error 2
Das alte Programm hat immernoch die gleiche Fehlermeldung
Ich bin absoluter Neuling in Perl, ich hoffe ihr könnt mir helfen
Last edited: 2019-12-04 12:27:39 +0100 (CET)