Sorry I wan't clearer. Here's an example of what I'm doing. Rabbit is

the new module version 0.14. It is trying to 'use' an installed module 'Turtle' version 1.17. They both use Inline::C. Inline is generating this error during make:

The version '0.14' for module 'Turtle' doe not match
the version '1.17' for Inline section 'Turtle'.



Here's the example Inline module:

#!/usr/bin/perl
package Rabbit;
my $VERSION = '0.14';
use Inline C => 'DATA',
  VERSION => '0.14',
  NAME => 'Rabbit',
  OPTIMIZE => '-g',
  CLEAN_AFTER_BUILD => 0,
  FILTERS => 'Strip_POD',
  ;

use 5.008;
use strict;
use warnings;
use Turtle;   # <-- the problem happens here during compile

sub gauge_speed {
  my $self = shift;
  $self->proc_speed();
  my $turtle_result = Turtle->relative_speed($self->speed);
  die $! unless $turtle_result;
  return $turtle_result;
}

Thanks!




Reply via email to