hey all,

C/Makefile.PL, for Inline v0.44 has a bug in it for determining where your c compiler 
is, look at: 

line 14: if ($cc =~ m|/:\[|) {


Note that it is looking for the string /:[ as a delimiter, not / or : or [ . The 
following
patch fixes that. Apply with patch -p1 -d <dir> < patch :

diff -rc Inline-0.44/C/Makefile.PL Inline-0.44.new/C/Makefile.PL
*** Inline-0.44/C/Makefile.PL   Mon Oct 28 10:26:08 2002
--- Inline-0.44.new/C/Makefile.PL       Thu Jul 24 17:03:34 2003
***************
*** 8,14 ****
  
  my $found = 0;
  my $delim = $^O eq 'MSWin32' ? ';' : ':';
! if ($cc =~ m|/:\[|) {
      $found = -f "$cc$exe";
  }
  else {
--- 8,14 ----
  
  my $found = 0;
  my $delim = $^O eq 'MSWin32' ? ';' : ':';
! if ($cc =~ m|[/:\[]|) {
      $found = -f "$cc$exe";
  }
  else {

Reply via email to