----- Original Message -----
From: "Sisyphus" <[EMAIL PROTECTED]>
To: "Clodius, Bob" <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 4:54 PM
Subject: Re: making a ppd module



 ----- Original Message -----
 From: "Clodius, Bob" <[EMAIL PROTECTED]>

 >
 > I had already tried removing the "Stuff" from the  NAME =>
 > 'Math::Simple::Stuff', and then runniing
 > nmake test.  But when I run this there is no *.inl file created that
> contains
 > the MD5 key that one is suppose to replace in the Simple.pm file.
 >
 > Thanks for any help,
 >

 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.)

Cheers,
Rob


Reply via email to