On Sat, 8 Sep 2001, Joshua Chamas wrote:
> Somsak RAKTHAI wrote:
> >
> > Dear member,
> > I used Apache-ASP-2.21, mod_perl-1.26, apache_1.3.20, openssl-0.9.6
> > mod_ssl-2.8.4-1.3.20 running on Red-Hat-7.1 Linux.
> > I used script "build_httpds.sh" in "Apache-ASP-2.21/make_httpd"
> > to install that can install success.
> > I config httpd.conf below.
> >
> > <Directory />
> > Options FollowSymLinks
> > AllowOverride All
> > </Directory>
> >
> > AllowOverride All
> >
> > And I copy all file in ./site/eg include ".htaccess" from
> > "Apache-ASP-2.21" to "/usr/local/apache/htdocs".
> > But I can not run any ASP file in "/usr/local/apache/htdocs/site/eg".
> > It has error message "Internal Server Error" on my browser.
> > In error_log have message below.
> >
> > [Sat Sep 8 20:55:50 2001] [error] Undefined subroutine &Apache::ASP::handler
> >
>
> Make sure you also install Apache::ASP as a perl module,
> with perl Makefile.PL; make test; make install
>
> Then also make sure to stop/start apache, which is important
> to do whenever you do a major perl module installation.
>
> Later on, when performance tuning, make sure to add
> PerlModule Apache::ASP to your httpd.conf.
>
> --Josh
>
Dear sir,
I follow you but still problem. I follow below.
(1) perl Makefile.PL APACHE_SRC=../apache_1.3.20/src \
NO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
(2) make
(3) make test
(4) make install
When use choice (1), it has messages show in "perl-make.txt".
When use "make test" (choice (3)), messages show in "make-test.txt".
And then I follow below.
cd ../apache_1.3.20
./configure \
--prefix=/usr/local/apache \
--activate-module=src/modules/perl/libperl.a
And config "PerlModule Apache::ASP" in httpd.conf. (line 979)
When use command "/usr/local/apache/bin/apachectl start",
it has 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/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-li
nux /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .
/usr/local/apache/ /usr/local/apache/lib/perl) at (eval 3) line 3.
Please let me know how to solve this problem.
thank you very much.
regards,
Somsak.
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......failed
Can't locate URI/URL.pm in @INC (@INC contains: ./lib
/usr/local/lib/perl5/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_perl .) at (eval 10) line 3.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/HTTP/Request.pm
line 40.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm
line 97.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 97.
Compilation failed in require 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/local/lib/perl5/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_perl .) at Makefile.PL line 1154.
The HTML-Parser package is needed (by libwww-perl) to run the test suite.
/usr/bin/perl t/TEST 0
Can't locate URI/URL.pm in @INC (@INC contains: ../blib/lib ../blib/arch
/usr/local/lib/perl5/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_perl ../.) at (eval 6) line 3.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/HTTP/Request.pm
line 40.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm
line 97.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 97.
Compilation failed in require 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...
kill `cat t/logs/httpd.pid`
rm -f t/logs/httpd.pid
rm -f t/logs/error_log
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]