I just tried to do a plackup (the Plack utility not plackup.sh) and got an error that CGI::Emulate::PSGI wasn't installed. I'm thinking we should add that to Koha's Perl dependencies. Looking at Debian (https://packages.debian.org/sid/perl/libplack-perl), it looks like the package is recommended but not required. Actually, I don't notice it in https://github.com/Koha-Community/Koha/blob/master/debian/control either... I'm using Plack v1.0037 whereas Jessie is at v1.0033-1... It's required by Plack::App::WrapCGI, which uses it in v1.0033: https://metacpan.org/source/MIYAGAWA/Plack-1.0033/lib/Plack/App/WrapCGI.pm
Actually, now that I'm installing dependencies, it seems like there's quite a few... CGI::Emulate::PSGI CGI::Compile Plack::Middleware::Debug Devel::Size
Plack::Handler::Starman
I got the same errors for Plack::Middleware::Debug and Devel::Size.
Created attachment 62610 [details] [review] Bug 17421: Add Devel::Size and Plack::Middleware::Debug as Perl dependency After fresh install, starting Plack throws the following errors: Error while loading /home/koha/Koha/misc/plack/plack.psgi: Can't locate Devel/Size.pm in @INC (you may need to install the Devel::Size module) Error while loading /home/koha/Koha/misc/plack/plack.psgi: Can't locate Plack/Middleware/Debug.pm in @INC (you may need to install the Plack::Middleware::Debug module) This patch adds Devel::Size and Plack::Middleware::Debug to Perl dependencies. sudo cpanm Devel::Size sudo cpanm Plack::Middleware::Debug
Given the age of this bug, I think it's probably safe to close it
(In reply to David Cook from comment #5) > Given the age of this bug, I think it's probably safe to close it