5/7/2023 0 Comments Strawberry perl![]() ![]() I actually liked both which is a good thing! One can't go wrong with either of these. I gave both distributions a run for a couple of weeks. And I wonder: What should I pick to get started? If I pick one how hard, is it to migrate to the other? There's a clear trade-off between those two. It also says that ActivePerl has a lot of prepackaged modules which are easier to install with PPM. Wikipedia says that Strawberry Perl comes with additional development tools to compile CPAN modules if necessary. I read about two rival distributions available for Windows platform (I guess there's just Perl on other OSes :). Close the shell and open a new shell for the changes to take effectĪfter that I was able to install the modules from CPAN again without compilation errors.I'm totally new to Perl, but I'd like to try it out. *note: again the direcotries might be different to you depending on which binaries are confliciting with perl* Remove other C compilers and other conflicting binaries from the Path environment variable (only do this if the first step doesn't solve the problem) (for me, the names of the directories were: *note: your path name to strawberry perl might differ depending on where you installed it* Move the perl directories to the top of the PATH environment variable. ![]() Make sure you don't have any other C binaries that interferes with the perl C binaries in the env var PATH (both system and user version). Hello, I am also learning Perl and encountered the same problem installing various modules from CPAN (not only Wx but also Tk and others) in 2022.įor me, the problem was multiple C bin locations in the OS's path conflicting in Perl MAKE steps. Stopping: 'install' failed for 'M/MD/MDOOTSON/'. Gmake: Leaving directory 'C:/STRAWB~1/cpan/build/Wx-0.9932-0/ext' Gmake: Leaving directory 'C:/STRAWB~1/cpan/build/Wx-0.9932-0/ext/html' Return (void **)calloc(sz, sizeof(void*)) Ĭ:\STRAWB~1\perl\lib\CORE/perl.h:175:16: note: suggested alternative: 'my_fork' (*PL_Mem->pCalloc)(PL_Mem, (num), (size))Ĭ:\STRAWB~1\perl\lib\CORE/XSUB.h:612:33: note: in expansion of macro 'PerlMem_calloc'Ĭ:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h:121:25: note: in expansion of macro 'calloc' \./cpp/wxapi.h:57,Ĭ:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include/wx/hashmap.h: In static member function 'static void** _wxHashTableBase2::AllocTable(size_t)':Ĭ:\STRAWB~1\perl\lib\CORE/perl.h:175:16: error: 'my_perl' was not declared in this scopeĬ:\STRAWB~1\perl\lib\CORE/embedvar.h:38:18: note: in expansion of macro 'aTHX'Ĭ:\STRAWB~1\perl\lib\CORE/embedvar.h:54:19: note: in expansion of macro 'vTHX'Ĭ:\STRAWB~1\perl\lib\CORE/iperlsys.h:818:4: note: in expansion of macro 'PL_Mem' IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D_USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-IC:\STRAWB~1\perl\lib\CORE" -DWXPL_EXT -DHAVE_W32API_H -D_WXMSW_ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DHAVE_W32API_H -D_WXMSW_ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA -DWXPL_EXT -DHAVE_W32API_H -D_WXMSW_ -DNDEBUG -D_UNICODE -DWXUSINGDLL -DNOPCH -DNO_GCC_PRAGMA Html.c IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\lib -IC:\Strawberry\perl\site\lib\Alien\wxWidgets\msw_3_0_2_uni_gcc_3_4\include -I. Code: Select all "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv - Html.xsc Html.c ![]()
0 Comments
Leave a Reply. |