[Catalyst] Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90.
Hi, I am trying to install a Catalyst-based app under Debian which has Perl 5.10.0 installed. I've installed the latest versions of CPAN, CPANPLUS, ExtUtils::MakeMaker, Module::Install, Module::Build and local::lib using cpan. Then I tried to run perl Makefile.PL because I was hoping that it will show me the missing Perl modules: ebroker:/srv/BRK1# perl Makefile.PL include /srv/BRK1/inc/Module/Install.pm Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90. Execution of Makefile.PL aborted due to compilation errors. ebroker:/srv/BRK1# In the line 90 appears the line: catalyst; I have also tried to change it to: catalyst(); but then it gives the error: tests_recursive will not work if tests are already defined at /usr/local/share/perl/5.10.0/Module/Install/Makefile.pm line 189. Catalyst::Runtime is not installed because I was hoping that doing `perl Makefile.PL` would display all the missing modules, including Catalyst::Runtime, because it is listed in Makefile.PL. Is there another requirement for using this command? Thanks. -- Octavian __ Information from ESET NOD32 Antivirus, version of virus signature database 5081 (20100503) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90.
cpan -i Catalyst::Runtime On Mon, 2010-05-03 at 14:57 +0300, Octavian Rasnita wrote: Hi, I am trying to install a Catalyst-based app under Debian which has Perl 5.10.0 installed. I've installed the latest versions of CPAN, CPANPLUS, ExtUtils::MakeMaker, Module::Install, Module::Build and local::lib using cpan. Then I tried to run perl Makefile.PL because I was hoping that it will show me the missing Perl modules: ebroker:/srv/BRK1# perl Makefile.PL include /srv/BRK1/inc/Module/Install.pm Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90. Execution of Makefile.PL aborted due to compilation errors. ebroker:/srv/BRK1# In the line 90 appears the line: catalyst; I have also tried to change it to: catalyst(); but then it gives the error: tests_recursive will not work if tests are already defined at /usr/local/share/perl/5.10.0/Module/Install/Makefile.pm line 189. Catalyst::Runtime is not installed because I was hoping that doing `perl Makefile.PL` would display all the missing modules, including Catalyst::Runtime, because it is listed in Makefile.PL. Is there another requirement for using this command? Thanks. -- Octavian __ Information from ESET NOD32 Antivirus, version of virus signature database 5081 (20100503) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish kiffin.g...@planet.nl Gouda, The Netherlands ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90.
Octavian Rasnita orasn...@gmail.com writes: Hi, I am trying to install a Catalyst-based app under Debian which has Perl 5.10.0 installed. I've installed the latest versions of CPAN, CPANPLUS, ExtUtils::MakeMaker, Module::Install, Module::Build and local::lib using cpan. You also need to install Module::Install::Catalyst -- that will make the 'catalyst' line in Makefile.PL work. chrs, john. -- Ask the American public if they want an FBI Wiretax and they'll say 'no.' If you ask them do they want a feature on their phone that helps the FBI find their missing child they'll say, 'Yes.' - FBI Directory Louis Freeh, on Digital Telephony ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] RunAfterRequest/delayed Catalyst view
On 3 May 2010, at 05:28, Steve Kleiman wrote: Wow, Matt. That works like a charm. THANK YOU. No pointing and laughing from this corner. Except at myself for not setting up a proper email dispatching mechanism. One bridge at a time. Again, my thanks for tracking that down. Can we at least get a doc patch out of this so that people aren't confused in future? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90.
On 3 May 2010, at 12:57, Octavian Rasnita wrote: Hi, I am trying to install a Catalyst-based app under Debian which has Perl 5.10.0 installed. I've installed the latest versions of CPAN, CPANPLUS, ExtUtils::MakeMaker, Module::Install, Module::Build and local::lib using cpan. Then I tried to run perl Makefile.PL because I was hoping that it will show me the missing Perl modules: ebroker:/srv/BRK1# perl Makefile.PL include /srv/BRK1/inc/Module/Install.pm Bareword catalyst not allowed while strict subs in use at Makefile.PL line 90. Execution of Makefile.PL aborted due to compilation errors. ebroker:/srv/BRK1# In the line 90 appears the line: catalyst; I have also tried to change it to: catalyst(); but then it gives the error: tests_recursive will not work if tests are already defined at /usr/ local/share/perl/5.10.0/Module/Install/Makefile.pm line 189. Catalyst::Runtime is not installed because I was hoping that doing `perl Makefile.PL` would display all the missing modules, including Catalyst::Runtime, because it is listed in Makefile.PL. Is there another requirement for using this command? Whatever distribution this is is broken if you're installing the application from a .tar.gz file. Module::Install::Catalyst (which provides the 'catalyst;' function) should be already bundled in the inc/ directory, and everything should work.. Alternatively - if you're checking the application out of revision control (i.e. there is no inc/ directory in the distribution) then you need Catalyst::Devel installed as you are running in 'author' mode... Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/