Codestriker installation issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Codestriker installation issue

Jain Jacob

Hi All,

I tried installing codestriker on Linux System, but it is throwing error while running install.pl. Below is the error I'm getting. I tried codestriker 1.9.9 and 1.9.10, but on both versions I'm getting the error shown below. I downloaded codestriker  [both versions]from the link http://sourceforge.net/projects/codestriker/files/codestriker/1.9.10/
and followed the instruction from http://codestriker.sourceforge.net/c49.html.

[root@requests bin]# ./install.pl
String found where operator expected at /opt/codestriker/codestriker-1.9.9/lib/Codestriker.pm line 563, near "croak "Failed to execute $system_line: $!\n""
        (Do you need to predeclare croak?)
syntax error at /opt/codestriker/codestriker-1.9.9/lib/Codestriker.pm line 563, near "croak "Failed to execute $system_line: $!\n""
Compilation failed in require at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/DB/DBI.pm line 14.
BEGIN failed--compilation aborted at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/DB/DBI.pm line 14.
Compilation failed in require at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/Model/User.pm line 14.
BEGIN failed--compilation aborted at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/Model/User.pm line 14.
Compilation failed in require at ./install.pl line 58.
BEGIN failed--compilation aborted at ./install.pl line 58.

I'm using:
Enterprise RedHat 5.5, on 32 bit machine
DB: Mysql

Could you please help me in fixing this issue.

Thanks,
Jain Jacob
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Reply | Threaded
Open this post in threaded view
|

Re: Codestriker installation issue

Jain Jacob

Hi Neeta,

Thank you for your response.

Could you please let me know the exact module name of Carp package to be installed on the server.

Thanks,
Jain Jacob



From: <[hidden email]>
To: <[hidden email]>, <[hidden email]>
Date: 03/15/2011 12:07 PM
Subject: RE: [Codestriker-user] Codestriker installation issue





Have you got the Carp package installed on your server?
http://perldoc.perl.org/Carp.html
 
From: Jain Jacob [mailto:Jain.Jacob@...]
Sent:
Tuesday, March 15, 2011 12:02 PM
To:
[hidden email]
Subject:
[Codestriker-user] Codestriker installation issue

 

Hi All,


I tried installing codestriker on Linux System, but it is throwing error while running install.pl. Below is the error I'm getting. I tried codestriker 1.9.9 and 1.9.10, but on both versions I'm getting the error shown below. I downloaded codestriker  [both versions]from the link
http://sourceforge.net/projects/codestriker/files/codestriker/1.9.10/
and followed the instruction from
http://codestriker.sourceforge.net/c49.html.

[root@requests bin]# ./install.pl

String found where operator expected at /opt/codestriker/codestriker-1.9.9/lib/Codestriker.pm line 563, near "croak "Failed to execute $system_line: $!\n""

       (Do you need to predeclare croak?)

syntax error at /opt/codestriker/codestriker-1.9.9/lib/Codestriker.pm line 563, near "croak "Failed to execute $system_line: $!\n""

Compilation failed in require at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/DB/DBI.pm line 14.

BEGIN failed--compilation aborted at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/DB/DBI.pm line 14.

Compilation failed in require at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/Model/User.pm line 14.

BEGIN failed--compilation aborted at /opt/codestriker/codestriker-1.9.9/lib/Codestriker/Model/User.pm line 14.

Compilation failed in require at ./install.pl line 58.

BEGIN failed--compilation aborted at ./install.pl line 58.


I'm using:
Enterprise RedHat 5.5, on 32 bit machine

DB
: Mysql


Could you please help me in fixing this issue.


Thanks,

Jain Jacob



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Reply | Threaded
Open this post in threaded view
|

Re: Codestriker installation issue

David Sitsky
Administrator
In reply to this post by Jain Jacob
Hi Jain,

For some reason with Perl 5.12, they decided to change the default
list of installed modules, which is why this has broken.  Codestriker
was developed under Perl 5.8 and 5.10.

The easiest fix for now is to edit the Codestriker.pm file line 563
and change "croak" to "die".  Other occurrences of "croak" should be
replaced with "die".

Cheers,
David

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user