On 31/10/02 01:59 +0000, Christian Goetze wrote: > > > Did you try writing it as an Inline *module* (like Math::Simple in the > > distro)? > > If with that you mean using this: > > use Inline::MakeMaker; > # See lib/ExtUtils/MakeMaker.pm for details of how to influence > # the contents of the Makefile that is written. > WriteInlineMakefile( > 'NAME' => 'Yax', > 'VERSION_FROM' => 'Yax.pm', # finds $VERSION > 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1 > ); > > and this: > > package Yax; > > require 5.005_62; > use strict; > use warnings; > > use vars qw($VERSION @ISA @EXPORT); > require Exporter; > @ISA = qw(Exporter); > @EXPORT = qw(); # doesn't seem to be necessary > $VERSION = '0.20'; > > use Inline (C => 'DATA', > NAME => 'Yax', > VERSION => '0.20', > MYEXTLIB => '/home/cg/Yax/libyax.a', > ); > > 1; > > __DATA__ > > Then yes, we did build a module. It installed a Yax.so into site_perl and > everything you'd expect. > > Running the embedded perl with strace showed that no attempt was made to > load Yax.so, so I'm assuming something is wrong with the loader logic...
Thanks for the report. I'll look into for the next release. Cheers, Brian