msys2 / MSYS2-packages

Package scripts for MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
1.29k stars 487 forks source link

perl5 package is broken (perl-5.22.1-1-x86_64) #693

Open jibaer opened 8 years ago

jibaer commented 8 years ago

The package of perl5 is broken. In tar there are symlinks that can not be created o win. To do a basic fix the symlink for the perl5-dll has to be manualy created : ln -s /usr/lib/perl5/core_perl/CORE/msys-perl5_22.dll /usr/bin/msys-perl5_22.dll

jibaer commented 8 years ago

There is another problem in the perl-package. in file /usr/share/perl5/core_perl/file/path.pm line 34 the check for Need_Stat_Check is incomplete because $^O on msys is msys. line 34 should be 'my $Need_Stat_Check = !(($^O eq 'MSWin32') or ($^O eq 'msys'));'

JPeterMugaas commented 7 years ago

I wonder if the current 5.22.0 version of perl should be upgraded to 5.24.0 or perhaps, 5.22.2. Ideally, we would probably want the newest version because sometimes, modules aren't updated for flawed older versions causing bitrot.

I did notice some problems with perl and Perl:LIbXML in mingw64 that would cause me problems compiling gnome stuff.

plicease commented 7 years ago

It may also be useful to submit some of the patches required for msys to p5p so that msys2 can become a platform supported by Perl. I think that msys2 perl in some ways has the potential to be much better more viable for Perl development on windows than Strawberry, but the lack of awareness in the Perl community means that many CPAN modules do not work correctly. Many of these modules need only to check for $^O eq 'msys' in addition to 'MSWin32', but the lack of awareness makes CPAN difficult to use under msys2.

jayvdb commented 5 years ago

Note there is an issue related to newer versions also https://github.com/msys2/MSYS2-packages/issues/1611