perl - Installing cpan Modules in cygwin fails -


i trying install different perl modules cpan in cygwin-32bit enviroment , errors of same kind. 1 trying install net::ssleay, did make, install , tried force install too, nothing seemed work.

drmariad@drmariad-mobl ~/.cpan/build/net-ssleay-1.70-edszrw$ make install  files found in blib/arch: installing files in blib/lib architecture dependent library tree chmod 755 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto//net/ssleay/ssleay.dll /bin/find /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/ -xdev -name \*.dll /bin/rebase -sot - /bin/find: paths must precede expression: /bin/rebase usage: /bin/find [-h] [-l] [-p] [-olevel] [-d help|tree|search|stat|rates|opt|exec] [path...] [expression] makefile:731: recipe target 'pure_install' failed make: *** [pure_install] error 1 

most of time bin/find fails message in installations, don't know how change behaviour. got errors , failures of modules tryed install.

my update-to-date cygwin comes with

  • extutils::makemaker 6.57_05
  • extutils::mm_cygwin 6.57_07

that's odd few reason, care version of mm_cygwin buggy.

sub install {     my($self, %attribs) = @_;     $s = extutils::mm_unix::install($self, %attribs);     return '' unless $s;     return $s unless %{$self->{xs}};      $installdirs = $self->{installdirs};     $installlib = $self->{"install". ($installdirs eq 'perl' ? 'archlib' : uc($installdirs)."arch")};     $dop = "\$\(destdir\)$installlib/auto/";     $dll = "$dop/$self->{fullext}/$self->{baseext}.$self->{dlext}";     $s =~ s|^(pure_install :: pure_\$\(installdirs\)_install\n\t)\$\(noecho\) \$\(noop\)\n|$1\$(chmod) \$(perm_rwx) $dll\n\t/bin/find $dop -xdev -name \\*.$self->{dlext} /bin/rebase -sot -\n|m if (( $config{myarchname} eq 'i686-cygwin') , not ( exists $env{cygport_package_version} ));     $s; } 

you add missing | /usr/lib/perl5/5.14/extutils/mm_cygwin.pm quick permanent fix.


alternatively, cygwin has package named perl-extutils-makemaker upgrade distribution 7.04_01.

...except bug still present there. if have package installed, file fix /usr/lib/perl5/vendor_perl/5.14/extutils/mm_cygwin.pm.


alternatively, can upgrade extutils::makemaker latest dev release (which uses different command).

cpan b/bi/bingos/extutils-makemaker-7.05_22.tar.gz 

Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -