Module Installation Problems

Gregg Pace (grpace@bellsouth.net)
Mon, 3 Jan 2000 12:08:12 -0600


------=_NextPart_000_0000_00000004.01BF55E3
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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
(gleeson@unimelb.edu.au). 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.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

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.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

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>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

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

------=_NextPart_000_0000_00000004.01BF55E3
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

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