Hello.
 
I have been having some difficulty installing your HTML-Parser package under Perl.
Allow me to give you a bit of background, first.
 
I am in the process of setting up a Web site on a host that allows
CGI/Perl.  I wanted a script that would send me e-mail from a form.
 
I got on CPAN and downloaded CGI-Mail, written by Martin Gleeson
([EMAIL PROTECTED]). I FTP'd it to the server and got errors trying
to run it.  Reading the documentation, I discovered that I
also needed a LWP module.
 
During this process, I also realized that I needed a copy of Perl on my local
machine to be able to test these scripts before FTP'n them to the site.
 
So, back on CPAN I go, I get Perl for DOS and get libwww-perl, written by Gisle Aas.
Reading the documantation for it, I find that I also need other modules -
and they must be installed first.  These modules are:
 
    URI
    MIME-Base64
    HTML-Parser
    libnet
    Digest::MD5
 
So, back on CPAN I go. I get the modules listed. I then attempt to install them.
 
A lot of my problem is that I have just recently decided to move to Perl,
and I really don't understand the installation of modules.  I also don't understand
why a C make utility is needed, however I had one, and installed it where I have
Perl located.
 
Below is screen dumps of my situation.
 
=============================================================================
 
This is the version of perl that I have installed.
 
D:\PERL\LIB\PERL5\HTMLPAR>perl -v
 
This is perl, version 5.005_03 built for dos-djgpp
 
Copyright 1987-1999, Larry Wall
 
MS-DOS port Copyright (c) 1989, 1990, Diomidis Spinellis
djgpp v2 port (jpl5003c) by Hirofumi Watanabe, 1996
djgpp v2 port (perl5004+) by Laszlo Molnar, 1997-1998
 
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.
 
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
 
=============================================================================
 
This is where perl is installed.
 
D:\PERL\LIB\PERL5\HTMLPAR>ff perl.exe
 
FileFind, Advanced Edition 4.50, (C) Copr 1987-88, Peter Norton
 
D:\PERL
        perl.exe       288,884 bytes  10:53 pm  Sat May  1 99
 
D:\PERL\BIN
        perl.exe       288,884 bytes  10:53 pm  Sat May  1 99
 
2 files found
 
=============================================================================
 
This is what I get when I run makefile.pl
 
D:\PERL\LIB\PERL5\HTMLPAR>perl makefile.pl
 
Unable to find a perl 5 (by these names: d:/perl/perl.exe miniperl perl perl5 pe
rl5.00503, in these dirs: C:\ C:\DOS C:\DOS\BATCH C:\UTILS C:\WINDOWS D:\PERL D:
\PERL\BIN e:\www\ie_30 d:/perl/bin)
Bad command or file name
Bad command or file name
Writing Makefile for HTML::Parser
 
D:\PERL\LIB\PERL5\HTMLPAR>
 
=============================================================================
 
There is obviously a problem here, but I'm not sure where.
The errors above tells me the script can't find Perl.
But, based on FileFind, Perl _is_ located on the path, and located where
makefile.pl says it can't find it.

By the way, the problem is not just with your package.
I'm seeing the same type of errors installing other modules.
 
I'm wondering if the backslash for DOS directories vs. the forward slash for
Unix directories is the problem.
 
Any help clearing this matter up would be greatly appreciated.
 
Respectfully,
 
 
-------------
G. Pace

Reply via email to