Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows

by tobias_hofer (Friar)
on Feb 07, 2013 at 10:32 UTC ( [id://1017607]=note: print w/replies, xml ) Need Help??


in reply to Re: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows
in thread Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows

Hello, Thank you for this quick answer! I have checked both:

cpan> r /ExtUtils::MakeMaker/ Database was generated on Thu, 07 Feb 2013 09:24:01 GMT Package namespace installed latest in CPAN file ExtUtils::MakeMaker 6.42 6.64 MSCHWERN/ExtUtils-MakeM +aker-6.64. tar.gz cpan> r /CPAN::Meta/ All modules are up to date for /CPAN::Meta/

but i was not able to update Make Maker:
t/hints.....................ok t/INST......................ok t/INST_PREFIX...............ok t/INSTALL_BASE..............ok t/installed_file............ok t/is_of_type................ok t/Liblist...................ok t/Liblist_Kid...............1/? Warning (mostly harmless): No library +found for unreal_test Warning (mostly harmless): No library found for unreal_test Warning (mostly harmless): No library found for -llibtest Warning (mostly harmless): No library found for -lunreal_test Warning (mostly harmless): No library found for unreal_test Warning (mostly harmless): No library found for dir_test Warning: '-Ldir' changed to '-LC:/strawberry/cpan/build/ExtUtils-MakeM +aker-6.64- 3O991m/t/liblist/win32/dir' Warning: '-Ldi r' changed to '-LC:/strawberry/cpan/build/ExtUtils-Make +Maker-6.64 -3O991m/t/liblist/win32/di r' Warning (mostly harmless): No library found for unreal_test Warning (mostly harmless): No library found for unreal_test t/Liblist_Kid...............ok t/make......................ok t/MakeMaker_Parameters......ok t/maketext_filter...........ok t/meta_convert..............ok t/metafile_data.............ok t/metafile_file.............ok t/min_perl_version..........ok t/miniperl..................skipped: miniperl test only necessary for +the perl c ore t/Mkbootstrap...............ok t/MM_Any....................ok t/MM_BeOS...................skipped: This is not BeOS t/MM_Cygwin.................skipped: This is not cygwin t/MM_NW5....................skipped: This is not NW5 t/MM_OS2....................skipped: This is not OS/2 t/MM_Unix...................skipped: Non-Unix platform t/MM_VMS....................skipped: This is not VMS t/MM_Win32..................ok t/oneliner..................1/16 # Failed test 'example 8.2' # at t/oneliner.t line 53. # got: ' &<>|@()!"&<>|@()! ' # expected: ' &<>^|@()!"&<>^|@()! ' # oneliner: # C:\STRAWB~1\perl\bin\perl.exe -e "print q[ &<>^|@()!\"^&^<^>^^^|^@( +)^! ]" -- # Failed test 'example 8.3' # at t/oneliner.t line 54. # got: ' "&<>|@() !"&<>|@() !" ' # expected: ' "&<>^|@() !"&<>^|@() !" ' # oneliner: # C:\STRAWB~1\perl\bin\perl.exe -e "print q[ \"^&^<^>^^^|^@() ^!\"&<> +^|@() !\" ]" -- # Looks like you failed 2 tests of 16. t/oneliner.................. Dubious, test returned 2 (wstat 512, 0x20 +0) Failed 2/16 subtests t/parse_abstract............ok t/parse_version.............ok t/PL_FILES..................ok t/pm........................ok t/pm_to_blib................ok [...] t/WriteEmptyMakefile........ok t/writemakefile_args........ok t/xs......................../mingw/lib/dllcrt2.o:dllcrt1.c:(.text+0xe5 +): undefin ed reference to `__dyn_tls_init_callback' collect2: ld returned 1 exit status /mingw/lib/dllcrt2.o:dllcrt1.c:(.text+0xe5): undefined reference to `_ +_dyn_tls_i nit_callback' collect2: ld returned 1 exit status t/xs........................1/5 t/xs........................4/5 # Failed test ' make exited normall +y' # at t/xs.t line 53. # got: '65280' # expected: '0' # cp lib/XS/Test.pm blib\lib\XS\Test.pm # C:\STRAWB~1\perl\bin\perl.exe C:\STRAWB~1\perl\lib\ExtUtils\xsubpp +-typemap C :\strawberry\perl\lib\ExtUtils\typemap Test.xs > Test.xsc && C:\STRAW +B~1\perl\b in\perl.exe -MExtUtils::Command -e mv -- Test.xsc Test.c # gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTE +XT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVE +RSION=\"1. 01\" -DXS_VERSION=\"1.01\" "-IC:\strawberry\perl\lib\CORE" Test. +c # Running Mkbootstrap for XS::Test () # C:\STRAWB~1\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Te +st.bs # C:\STRAWB~1\perl\bin\perl.exe -MExtUtils::Mksymlists \ # -e "Mksymlists('NAME'=>\"XS::Test\", 'DLBASE' => 'Test', 'DL_FU +NCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" # dlltool --def Test.def --output-exp dll.exp # g++ -o blib\arch\auto\XS\Test\Test.dll -Wl,--base-file -Wl,dll.base +-mdll -s - L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Test.o C:\str +awberry\pe rl\lib\CORE\libperl510.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi +32 -lwinsp ool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luu +id -lws2_3 2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp # /mingw/lib/dllcrt2.o:dllcrt1.c:(.text+0xe5): undefined reference to +`__dyn_tls _init_callback' # collect2: ld returned 1 exit status # dmake: Error code 129, while making 'blib\arch\auto\XS\Test\Test.dl +l' # Failed test ' make test exited normally' # at t/xs.t line 57. # got: '65280' # expected: '0' # dlltool --def Test.def --output-exp dll.exp # g++ -o blib\arch\auto\XS\Test\Test.dll -Wl,--base-file -Wl,dll.base +-mdll -s - L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Test.o C:\str +awberry\pe rl\lib\CORE\libperl510.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi +32 -lwinsp ool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luu +id -lws2_3 2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp # /mingw/lib/dllcrt2.o:dllcrt1.c:(.text+0xe5): undefined reference to +`__dyn_tls _init_callback' # collect2: ld returned 1 exit status # dmake: Error code 129, while making 'blib\arch\auto\XS\Test\Test.dl +l' # Looks like you failed 2 tests of 5. t/xs........................ Failed 2/5 subtests Test Summary Report ------------------- t/oneliner.t (Wstat: 512 Tests: 16 Failed: 2) Failed test number(s): 13-14 Non-zero exit status: 2 t/xs.t (Wstat: 0 Tests: 5 Failed: 2) Failed test number(s): 4-5 Files=61, Tests=963, 79 wallclock secs ( 0.62 usr + 0.06 sys = 0.69 +CPU) Result: FAIL Failed 2/61 test programs. 4/963 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' MSCHWERN/ExtUtils-MakeMaker-6.64.tar.gz C:\strawberry\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports MSCHWERN/ExtUtils-MakeMaker-6.64.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: MSCHWERN/ExtUtils-MakeMaker-6.64.tar.gz : make_test NO
as two tests are failing... :-(

Replies are listed 'Best First'.
Re^3: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows
by Anonymous Monk on Feb 07, 2013 at 10:47 UTC

    but i was not able to update Make Maker: as two tests are failing... :-(

    Ignore the tests, they're broken tests,  cpan -f -i ExtUtils::MakeMaker

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1017607]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found