Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Can't get install.pl to work

Help
Anonymous
2012-06-14
2013-06-03

  • Anonymous
    2012-06-14

    I have installed all the required stuff before trying to run install.pl

    Apache HTTP Server 2.2
    ActivePerl 5.14.2

    When I run install.pl I get this:

    C:\Documents and Settings\mbrown\Desktop\codestriker-1.9.10\codestriker-1.9.10\b
    in>install.pl

    String found where operator expected at C:\Documents and Settings\mbrown\Desktop
    \codestriker-1.9.10\codestriker-1.9.10/lib/Codestriker.pm line 569, near "croak
    "Failed to execute $system_line: $!\n""
            (Do you need to predeclare croak?)
    syntax error at C:\Documents and Settings\mbrown\Desktop\codestriker-1.9.10\code
    striker-1.9.10/lib/Codestriker.pm line 569, near "croak "Failed to execute $syst
    em_line: $!\n""
    Compilation failed in require at C:\Documents and Settings\mbrown\Desktop\codest
    riker-1.9.10\codestriker-1.9.10/lib/Codestriker/DB/DBI.pm line 14.
    BEGIN failed-compilation aborted at C:\Documents and Settings\mbrown\Desktop\co
    destriker-1.9.10\codestriker-1.9.10/lib/Codestriker/DB/DBI.pm line 14.
    Compilation failed in require at C:\Documents and Settings\mbrown\Desktop\codest
    riker-1.9.10\codestriker-1.9.10/lib/Codestriker/Model/User.pm line 14.
    BEGIN failed-compilation aborted at C:\Documents and Settings\mbrown\Desktop\co
    destriker-1.9.10\codestriker-1.9.10/lib/Codestriker/Model/User.pm line 14.
    Compilation failed in require at C:\Documents and Settings\mbrown\Desktop\codest
    riker-1.9.10\codestriker-1.9.10\bin\install.pl line 58.
    BEGIN failed-compilation aborted at C:\Documents and Settings\mbrown\Desktop\co
    destriker-1.9.10\codestriker-1.9.10\bin\install.pl line 58.

    Any ideas?

     
  • David Sitsky
    David Sitsky
    2012-06-14

    Hi - Codestriker is only supported for Perl 5.8 or 5.10.  The other option is to do a global replace of "croak" with "die" throughout the code, and it should work.