Mailing List Archive

Problems with Embperl::Session
Hi,

I am having dificulties with Embperl. I receive following error message:


[Sun Aug 13 02:13:07 2000] Session.pm: Bareword "Apache::Session::NEW" not
allowed while "strict subs" in use at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl/Session.pm line 105.
[Sun Aug 13 02:13:07 2000] [error] [Sun Aug 13 02:13:07 2000] Embperl.pm:
[Sun Aug 13 02:13:07 2000] Embperl.pm: [Sun Aug 13 02:13:07 2000]
Session.pm: [Sun Aug 13 02:13:07 2000] Session.pm: BEGIN not safe after
errors--compilation aborted at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl/Session.pm line 105.

[Sun Aug 13 02:13:07 2000] [error] [Sun Aug 13 02:13:07 2000] null: Can't
locate auto/HTML/Embperl/ScanEnviron.al in @INC (@INC
contains: /caseTracking/packages /usr/local/apache/lib/perl
/caseTracking/packages /usr/local/apache/lib/perl /caseTracking/packages
/usr/local/apache/lib/perl /caseTracking/packages /usr/local/apache/lib/perl
/caseTracking/packages /usr/local/apache/lib/perl
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
. /usr/local/apache/ /usr/local/apache/lib/perl) at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm line 1193

[Sun Aug 13 02:20:52 2000] [notice] SIGHUP received. Attempting to restart
[Sun Aug 13 02:20:52 2000] Session.pm: Constant subroutine SECRET redefined
at /usr/lib/perl5/5.00503/constant.pm line 175.
[Sun Aug 13 02:20:52 2000] Session.pm: Constant subroutine LIFETIME
redefined at /usr/lib/perl5/5.00503/constant.pm line 175.
[Sun Aug 13 02:20:52 2000] Session.pm: Constant subroutine ID_LENGTH
redefined at /usr/lib/perl5/5.00503/constant.pm line 175.
[Sun Aug 13 02:20:52 2000] Session.pm: Constant subroutine MAX_TRIES
redefined at /usr/lib/perl5/5.00503/constant.pm line 175.
[Sun Aug 13 02:20:52 2000] [notice] Apache/1.3.12 (Unix) mod_perl/1.24
configured -- resuming normal operations


Any ideas on what could be wrong?

Ragnar
Re: Problems with Embperl::Session [ In reply to ]
Hi,
>
> I am having dificulties with Embperl. I receive following error message:
>

Look like the wrong Apache::Session version. Which version you are using?

http://perl.apache.org/embperl/INSTALL.pod.1.html :

NOTE 1: (only Embperl-1.2b1 or higher) For using session handling you need
Apache::Session-0.17 or higher. If possible use Apache::Session 1.00.
Currently Apache::Session 1.50 or higher is not supported. (Coming soon)

Gerald

-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------