Page 1 of 1

Failed to load PPM_DAT file

PostPosted: 18. July 2012 17:26
by conservationist
Hi there! Trying to install a library for use with Perl. Here's what I got when trying to run ppm:

Code: Select all
>ppm
Failed to load PPM_DAT file
Can't use an undefined value as a SCALAR reference at C:/Program Files/xampp/per
l/site/lib/PPM.pm line 1672, <DATA> line 41.


Does anyone recognize this error or have any suggestions? Thanks!

Re: Failed to load PPM_DAT file

PostPosted: 18. July 2012 20:31
by JonB
Please let me know what library you were trying to install?

:?:

Thanks
8)

Re: Failed to load PPM_DAT file

PostPosted: 19. July 2012 04:39
by conservationist
None -- just trying to start PPM and it exits with the message above! I didn't even get the chance to make a more complicated crash by installing a specific library.

Re: Failed to load PPM_DAT file

PostPosted: 19. July 2012 05:26
by Altrea
I don't know perl much, but maybe perl or a component of this get in trouble with the whitespace in your installation path!?

Re: Failed to load PPM_DAT file

PostPosted: 19. July 2012 16:29
by JonB
@ conservationist

Altrea has a good point -

Many parts of XAMPP don't work in folders with special characters (yes the space in a folder name is a 'special character' in many filesystems)

The preferred location for XAMPP (on Windows) is in the root of a drive.

However - I do not know if that will fix your issue. (I think you will get a different error)

@ Altrea - now how did I miss that, LOL ??? :mrgreen:

Good Luck
8)

Re: Failed to load PPM_DAT file

PostPosted: 19. July 2012 16:33
by Altrea
JonB wrote:@ Altrea - now how did I miss that, LOL ??? :mrgreen:

Too much sleeping and eating? :lol:

Re: Failed to load PPM_DAT file

PostPosted: 19. July 2012 16:38
by JonB
that must be it.... :shock:

Re: Failed to load PPM_DAT file

PostPosted: 20. July 2012 16:12
by JonB
Although the OP has not posted back to this thread:

General answer for 'Full versions" of XAMPP -

Use the XAMPP 'Shell' Button in the Control Panel for CLI (Command Line Interface) or "Command Prompt/DOS Window" tasks like PPM or PEAR. What the XAMPP Shell does is set the environment variables and paths correctly so Language and Database utilities will know where components are installed. This is needed because XAMPP's components (in any version) are not 'installed' as far as the OS is concerned, thus the environment variables (SET) location and paths (PATH) have never been written to the OS configuration.

Good Luck to all
8)