Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail at test t/app/Plack/Handler/Apache2.t #15

Open
jimhall opened this issue Apr 18, 2014 · 0 comments
Open

Build fail at test t/app/Plack/Handler/Apache2.t #15

jimhall opened this issue Apr 18, 2014 · 0 comments

Comments

@jimhall
Copy link

jimhall commented Apr 18, 2014

Hi -

Failing to build the module during the test in the subject line. Error message is:

t/app/Plack/Handler/Apache2.t ............. 1/? [ERROR]: syntax error :  at 23
Can't call method "root" on an undefined value at /home/jhall/.cpan/build/Compiler-Parser-0.09-pXhFxF/blib/lib/Compiler/Parser/AST/Renderer/Engine/Text.pm line 14, <DATA> line 1.
    # Child (parse Plack/Handler/Apache2.pm) exited without calling finalize()

Seems to be this bit of code:

module { 'Apache2::RequestIO',

I don't have installed. Is it required? The error message then refers to this line of code (line 14 commented):

sub render {
    my ($self, $ast) = @_;
    my $root = $ast->root;     ## line 14
    my $args = +{};
    $args->{$_} = $root->{$_} foreach @{$root->branches};
    print BOLD, '├── ';
    $self->__print_data($root);
    print "\n";
    $self->__render($args, 1);
}

Seems to be a lot of modules made optional (Plack, etc.) but not required to install the module. But in this case do I need the apache module configured in order to pass this test? Do you have a list of the optional modules in your tests or is that more an exercise for me to figure out? Maybe the Apache2.t can be made optional somehow also?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant