----- Original Message ----- 
From: "Nicholas Wehr" <[EMAIL PROTECTED]>

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

Yep - I get the same error when I try to build an Inline C module that uses
an (already built) Inline C module. Quickest fix I could find was to make
sure both modules have the same version number ..... not a very satisfactory
solution.

>
>
> Here's the example Inline module:
>
> #!/usr/bin/perl
> package Rabbit;
> my $VERSION = '0.14';
> use Inline C => 'DATA',
>    VERSION => '0.14',

Seems that specifying 'VERSION' is mandatory - and if that number doesn't
match both $Rabbit::VERSION and $Turtle::VERSION, then you'll get a fatal
version mismatch error. This would imply that you (or someone else) will
have to hack the Inline module source to get it working properly.

Another workaround would be to build Turtle in such a way that it doesn't
rely on the Inline module. (ie just grab the Turtle.xs file that Inline
builds, and use that file to create a usual cpan-type source distro - and
build Turtle from *that* source.)

Cheers,
Rob

Reply via email to