[ReDev] installing ReDIF-Perl with 5.24

Thomas Krichel krichel at openlib.org
Wed Oct 19 13:54:24 UTC 2016


  It looks like it just does not look in the current directory to
  find the Configure script. Adding the current path fixes.

  Here is a proposal for the beginning for Makefile.PL

use Cwd;
use ExtUtils::MakeMaker;

sub configure {
  print "I am preparing to install the ReDIF-perl package.\n";
  my $pwd = &Cwd::getcwd();
  my $configure_script="$pwd/Configure";
  if(not -f $configure_script) {
    die "I can't see my configure script $configure_script.";
  }
  do ( "$configure_script" ) or die "My configure script $configure_script failed.";
}
        
  I suspect that this is o/s independent. Cwd is a core module.
  
-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel



More information about the ReDIF-dev mailing list