In my Makefile.PL I have:

    VERSION_FROM => 'lib/SL/Apache/App.pm',
    PREREQ_PM    => {
        'Apache::Reload'      => 0.10,
        'Apache2::Dispatch'    => 0.11,

Running 'perl Makefile.PL' I get:

ph...@pooky ~/dev/svn/sl/trunk/SL-App $ perl Makefile.PL
generating script t/TEST
Warning: prerequisite Apache2::Dispatch 0.11 not found.

In Apache2::Dispatch I have:

package Apache2::Dispatch;
use strict;
use warnings;
our $VERSION = '0.11';
use mod_perl2 1.99023;
use Apache2::Const -compile => qw(OK DECLINED SERVER_ERROR);
use Apache2::Log         ();
use Apache2::Module      ();
use Apache2::RequestRec  ();
use Apache2::RequestUtil ();
use Apache::Dispatch::Util;
push @Apache2::Dispatch::ISA, qw(Apache::Dispatch::Util);
# Initialize the directives
my $directives = __PACKAGE__->directives();
Apache2::Module::add(__PACKAGE__, $directives);

And when I try to load the module from the command line:

ph...@pooky ~/dev/svn/sl/trunk/SL-App $ perl -MApache2::Dispatch -e
'print $Apache2::Dispatch::VERSION'
Undefined subroutine &Apache2::Module::add called at
/Users/phred/dev/perl/lib/site_perl/5.8.8/Apache2/Dispatch.pm line 26.
Compilation failed in require.
BEGIN failed--compilation aborted.

Any ideas where to go from here?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org

Reply via email to