You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Neil Gunton <ne...@nilspace.com> on 2004/08/09 15:59:35 UTC

Problems with 1.3.6, Slackware 10, Perl 5.8.4

Hi Gerald,

I am trying to install Embperl 1.3.6 on a new laptop running Slackware
10. This has Apache 1.3.31, mod_perl 1.29 and Perl 5.8.4. I am getting
errors with make test, which I gather from the archives might be ok, but
then I am also getting a problem when starting Apache. I am just
wondering if I should perhaps move back to an earlier version of Perl to
make this work? I know you're probably not doing much development with
Embperl 1.3 any more, but I want to use the stable version rather than
the beta for now since I know it works well with all my existing code.

I am attaching the make test output and the output from starting Apache,
please let me know if there are any other tweaks or tests I can do...

Thanks in advance,

-Neil

RE: Problems with 1.3.6, Slackware 10, Perl 5.8.4

Posted by Gerald Richter <ri...@ecos.de>.
> 
> Perl 5.8.4 still seemed to be having a problem with 
> HTML::Embperl, judging by all the 'redefined' errors.
> 

Embperl 1.3.6 does not support Perl 5.8.4, sorry!

> Meanwhile, I installed Perl 5.6.1 on the laptop and 
> everything seems to be running ok now (but the make test still fails).
> 

You don't write which tests fails, but I guess that the error tests fails,
which is due to your newer Apache version and is no problem.

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Problems with 1.3.6, Slackware 10, Perl 5.8.4

Posted by Neil Gunton <ne...@nilspace.com>.
Angus Lees wrote:
> > Syntax error on line 968 of /usr/local/httpd_perl/conf/httpd.conf:
> > Can't locate Embperl/Object.pm in @INC (@INC contains: /www/lib/perl /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl . /usr/local/httpd_perl/ /usr/local/httpd_perl/lib/perl) at /www/lib/perl/startup.pl line 36.
> > BEGIN failed--compilation aborted at /www/lib/perl/startup.pl line 36.
> > Compilation failed in require at (eval 4) line 1.
> 
> Doesn't sound good - no idea whats wrong here.  I presume
> Embperl/Object.pm does actually exist in one of those directories?

Actually, this last one turned out to be my fault - startup.pl had a
reference to Embperl::Object (i.e. version 2) for testing the beta, and
I hadn't installed it on the laptop.

Perl 5.8.4 still seemed to be having a problem with HTML::Embperl,
judging by all the 'redefined' errors.

Meanwhile, I installed Perl 5.6.1 on the laptop and everything seems to
be running ok now (but the make test still fails).

Thanks,

-Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Problems with 1.3.6, Slackware 10, Perl 5.8.4

Posted by Angus Lees <gu...@inodes.org>.
At Mon, 09 Aug 2004 08:59:35 -0500, Neil Gunton wrote:
> #116 opmask/opmasktrap.htm...
> Error in Line 7
> Is:     >[2689]ERR: 24: Error in Perl code: (in cleanup) 'iteration finalizer' trapped by operation mask at test/html/opmask/opmasktrap.htm line 212.<p><
> Should: >\[.*?\]ERR\: 24\: Error in Perl code\: \(in cleanup\) iteration finalizer trapped by operation mask<

Thats just a change in perl error message (note the new quotes) - harmless.

> #64 upload.htm...
> Error in Line 17
> Is:     >----------<
> Should: >f1=abc1<

This is due to a change in CGI.pm and means file uploads won't work
until you apply a hack to keep the CGI object around.

See my Debian patches (search list archive for URL and details) for
both fixes.

> root@tex:/usr/src/HTML-Embperl-1.3.6#
> [3 startapache.txt <text/plain; us-ascii (7bit)>]
> root@tex:/usr/src/HTML-Embperl-1.3.6# /usr/local/httpd_perl/bin/apachectl_perl start
> Constant subroutine HTML::Embperl::dbgAll redefined at /usr/lib/perl5/5.8.4/constant.pm line 108.
[...]

This used to happen with old mod_perl versions, I haven't noticed it
for a long time.  I wonder if this is normally hidden somehow, but the
later error causes it to be printed?

> Syntax error on line 968 of /usr/local/httpd_perl/conf/httpd.conf:
> Can't locate Embperl/Object.pm in @INC (@INC contains: /www/lib/perl /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl . /usr/local/httpd_perl/ /usr/local/httpd_perl/lib/perl) at /www/lib/perl/startup.pl line 36.
> BEGIN failed--compilation aborted at /www/lib/perl/startup.pl line 36.
> Compilation failed in require at (eval 4) line 1.

Doesn't sound good - no idea whats wrong here.  I presume
Embperl/Object.pm does actually exist in one of those directories?

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org