[wpkg-users] Installing Perl (PPM) modules with WPKG

Ari Constancio ari.constancio at gmail.com
Wed Mar 31 17:52:52 CEST 2010


On Wed, Mar 31, 2010 at 2:48 PM, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> Ari Constancio wrote:
>
>> 2010-03-31 12:51:42, DEBUG   : Executing command: cmd /c
>> c:\perl\bin\ppm install %SOFTWARE%\perl\ppm\Win32-Process-Info.ppd
>> 2010-03-31 12:52:04, ERROR   : Could not process (install) package
>> 'PPM-Win32::Process::Info' (ppm-win32-process-info):|Exit code
>> returned non-successful value (1) on command 'cmd /c c:\perl\bin\ppm
>> install %SOFTWARE%\perl\ppm\Win32-Process-Info.ppd'.
>>
>> Unfortunately, I can't find further details about whether I'm using a
>> bad syntax for ppm or else something's wrong with the arguments (the
>> module's package is in the same directory as the .ppd file).
>
> Could be it's excessive output, as Rainer mentioned  - try redirecting
> everything to >NUL.

Thanks for all help. It's solved now.

The location of the Perl module .tar.gz file is kept in the .ppd file.
The correct way to keep this location seems to be

<CODEBASE HREF="wpkg\software\perl\ppm\Win32-Process-Info-1.014-PPM56.tar.gz" />

if the file is \\server\wpkg\software\perl\ppm\Win32-Process-Info-1.014-PPM56.tar.gz
.

As I had <CODEBASE HREF="Win32-Process-Info-1.014-PPM56.tar.gz" />,
the installer complained that  'ppm install failed: No file at
\\ntinstall\Win32-Process-Info-1.014-PPM56.tar.gz'.
Now, it shows '8 files installed'.

The line <install cmd="cmd /c ppm install
%SOFTWARE%\perl\ppm\Win32-Process-Info.ppd >c:\ppminstall.log
2>&1" /> works correctly.

Ari Constancio



More information about the wpkg-users mailing list