On Wed, 16 Sep 2015 09:40:43 -0500 Michael Schout <msch...@gkg.net> wrote:
> On 9/16/15 9:22 AM, Vincent Veyron wrote: > > apt-get install apache2-mpm-prefork libapache2-request-perl > > libapache2-mod-perl2 libapache2-mod-apreq2 > > How did you install TryCatch (the only dependency my module uses)? > Ha! It was not installed. I suppose that because your test module was also named TryCatch, Apache used it instead in the dependency? I don't understand why the try function works, but anyhow... I installed TryCatch with cpan TryCatch And renamed your test module to crash.pm Now Apache won't start, here is the error : [Wed Sep 16 18:26:39.331849 2015] [perl:error] [pid 15699:tid 139626838587264] Can't locate TryCatch.pm in @INC (you may need to install the TryCatch module) (@INC contains: /home/lib @ServerRoot/../lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl /etc/apache2) at (eval 85) line 2.\n Even though 'locate TryCatch.pm' outputs : /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/TryCatch.pm and the directory is in @INC. Also : perl -MTryCatch works from the command line Not sure what to do now? -- Bien à vous, Vincent Veyron https://marica.fr/ Gestion des contentieux, des dossiers de sinistres assurance et des contrats pour le service juridique