On Mon, 10 Sep 2001, Joshua Chamas wrote:
> Somsak RAKTHAI wrote:
> >
> > Dear members,
> > I used Apache-ASP-2.21, mod_perl-1.26, apache_1.3.20 running on
> > RedHat-7.1 Linux.
> > When I install, I use this command below.
> > Step A.
> > ======
> > cd mod_perl-1.26
> > perl ./Makefile.PL (it has messages show in "perl-make.txt")
> > make
> > make test (it has messages in "make-test.txt")
> > make install
> > And then.
>
> For mod_perl, I believe the right order is make install; make test,
> but the make test says it needs other perl modules to run, particularly
> you need to install LWP and HTML::Parser using CPAN.
>
> I would suggest using the ./make_httpd/build_httpds.sh in
> the Apache::ASP distribution to build your modperl apache
> or check out http://perl.apache.org/guide/install.html
>
> These below error messages say that you need to install HTTP::Date
> and MLDBM using CPAN. You can install Apache::ASP requisites
> easily in CPAN by installing
>
> cpan> install Bundle::Apache::ASP
>
> [ your errors ]
> Checking for the REQUIRED modules...
> ... found Carp !
> ... found Data::Dumper !
> ... found Digest::MD5 !
> ... found Fcntl !
> !!! you need the module: HTTP::Date
> WHY: Provides mapping between Perl time() and HTTP dates
> !!! you need the module: MLDBM
> WHY: This is used for reading and writing multi-level hashes on disk
> ... found SDBM_File !
>
> Until these issues are resolved, Apache::ASP won't installed,
> and will instead give the error:
>
> > Exiting now because of errors!
>
> > Syntax error on line 979 of /usr/local/apache/conf/httpd.conf:
> > Can't locate Apache/ASP.pm in @INC (@INC contains:
> > /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/
> > site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/
> > site_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 3) line 3.
> >
>
> You haven't installed Apache::ASP successfully, see above.
>
> --Josh
>
Dear sir,
Sorry to distrub you again and again. I have 2 questions to ask you.
1. What command to install LWP and HTML::Parser using CPAN.
# perl -MCPAN -eshell
cpan> _ <------------------- what command ?
2. When use command "install Bundle::CPAN" at "cpan>" prompt,
it has messages show in "ins-cpan.txt".
2.1 I want to know how to solve problem that show
messages "DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC".
2.2 CPAN automatic ftp at "ftp://ftp.nectec.or.th".
If I want ftp to other location, how can I do it ?
Please let me know other ftp server (not "ftp.nectec.or.th")
because "ftp.nectec.or.th" don't stable.
Hope to hear from you soon.
thank you very much.
regards,
Somsak.
cpan> install Bundle::CPAN
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
LWP not available
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Subroutine Version redefined at /usr/local/lib/perl5/site_perl/5.6.1/LWP.pm line
7, <GEN5> line 805.
CPAN: LWP loaded ok
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl
5/5.6.1/CPAN.pm line 662, <GEN5> line 805.
DEBUG: c[3]$@[Can't locate URI/URL.pm in @INC (@INC contains: /usr/local/lib/per
l5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.
6.1/i686-linux /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_pe
rl) at /usr/local/lib/perl5/5.6.1/CPAN.pm line 650, <GEN5> line 805.
]ret[] at /usr/local/lib/perl5/5.6.1/CPAN.pm line 662, <GEN5> line 805.
LWP not available
Trying with "/usr/bin/lynx -source" to get
ftp://ftp.nectec.or.th/pub/languages/CPAN/modules/02packages.details.txt.gz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]