Я получаю ошибку ниже, когда пытаюсь установить модуль Unicode::Map. Я пытаюсь построить это локально, используя dmake и MinGW, для которых я загрузил файл TAR с Metacpan.Ошибка при установке Unicode :: Map module
C:\Users\MG\Downloads\Unicode-Map-0.112.tar\Unicode-Map-0.112>perl Makefile.PL
Generating a dmake-style Makefile
Writing Makefile for Unicode::Map
Writing MYMETA.yml and MYMETA.json
C:\Users\MG\Downloads\Unicode-Map-0.112.tar\Unicode-Map-0.112>dmake
Skip blib\lib\Unicode\Map.pm (unchanged)
Skip blib\lib\Unicode\Map\APPLE\CHINSIMP.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\CROATIAN.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\ICELAND.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\ARABIC.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\JAPANESE.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\CENTEURO.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\GUJARATI.map (unchanged)
Skip blib\lib\Unicode\Map\ADOBE\STDENC.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\DEVANAGA.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\CHINTRAD.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\GREEK.map (unchanged)
Skip blib\lib\Unicode\Map\ADOBE\ZDINGBAT.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\GURMUKHI.map (unchanged)
Skip blib\lib\Unicode\Map\ADOBE\SYMBOL.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\DINGBATS.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\CYRILLIC.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\KOREAN.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\HEBREW.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\BIG5.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\JIS-X-0208.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\KSC1001.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\SYMBOL.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\CNS-11643-1986.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\GB12345-80.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\GB2312.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\EUC-KR.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\JIS-X-0212.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\GB2312-80.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\TURKISH.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\THAI.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\EUC-JP.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\ROMANIAN.map (unchanged)
Skip blib\lib\Unicode\Map\APPLE\ROMAN.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\JIS-X-0201.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\JOHAB.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\ISO646-US.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP737.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-3.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP437.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-9.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-8.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-2.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\SHIFTJIS.map (unchanged)
Skip blib\lib\Unicode\Map\EASTASIA\KSC5601-1992.map (unchanged)
Skip blib\lib\Unicode\Map\IBM\IBM038.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-10.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-15.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-4.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-7.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP775.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-14.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-13.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-6.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-5.map (unchanged)
Skip blib\lib\Unicode\Map\ISO\8859-1.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP862.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP860.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP874.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP857.map (unchanged)
Skip blib\lib\Unicode\Map\MS\EBCDIC\CP1026.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP865.map (unchanged)
Skip blib\lib\Unicode\Map\MS\EBCDIC\CP875.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP850.map (unchanged)
Skip blib\lib\Unicode\Map\MS\MAC\GREEK.map (unchanged)
Skip blib\lib\Unicode\Map\MS\EBCDIC\CP037.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP863.map (unchanged)
Skip blib\lib\Unicode\Map\MS\EBCDIC\CP500.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP869.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP866.map (unchanged)
Skip blib\lib\Unicode\Map\MS\MAC\CYRILLIC.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP852.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP864.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP861.map (unchanged)
Skip blib\lib\Unicode\Map\MS\DOS\CP855.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP932.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1253.map (unchanged)
Skip blib\lib\Unicode\Map\MS\MAC\ROMAN.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1254.map (unchanged)
Skip blib\lib\Unicode\Map\MS\MAC\ICELAND.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP949.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1258.map (unchanged)
Skip blib\lib\Unicode\Map\MS\MAC\LATIN2.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1251.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1257.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP950.map (unchanged)
Skip blib\lib\Unicode\Map\NEXT\NEXTSTEP.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1255.map (unchanged)
Skip blib\lib\Unicode\Map\REGISTRY (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP936.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1252.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1250.map (unchanged)
Skip blib\lib\Unicode\Map\MS\MAC\TURKISH.map (unchanged)
Skip blib\lib\Unicode\Map\MS\WIN\CP1256.map (unchanged)
Running Mkbootstrap for Unicode::Map()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Map.bs
D:\MinGW_4.9.2_Win_O\bin\gcc.exe -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.112\" -DXS_VERSION=\"0.112\" "-IC:\Perl\lib\CORE" Map.c
In file included from Map.xs:21:0:
C:\Perl\lib\CORE/hv_func.h: In function 'S_perl_hash_murmur3':
C:\Perl\lib\CORE/perl.h:1677:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
# define INT2PTR(any,d) (any)(PTRV)(d)
^
C:\Perl\lib\CORE/perl.h:1685:19: note: in expansion of macro 'INT2PTR'
#define PTR2IV(p) INT2PTR(IV,p)
^
C:\Perl\lib\CORE/hv_func.h:391:17: note: in expansion of macro 'PTR2IV'
STRLEN i = -PTR2IV(ptr) & 3;
^
D:\MinGW_4.9.2_Win_O\bin\dlltool.exe --def Map.def --output-exp dll.exp
D:\MinGW_4.9.2_Win_O\bin\g++.exe -o blib\arch\auto\Unicode\Map\Map.dll -Wl,--base-file -Wl,dll.base -mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib" Map.o C:\Perl\lib\CORE\libperl520.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
Map.o:Map.c:(.text+0xd): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x8a): undefined reference to `__imp_Perl_sv_2pv_flags'
Map.o:Map.c:(.text+0x127): undefined reference to `__imp_Perl_block_gimme'
Map.o:Map.c:(.text+0x14d): undefined reference to `__imp_Perl_newSV'
Map.o:Map.c:(.text+0x15e): undefined reference to `__imp_Perl_sv_2mortal'
Map.o:Map.c:(.text+0x1b9): undefined reference to `__imp_Perl_die_nocontext'
Map.o:Map.c:(.text+0x1ce): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1e9): undefined reference to `__imp_Perl_croak_xs_usage'
Map.o:Map.c:(.text+0x20a): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x25a): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x29b): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x2ab): undefined reference to `__imp_Perl_newSV_type'
Map.o:Map.c:(.text+0x2e5): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x2f9): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x31f): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x333): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x366): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x37a): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x3ad): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x3c1): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x403): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x417): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x467): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x47b): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x4a4): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x4b8): undefined reference to `__imp_Perl_av_push'
Map.o:Map.c:(.text+0x4dd): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x539): undefined reference to `__imp_Perl_newRV'
Map.o:Map.c:(.text+0x555): undefined reference to `__imp_Perl_sv_2mortal'
Map.o:Map.c:(.text+0x57e): undefined reference to `__imp_Perl_croak_xs_usage'
Map.o:Map.c:(.text+0x5e8): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x60b): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x632): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x649): undefined reference to `__imp_Perl_sv_2pv_flags'
Map.o:Map.c:(.text+0x6e8): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x791): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x7c2): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x7e1): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x7f2): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x804): undefined reference to `__imp_Perl_sv_2iv_flags'
Map.o:Map.c:(.text+0x816): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x828): undefined reference to `__imp_Perl_sv_2iv_flags'
Map.o:Map.c:(.text+0x835): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x85d): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x86c): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x87e): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x8a3): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x964): undefined reference to `__imp_Perl_newSV'
Map.o:Map.c:(.text+0x985): undefined reference to `__imp_Perl_av_len'
Map.o:Map.c:(.text+0x9b0): undefined reference to `__imp_Perl_av_fetch'
Map.o:Map.c:(.text+0xa08): undefined reference to `__imp_Perl_hv_common_key_len'
Map.o:Map.c:(.text+0xa80): undefined reference to `__imp_Perl_sv_2iv_flags'
Map.o:Map.c:(.text+0xace): undefined reference to `__imp_Perl_sv_2mortal'
Map.o:Map.c:(.text+0xb29): undefined reference to `__imp_Perl_sv_setsv_flags'
Map.o:Map.c:(.text+0xb58): undefined reference to `__imp_Perl_sv_catsv_flags'
Map.o:Map.c:(.text+0xb67): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0xb87): undefined reference to `__imp_Perl_croak_xs_usage'
Map.o:Map.c:(.text+0xba3): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0xc4f): undefined reference to `__imp_Perl_sv_2iv_flags'
Map.o:Map.c:(.text+0xc98): undefined reference to `__imp_Perl_newSV'
Map.o:Map.c:(.text+0xcab): undefined reference to `__imp_Perl_hv_common_key_len'
Map.o:Map.c:(.text+0xce9): undefined reference to `__imp_Perl_sv_setsv_flags'
Map.o:Map.c:(.text+0xd4c): undefined reference to `__imp_Perl_sv_catsv_flags'
Map.o:Map.c:(.text+0xd7e): undefined reference to `__imp_Perl_sv_2mortal'
Map.o:Map.c:(.text+0xdb9): undefined reference to `__imp_Perl_croak_xs_usage'
Map.o:Map.c:(.text+0xe64): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0xe78): undefined reference to `__imp_Perl_sv_2iv_flags'
Map.o:Map.c:(.text+0xee4): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0xf22): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0xf38): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0xf67): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0xf7b): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0xf82): undefined reference to `__imp_Perl_hv_common'
Map.o:Map.c:(.text+0x1054): undefined reference to `__imp_Perl_newSVpvf_nocontext'
Map.o:Map.c:(.text+0x1071): undefined reference to `__imp_Perl_newSVpvf_nocontext'
Map.o:Map.c:(.text+0x10fb): undefined reference to `__imp_Perl_hv_common_key_len'
Map.o:Map.c:(.text+0x1196): undefined reference to `__imp_Perl_hv_common_key_len'
Map.o:Map.c:(.text+0x12d0): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1386): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x1490): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1744): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x1780): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x1920): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x1b09): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1b62): undefined reference to `__imp_Perl_newSV_type'
Map.o:Map.c:(.text+0x1b73): undefined reference to `__imp_Perl_newRV'
Map.o:Map.c:(.text+0x1bc6): undefined reference to `__imp_Perl_newSV_type'
Map.o:Map.c:(.text+0x1bd7): undefined reference to `__imp_Perl_newRV'
Map.o:Map.c:(.text+0x1c52): undefined reference to `__imp_Perl_newSVpv'
Map.o:Map.c:(.text+0x1d99): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1dba): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1e03): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1e24): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1e45): undefined reference to `__imp_Perl_warn_nocontext'
Map.o:Map.c:(.text+0x1e66): more undefined references to `__imp_Perl_warn_nocontext' follow
Map.o:Map.c:(.text+0x1ecd): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x1f61): undefined reference to `__imp_Perl_newSViv'
Map.o:Map.c:(.text+0x1f88): undefined reference to `__imp_Perl_sv_2mortal'
Map.o:Map.c:(.text+0x1fb1): undefined reference to `__imp_Perl_croak_xs_usage'
Map.o:Map.c:(.text+0x1fcd): undefined reference to `__imp_Perl_get_context'
Map.o:Map.c:(.text+0x2027): undefined reference to `__imp_Perl_xs_apiversion_bootcheck'
Map.o:Map.c:(.text+0x2047): undefined reference to `__imp_Perl_xs_version_bootcheck'
Map.o:Map.c:(.text+0x2050): undefined reference to `__imp_Perl_newXS'
Map.o:Map.c:(.text+0x2104): undefined reference to `__imp_Perl_call_list'
collect2.exe: error: ld returned 1 exit status
dmake: Error code 129, while making 'blib\arch\auto\Unicode\Map\Map.dll'
Может кто-нибудь помочь мне, что я должен сделать, чтобы удалить эту ошибку ??
Привет, У меня установлен ActivePerl версии 5.20.0, и поскольку я занимаюсь корпоративным брандмауэром, я не могу использовать ни PPM, ни CPAN-командную строку. Таким образом, единственный вариант, который у меня есть, - загрузить tar-файл и создать модуль локально, но я получаю ошибку, делая это, как вы можете видеть в опубликованном вопросе. – Mohit
Привет, модуль, установленный в переносной папке. Но что вы подразумеваете под последней строкой? Просто запомните CD в эту папку и снова запустите portable.bat. Я скопировал папку в свою папку ActivePerl lib, где я должен cd и запустить portableshell.bat, или это файл portable.perl, который вы ссылаетесь. – Mohit
Также я до сих пор получаю сообщение об ошибке. Невозможно найти загружаемый объект для модуля Unicode :: Map в @INC в моем скрипте. Пожалуйста, помогите – Mohit