Re: [Catalyst] Bareword "catalyst" not allowed while "strict subs" in use at Makefile.PL line 90.
On Mon, May 03, 2010 at 02:57:10PM +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: Did you do this properly by building a tarball with 'make dist' ? If so, then inc/Module/Install.pm and inc/Module/Install/Catalyst.pm should already exist in the unpacked tarball, so there was no need to install either. If you're making a checkout and pretending that's an installation source, then you're basically installing from a development environment - at which point, shockingly enough, you need Catalyst::Devel. But don't do that for a build server. make a dist and do it properly. (ironically, the catalyst; line in your Makefile.PL is why a dist works well :) -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst commercial support, training and consultancy packages could help your team. ___ 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/
Re: [Catalyst] Bareword "catalyst" not allowed while "strict subs" in use at Makefile.PL line 90.
"Octavian Rasnita" 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] 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 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/
[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/