Few people actually autosplit anymore. I think the secret would be to take the Autoloader out of your new module.pm
On Wed, Aug 13, 2008 at 12:55 PM, Josef Wolf <[EMAIL PROTECTED]> wrote: > Hello, > > I am about to write an XS interface to a C library. To make #defines > for error codes available in perl, I used this command: > > h2xs -O -b 5.8.0 -x -n Module module.h $(LIBS) > > With this, I keep getting the following error message: > > Can't locate auto/Module/autosplit.ix in @INC (@INC contains: [ ... > snip ... ]) at /usr/lib/perl5/5.8.7/AutoLoader.pm line 160. > at Module/lib/Module.pm line 9 > > This error message disappears if I add the -A option to h2xs, but > then I don't have the #defines from C available in perl. > > Any ideas how to generate this autosplit.ix file? Or how to tell > h2xs to include the #defines without using autosplit? > > -- If riding in an airplane is flying, then riding in a boat is swimming. 104 jumps, 42.2 minutes of freefall, 81.3 freefall miles.