Hello. :)

I had mod_perl and Embperl working just fine until I decided to upgrade my
apache/mod_perl bits (largely because there was demand to also allow php to
work, which meant having to go through the headache of building a new apache
that supported mod_perl, mod_php, ssl, etc).  I used 'apachetoolbox' to do the
job for me (http://www.apachetoolbox.com/index.php) and everything seemed to
go smoothly.  No errors or anything.

Until I tried to access pages that were using embedded perl.  I got messages
in the error_log file saying (formatted here for ease of readability):

   [Wed Dec 20 01:11:43 2000] [error] Undefined subroutine
                              &HTML::Embperl::handler called.
   [Wed Dec 20 01:11:44 2000] [error] Can't locate HTML/Embperl.pm in @INC
        (@INC contains: /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 .
                        /usr/local/apache/
                        /usr/local/apache/lib/perl) at (eval 7) line 3.
                        
So, I found Embperl.pm, put a copy of it in /usr/local/apache/lib/perl/HTML
(just for testing), and I then got the following messages (I edited out the
@INC path as it's identical to above):
                        
   [Wed Dec 20 01:13:47 2000] [error] Can't locate loadable object for module
        HTML::Embperl in @INC at (eval 7) line 3
   [Wed Dec 20 01:13:47 2000] [error] Can't locate
        auto/HTML/Embperl/SetupConfDa.al in @INC at
        /usr/local/apache/lib/perl/HTML/Embperl.pm line 679
   
So, my natural instinct was to look for SetupConfDa.al.  It's nowhere to be
found on my system.  I suspected I might need to upgrade my Embperl, so I
fired off the old 'perl -MCPAN -e shell' and tried to 'install
HTML::Embperl'... the only problem is that during the test phase, it keeps
crapping out on the chdir.htm test, and so won't install without a force.  I
don't feel comfortable doing that, but at the same time, I have to revert back
to my original apache setup in order for my existing embedded perl pages to
load properly (which they do, by the way).

Any help would be greatly appreciated. :)

- Myrddin

Reply via email to