Hi all,

I'm trying to put together a PAR distribution for a Catalyst using the instructions on http://catalyst.infogami.com/cookbook/par

I've added catalyst_par_core(); and catalyst_par(); to Makefile.pl

Then I run "make catalyst_par" but get the following error:

dlarochelle@dlarochelle-laptop:~/dev/pristine/mediacloud/trunk$ make c +atalyst_par include /home/dlarochelle/dev/pristine/mediacloud/trunk/inc/Module/Ins +tall.pm Writing PAR "mediawords.par" make: *** [catalyst_par] Error 2

Digging into this a bit, I see that make is running the following command:

/usr/bin/perl "-Iinc" -Ilib -Minc::Module::Install -MModule::Install:: +Catalyst -e"Catalyst::Module::Install::_catalyst_par( '', 'MediaWords +', { CLASSES => [], PAROPTS => {}, ENGINE => 'CGI', SCRIPT => '', US +AGE => q## } )"

I've tried running the above command manually and it does indeed return an error code but it gives no error message.

Any idea what's going on or even how to debug this? I've googled and searched perlmonks but haven't found an answer.

Thanks in advance!


In reply to PAR and Catalyst -- make: *** [catalyst_par] Error 2 by dlarochelle

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.