Missing file
Freek Segers (segers@neroc.nl)
Thu, 18 Feb 1999 08:50:46 +0100
Hello,
I'm trying to install libwww-perl-5.41 from the CPAN distribution.
After first running make I got several messages about missing modules.
After fetching and installing HTTP-Parser-2.22, MIME-Base64-2.10,
libnet-1.0606, URI-1.00 and URI-URL-4.16 everything seems ok. make test
complains about some problems with RobotUA but I don't intend to use that.
When I try to do something very simple:
------ Perl ------
my ($ua, $req, $resp);
# create the user agent
$ua = new LWP::UserAgent;
$ua->agent('Mozilla/4.5 [en] (Win95; I)');
# the URL we really want
$req = new HTTP::Request GET => $THE_URL;
$resp = $ua->request($req, $TMP_FILE);
die "request for " . $req->url . " failed.\n" . $resp->status_line .
"\n\n" . $resp->headers_as_string . "\n" unless $resp->is_success;
------ lreP ------
I die with $resp->status_line containg the following message:
Can't locate auto/URI/URL/http/path_query.al in @INC (@INC contains:
/usr/local/perl5/lib/IP22-irix/5.00401 /usr/local/perl5/lib
/usr/local/perl5/lib/site_perl/IP22-irix /usr/local/perl5/lib/site_perl .)
Indeed path_query.al isn't there (or anywhere else).
I use an earlier version of libwww-perl on a WindowsNT and Windows95
machine, which run the script without problems. path_query.al does also
not exists on those machines.
Can you tell me what the problem is (and possibly how I can solve it)?
Thanks,
Freek Segers.
'Inheritance in Object Oriented Programming is about software
reuse, and therefore related to Laziness, the principal virtue
of a programmer.' - From the Perl OOP tutorial
######################################################################
Freek Segers
Neroc Publishing Solutions
De Run 1131
5503 LB Veldhoven
tel: +31 (0)40 2586666
fax: +31 (0)40 2541893
segers@neroc.nl
######################################################################