On Thu, Dec 21, 2000 at 10:49:28AM +0100, Gerald Richter wrote:
> > Found unexpected output in httpd errorlog:
> > [Thu Dec 21 01:30:59 2000] [error] Can't locate HTML/EmbperlObject.pm in
> @INC
> > (@INC contains: . blib/arch blib/lib /usr/local/lib/perl5/5.6.0/i686-linux
> > /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i686-linux
> > /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl
> > /root/.cpan/build/HTML-Embperl-1.3.0/test/
> > /root/.cpan/build/HTML-Embperl-1.3.0/test/lib/perl) at (eval 1419) line 3.
> >
> > [Thu Dec 21 01:30:59 2000] [error] Undefined subroutine
> > &HTML::EmbperlObject::handler called at /dev/null line 1.
> >
> >
>
> Really looks like Embperl is correctly build. Try the following:
>
> cd /root/.cpan/build/HTML-Embperl-1.3.0
> make realclean
> perl Makefile.PL
> # Make sure you specify the correct path to the apache that is
> # build with mod_perl and with the same Perl version as you use for Embperl
> make test
>
> If the chdir test fails again, try
>
> make test TESTARGS="-i"
>
> does this change anything?
Yes. Though I should mention I didn't realize with my previous tests that I
had the older built apache running, and was pointing embperl to the newer
apache's source. For this embperl test, I made sure I swapped in the newer
apache in place of the older one.
So, this time chdir succeeded, but there was a different failure:
Testing Execute function...
div.htm from file... ok
div.htm from memory... ok
div.htm to memory... ok
div.htm from/to memory... ok
error.htm to memory... ok
EmbperlObject/epopage1.htm ...ok
EmbperlObject/sub/epopage2.htm ...ok
EmbperlObject/obj/epoobj3.htm ...ok
Use of uninitialized value in concatenation (.) at (eval 1385) line 95.
Starting httpd... pid = 11914 ok
Testing mod_perl mode...
#0 ascii... ok
#1 pure.htm... ERR:Can't connect to localhost:8531 (Timeout)
Input: test/html/pure.htm
Output: test/tmp/out.htm
Log: test/tmp/test.log
ERRORS detected! NOT all test have been passed successfully
make: *** [test_dynamic] Error 1
After I saw this, I tried telneting to port 8531 and got connection refused.
- Myrddin
ps. if we should take this off the list, just holler. :)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]