perl mod configuration issue - need help please

Problems with the Windows version of XAMPP, questions, comments, and anything related.

perl mod configuration issue - need help please

Postby longlostname » 19. September 2006 01:53

I am a newbie so please be patient with me.

I am trying to utilize PERL and I am having some issues. I am wanting to add the following lines to my PERL script:
use Apache::Constants qw(OK);
use Apache::Request;
use Apache::Util qw(escape_html);

Based on my reading, in order to do this, I must add these packages to my local repository using the following example command:
ppm
install Apache::Constants

When I do this, I get the following error: Installing package 'Apache-Constants'...
Error installing package 'Apache-Constants': Could not locate a PPD file for package Apache-Constants.

I have updated my repository list with 2 more repository servers but I still am not able to get the install to work.

I did a default install of XAMPP, except for the fact that everything is installed on my D drive instead of the C drive. I am also getting errors using the verify command in PPM.

*----------------------------------------------------------------
D:\Program Files\xampp\perl\bin>ppm.bat verify
Package 'Archive-Tar' is up to date.
Package 'Compress-Zlib' is up to date.
Package 'Digest-MD5' is up to date.
Package 'File-CounterFile' is up to date.
Package 'Font-AFM' is up to date.
Package 'HTML-Parser' is up to date.
Package 'HTML-Tagset' is up to date.
Package 'HTML-Tree' is up to date.
Package 'MIME-Base64' is up to date.
Package 'PPM' is up to date.
Package 'SOAP-Lite' is up to date.
Package 'URI' is up to date.
Package 'XML-Element' is up to date.
Package 'XML-Parser' is up to date.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Element 'IMPLEMENTATION' cannot contain a child element 'PROVIDE' at D:/Program
Files/xampp/perl/site/lib/PPM.pm line 1658.
Can't locate object method "rvalidate" via package "PPM::XML::PPD::PROVIDE" at D
:/Program Files/xampp/perl/site/lib/PPM/XML/ValidatingElement.pm line 38.
*----------------------------------------------------------------

My PPM search command comes back blank:
*----------------------------------------------------------------
D:\Program Files\xampp\perl\bin>ppm.bat search
D:\Program Files\xampp\perl\bin>
*----------------------------------------------------------------

Here is the version number for PPM:
*----------------------------------------------------------------
D:\Program Files\xampp\perl\bin>ppm.bat version
2.1.6
*----------------------------------------------------------------

Here is the PPM Query results:
*----------------------------------------------------------------
D:\Program Files\xampp\perl\bin>ppm.bat query
Archive-Tar [0.072 ] module for manipulation of tar archives.
Compress-Zlib [1.08 ] Interface to zlib compression library
Digest-MD5 [2.11 ] Perl interface to the MD5 Algorithm
File-CounterFile [0.12 ] Persistent counter class
Font-AFM [1.18 ] Interface to Adobe Font Metrics files
HTML-Parser [3.19 ] SGML parser class
HTML-Tagset [3.03 ] Data tables useful in parsing HTML
HTML-Tree [3.11 ] HTML syntax tree builder
MIME-Base64 [2.11 ] Encoding and decoding of base64 strings
PPM [2.1.6 ] Perl Package Manager: locate, install, upgrade
software packages.
SOAP-Lite [0.46 ] Library for Simple Object Access Protocol (SOAP)
clients and servers in Perl
URI [1.11 ] Uniform Resource Identifiers (absolute and relative)
XML-Element [1.07 ] Base element class for XML elements
XML-Parser [2.27 ] A Perl module for parsing XML documents
libnet [1.07.03] Collection of Network protocol modules
libwin32 [0.17.2 ] A collection of extensions that aims to provide
comprehensive access to the Windows API.
libwww-perl [5.51 ] Library for WWW access in Perl
*----------------------------------------------------------------

Here are my PPM SET results:
*----------------------------------------------------------------
PPM> set
Commands will be confirmed.
Temporary files will be deleted.
Download status will be updated every 16384 bytes.
Case-insensitive searches will be performed.
Package installations will continue if a dependency cannot be installed.
Tracing info will not be written.
Screens will pause after 24 lines.
Query/search results will be verbose.
Current PPD repository paths:
ActiveState Package Repository: http://ppm.ActiveState.com/cgibin/PPM/pp
mserver-5.8-windows.pl?urn:/PPMServer
ppmia: http://ppm-ia.ActiveState.com/PPM/ppmse ... PM/Server/
SQL
defaultas: http://www.ActiveState.com/cgibin/PPM/p ... x?urn:/PPM
Server
Packages will be built under: C:\DOCUME~1\cpanrun\LOCALS~1\Temp\1
*----------------------------------------------------------------

I downloaded all of this from:
http://www.apachefriends.org/en/xampp-windows.html
XAMPP Windows 1.5.4
Perl 5.8.8-2.2.3
Installation with the Installer


This is the first time I have tried to add a module so I suppose that I am missing a step. I have completely uninstalled all of the XAMPP/PERL software and re-installed fresh and still have the same issues. Can someone please look at this and let me know what the issue is?

Can you please tell me how to resolve the error message in my PPM VERIFY statement?
Can you please tell me what I am doing wrong when trying to install an additional module?

Thanks
longlostname
 
Posts: 1
Joined: 19. September 2006 01:25

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 233 guests