denny / ShinyCMS

ShinyCMS is an open source CMS. This is the Perl version, built with Catalyst and DBIC. (There is also a Ruby on Rails version: www.github.com/denny/ShinyCMS-ruby)
56 stars 24 forks source link

Bareword "catalyst" not allowed #19

Closed szabgab closed 9 years ago

szabgab commented 9 years ago

I just cloned and tried to run Makefile.PL

$ perl Makefile.PL include /Users/gabor/work/ShinyCMS/inc/Module/Install.pm Bareword "catalyst" not allowed while "strict subs" in use at Makefile.PL line 47. Execution of Makefile.PL aborted due to compilation errors.

Module::Install is at v1.12 perl 5.20.1 on OSX

denny commented 9 years ago

Thanks for the report Gabor. I've just tried this on my system (Ubuntu Linux 12.04, Perl 5.14.2) and it worked okay with Module::Install 1.06 (before updating) and 1.12 (after updating). I'll leave this open and hopefully other people can say if they've had similar problems with newer Perls or with OSX.

szabgab commented 9 years ago

After installing Module::Install::Catalyst I could run perl Makefile.PL without that error.

denny commented 9 years ago

Aha!

I've added that to the Makefile.PL, although I have no idea if that's a pointlessly meta thing to do. :)

szabgab commented 9 years ago

IMHO This is a real solution.

denny commented 9 years ago

Great - merged, thanks :)