Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I just read about the Apache::Session module. Being a Cold Fusion user, this idea appeals to me as I can do it w/o having to use CF. Anyhow, I downloaded it but during the make test I get this: BEGIN failed--compilation aborted at blib/lib/Apache/Session/Serialize/Base64.pm line 15. BEGIN failed--compilation aborted at t/99base64.t line 7 dubious Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/Test/Harness.pm line 288 Can anyone help? email jt@tir.com, cc: jrobiso2@visteon.com please.

Replies are listed 'Best First'.
RE: Making Apache Sessions
by dchetlin (Friar) on Oct 25, 2000 at 00:55 UTC
    It looks like you're missing some prerequisites for running Apache::Session. From a quick look, it appears that you'll need Storable, MIME::Base64, and MD5 to run anything, and some others for the more specific Session::* modules (i.e. DBI for Apache::Session::DBI). Since Session appears to do a terrible job of checking for prereqs, here's a list of everything it appears to need, ever:

    [/var/tmp/.cpan/build/Apache-Session-1.53] $ find -type f | xargs tcgr +ep -e '^use [A-Z](?!.*Session)' * |perl -pe's/[^:]+://' | sort | uniq use Apache; use Benchmark; use CGI; use Config; use DB_File; use DBI; use ExtUtils::MakeMaker; use Fcntl; use Fcntl qw(:flock); use GDBM_File; use IPC::Semaphore; use IPC::SysV qw(IPC_CREAT S_IRWXU SEM_UNDO); use MD5; use MIME::Base64; use Storable qw(nfreeze thaw); use Symbol;

    And hmm, can I use "post here, read here" on PM?

    -dlc, who isn't about to mail a copy of a post

      Nice command line. Into the bag of tricks you go...