----- Original Message ----- From: "Sisyphus" <[EMAIL PROTECTED]>
> > With Inline 0.43 you can ignore that stuff about the .inl file - and yes, I > can't find it either. > > Once the module has been compiled you can then build the ppm package with: > tar cvf Math-Simple.tar blib > gzip --best Math-Simple.tar.gz > nmake ppd > > You then have to edit the ppd file > Change the line: > <CODEBASE HREF="" /> > > so that it gives the location of the tarball relative to the location of > the > ppd. If both files are in the same directory, then the above line becomes: > <CODEBASE HREF="Math-Simple.tar.gz" /> > > Then you can install with: > ppm install Math-Simple.ppd > > (I've just redone it with the C code in a separate file and it seems to > work > fine irrespective of whether the C code is in a separate file or in the pm > file.) > Oops - I left out a couple of important steps regarding the case where the C code is in a separate src/simple.c. After you've compiled the module, you first need to get the (hexadecimal) MD5 of src/simple.c. You simply 'use Digest::MD5' to determine what it is. Then, in 'blib/lib/math/simple.pm' you replace 'src/simple.c' with ' 6e0140afc99068a3f2b4a69c410d1394' or whatever your md5 checksum happens to be. (That's what my checksum was, but any variance in white space will alter it.) After that is done, you can then tar the blib, gzip it, and make the ppd as outlined earlier. Apologies for yesterday's misinformation. Cheers, Rob
