Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: HowTo build and distribute a PPMed module for Win32

by $code or die (Deacon)
on Sep 20, 2001 at 02:24 UTC ( #113484=note: print w/ replies, xml ) Need Help??


in reply to HowTo build and distribute a PPMed module for Win32

++. Great tutorial. Thanks!

Unfortunately if you do a...

ppm> set repository idnopheq http://idnopheq.perlmonk.org/perl/packag +es ppm> set save
You cannot use the ppm search facility. The install ModuleName works great though. That's how far I got last time I did a PPM. It's a bit frustrating! It looks like you need to use PPM::SOAPServer to enable this. Unfortunately, I don't think this runs on Windows.

The way that I got around using MSVC was to compile ActivePerl from source. You don't get the html docs or ppm, but if you compile Activeperl over an existing copy of ActivePerl, ppm and the html docs still work.

Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;


Comment on Re: HowTo build and distribute a PPMed module for Win32
Download Code
Re: Re: HowTo build and distribute a PPMed module for Win32
by idnopheq (Chaplain) on Sep 20, 2001 at 03:40 UTC
    What version of AS perl and ppm are you running? When I do a search in PPM, I get the ppds in my repository. Maybe mine's a fluke tho, as I have had the same AS distribution on multiple machines and received varying results. Eh, ~sigh~, YMMV! :-)

    I do like the idea of PPM and the flexibility/raw power of CPAN. I wish the two could come together. i.e. CPAN checking to see if there's a ppd for a module; installing that versus making/compiling the source; building dependencies ( which PPM does not do ); etc.

    Maybe someday ...

    HTH
    --
    idnopheq
    Apply yourself to new problems without preparation, develop confidence in your ability to to meet situations as they arrise.

      I have ActivePerl 629 - which I compiled, so PPM would be the one that comes with build 628.

      I'll try on some other machines and see what happens. But I was looking through the PPM.pm source and it implies that repositories can have "Summary" files. These summaries somehow aid the search routines. I am guessing that PPM::SOAPServer is a SOAP service that acts as the repository and searches the PPD files returning descriptions etc that match the search. But maybe I have the wrong end of the stick!

      Simon Flack ($code or die)
      $,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
      =~y'_"' ';eval"die";print $_,lc substr$@,0,3;
        IIRC, this bit of magic is done via XML::Simple and a simple looking for ppd files fuzzily matching the file name based on the search criteria and the listed repositories. I'm on a Win95 box <sympathy is appreciated> w/o anything remotely perlish installed, so I cannot show the output of my PPM.

        I would not, however, deny that the modules I have or the site is w/o flaws. If it is, lemme know. I claim to be no expert, tho I play one on TV.

        Oh! You know what! I have "multi-threaded" in the ppd files, which I dunno if the Siemen's port compiles as such. Thus, you may not see it! Hmmmmm ... Try grabbing the ppd and tar.gz and edit the ppd file - removing the line w/ "multi-threaded" on it ... wonder if it will search that way ( using the --location path or URL in the search command ) ...

        UPDATE: I have heard a while back that ActiveState was ditching SOAP in PPM, but I see now that that is incorrect. SOAP is used in the search capability, so no I head out and find how to set up the SOAP server piece ... MY BAD!

        HTH
        --
        idnopheq
        Apply yourself to new problems without preparation, develop confidence in your ability to to meet situations as they arrise.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2014-07-29 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls