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.
Step B.
======
cd ../apache_1.3.20
./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/perl/libperl.a
make
make install
I try many times (Step A and B) util I can install Apache:ASP.
Because many times it has error when I use "make" in Step B.
I don't know why.
Next when I used commamd below.
cd ../Apache-ASP-2.21
perl ./Makefile.PL (it has messages show in "perl-asp.txt"
make test it has messages below.
make: *** No rule to make target `test'. Stop.
make install it has messages below.
make: *** No rule to make target `install'. Stop.
Then when I config in "httpd.conf" below.
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
AllowOverride All
PerlModule Apache::ASP (line 979)
And then run "/usr/local/apache/bin/apachectl start",
it has error messages below.
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.
Please let me know more detail how to solve this problem
because it is the first time for me to install Apache::ASP.
thank you very much.
regards,
Somsak.
Will run tests as User: 'nobody' Group: 'root'
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......failed
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ./lib /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 .) at ./Makefile.PL line 1136
.
The libwww-perl library is needed to run the test suite.
Installation of this library is recommended, but not required.
Checking for HTML::HeadParser....failed
Can't locate HTML/HeadParser.pm in @INC (@INC contains: ./lib /usr/lib/perl5/5.6
.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /us
r/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./Makefile.PL line 11
54.
The HTML-Parser package is needed (by libwww-perl) to run the test suite.
/usr/bin/perl t/TEST 0
Can't locate LWP/UserAgent.pm in @INC (@INC contains: ../blib/lib ../blib/arch /
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 ../.) at t
/TEST line 48.
I still can't find LWP::UserAgent, try:
/usr/bin/perl -MCPAN -e install LWP
or
http://www.perl.com/cgi-bin/cpan_mod?module=LWP
Must skip important tests without LWP...
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 !
Checking for the OPTIONAL modules...
??? you may want module: Apache::Filter
WHY: Full SSI support via Apache::Filter & Apache::SSI
??? you may want module: Apache::SSI
WHY: Full SSI support via Apache::Filter & Apache::SSI
... found CGI !
??? you may want module: Compress::Zlib
WHY: Required for html gzip text compression for browsers that support it
... found DB_File !
??? you may want module: Devel::Symdump
WHY: Used for StatINC setting, which reloads modules dynamically
??? you may want module: HTML::Clean
WHY: Compress text/html with Clean config or $Response->{Clean} set to 1-9
??? you may want module: HTML::FillInForm
WHY: Enables FormFill feature which will auto fill forms from $Request->Form data
??? you may want module: MLDBM::Sync::SDBM_File
WHY: Optional module for StateDB config option that is faster than DB_File on
Linux. Also default CacheDB for XSLT caching.
??? you may want module: Net::Config
WHY: Config options for use with Net::SMTP
??? you may want module: Net::SMTP
WHY: Runtime errors can be mailed to the webmaster with MailErrorTo config
??? you may want module: Time::HiRes
WHY: Sub second Apache::ASP response timing with Debug 3/-3 turned on.
??? you may want module: XML::Sablotron
WHY: XSLT that is 10 times faster than XML::XSLT
??? you may want module: XML::XSLT 0.32
WHY: XSLT transformations require this module. Install Bundle::XML from CPAN
before installing this module for the first time.
Exiting now because of errors!
=-=-= CPAN HELP
There are many modules that have to be installed in order
to begin using Apache::ASP. The easiest way to install
modules is with CPAN.pm. To use its command line shell,
execute the following:
> perl -MCPAN -eshell
Then to install any modules, like HTTP::Date
> install HTTP::Date
and cpan will do all the work for you. For more
information, please view the CPAN docs with
> perldoc CPAN
=-=-=
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]