
exer
Novice
Nov 10, 2011, 11:55 AM
Post #1 of 16
(2775 views)
|
|
Cannot install perl modules
|
Can't Post
|
|
Hi I have issues installing perl modules via ppm. For instance, i want to instal Win32::API::Prototype (www.roth.net). 1) I created a new repository (MyNewRepository) in a folder "packages" - C:\Perl\bin\packages. 2) Then i created a new folder x86 within the "packages" folder - C:\Perl\bin\packages\x86. 3) I put ppd file in the "packages" folder. Win32-API-Prototype.ppd (relative paths) :
<SOFTPKG NAME="Win32-API-Prototype" VERSION="0,2002,12,17"> <TITLE> Win32::API::Prototype </TITLE> <ABSTRACT> The Win32::API::Prototype module. Simplifies using Win32::API by accepting a C function prototype and exposing the function by name in the main namespace.</ABSTRACT> <AUTHOR> Roth Consulting (http://www.roth.net/) </AUTHOR> <IMPLEMENTATION> <!-- Perl Version="5005" --> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86" /> <DEPENDENCY NAME="Win32-API" VERSION="0,0,0,0" /> <CODEBASE HREF="x86/Win32-API-Prototype.tar.gz" /> </IMPLEMENTATION> <IMPLEMENTATION> <!-- Perl Version="5005_AS" --> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-object" /> <DEPENDENCY NAME="Win32-API" VERSION="0,0,0,0" /> <CODEBASE HREF="x86/Win32-API-Prototype.tar.gz" /> </IMPLEMENTATION> <IMPLEMENTATION> <!-- Perl Version="5006" --> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread" /> <DEPENDENCY NAME="Win32-API" VERSION="0,0,0,0" /> <CODEBASE HREF="x86/Win32-API-Prototype.tar.gz" /> </IMPLEMENTATION> <IMPLEMENTATION> <!-- Perl Version="5008" --> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <DEPENDENCY NAME="Win32-API" VERSION="0,0,0,0" /> <CODEBASE HREF="x86/Win32-API-Prototype.tar.gz" /> </IMPLEMENTATION> </SOFTPKG> 4) I put Win32-API-Prototype.tar.gz inside C:\Perl\bin\packages\x86 5) cmd(from packages folder) -> ppm install Win32-API-Prototype.ppd Returns: "ppm install failed: The PPD does not provide code to install for this platform" Any help would be greatly appreciated. Thanks Perl: ActivePerl-5.14.2.1402-MSWin32-x86 System: WinXP pro sp3
|