Jump to content
The Uniform Server Community
Sign in to follow this  
Pockets

How To Install PPMPackages

Recommended Posts

I need to add several packages to the Perl lib. on my XP server.

I found what I needed from http://ppm.activestate.com/PPMPackages/zip...s-only/Windows/ but don't know how install into uniserver.

There's not a ppm file to load up the modules.

ex: ppm install Unix.ppd

 

Actually, I wouldn't mind installing the full Perl version into uniserver if possible, but will settle for adding PPMPackages as they are needed.

Share this post


Link to post
Share on other sites

Download the Windows ActivePerl AS Package from http://www.activeperl.com.

 

Copy over all files named ppm or has ppm in front of them from the "perl/bin" folder to the "W:/usr/bin" folder.

 

Try it and see if it will work...

 

Thanks

Share this post


Link to post
Share on other sites

Well it looks like it's going to be more complicated then dropping the ppm files in the bin dir.The PPM configuration (actually it's all in a .bat file) apparently wants to read the windows registry to find another module (TieRegistry.pm) that it uses to compile the ppd's.

After coping the ppm files and running the cmd: ppm install Unix.ppd

E:\Server\UniServer3_2a\diskw\usr\bin>ppm install Unix.ppd
Can't locate Win32/TieRegistry.pm in @INC (@INC contains: E:/Server/UniServer3_2 a/diskw/usr/lib .) at ppm.bat line 15.
BEGIN failed--compilation aborted at ppm.bat line 15.

I think my solution is to do a full Perl install outside of uniform server and point my cgi scripts to use it.

Share this post


Link to post
Share on other sites

Wait.. thats not the problem... that module might not be in the Uniform Server's default lib. You have to understand that not every Perl Library is in there..

 

If the server really does say this:

E:\Server\UniServer3_2a\diskw\usr\bin>ppm install Unix.ppd
Can't locate Win32/TieRegistry.pm in @INC (@INC contains: E:/Server/UniServer3_2 a/diskw/usr/lib .) at ppm.bat line 15.
BEGIN failed--compilation aborted at ppm.bat line 15.

 

Then it knows where to find the libraries.... but that module might not be there.. .so check .. you may have to copy it over... :P

 

Thanks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...