8/1/2023 0 Comments Activeperl offline installer![]() ![]() Re: A guide to installing modules for Win32 -> Link to 2022 Edition Thanks for writing the article, it was helpful. Sorry if this is a rookie mistake, but I didn't see it mentioned here so I thought I would post. Once I renamed the files to "Foo-Bar-0.1.ppd" and "Foo-Bar-0.1.tar.gz" they were installed correctly. When I told PPM to install the module it claimed success, but wouldn't actually copy the files to the local machine. I created a local repository on a network drive and copied over "Foo-Bar.ppd" and "". tar.gz filename does not include the version number, PPM will not actually install the file when downloading from a local repository. I'd like to share one other PPM quirk, as it took me a few hours to figure out. On that matter, is there a list of repositories available? One small suggestion (because it took me a little while to work it out.) in the section "Creating a local repository" where you talk about downloading the ppd file and tarball it would probably help to mention that these files are downloaded from an existing repository. UPDATE: So, I wrote a Script to update your PPM Repositories So, obvious point, but you might want to mention that it's worth checking a repository with your web browser, or pinging it, before adding it, since ppm is so slow for this. This caused ppm to "sit and wait" for an awfully long time, with no feedback for several minutes, until it finally failed for me. Jenda's repository appears to be down at the moment. Re: A guide to installing modules for Win32 To invoke ppm, simply type ppm at the Windows console ("DOS") command line. You cannot tell if the supplier added evil code to the XS-part of a module. Core modules are not part of ppm's database.Maintainance of a database of installed modules and module versions.Īs always, there are some tripwires and things you should know.Automatic integration of module documentation into the html-documentation that comes with ActivePerl.Automatic resolution of module dependencies.Automatic installation and deinstallation of modules.No need for a C/C++ compiler and 'make' utility.Perl modules built for Perl 5.8 are not binary compatible with modules build for Perl 5.6! That means they are not interchangeable. It differs slightly from the ppm that came with Perl 5.6 The following describes the ppm Version that comes with Perl 5.8.0 and above. With it you can download and install modules, with or without XS-Extensions, with a few keystrokes. ppm is a tool for installing modules, similar to the CPAN-shell. It ships with a tool named ppm, aka the Programmer's Package Manager. The probably most popular port of Perl for Win32 is ActivePerl from ActiveState. The answer is: use a precompiled version. Most Windows installations don't have a C-compiler, and even if there is one, the compilation of the XS-extensions is a tricky thingy, that can easily fail. Installing modules directly from CPAN is easy, as long as the module contains no XS-extensions (C-code). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |