Problem Setting up Codestrike on WindowsXp

Help
nils_gate
2008-04-22
2013-06-03
  • nils_gate

    nils_gate - 2008-04-22

    Hi
    I am trying to set Codestriker on WindowsXp machine. I have ActivePerl version 5.8.7 (as suggested by you in one of messages :)) When i am trying to run Install.pl i get following errors.
    First i get
    ---------------------------
    perl.exe - Entry Point Not Found
    ---------------------------
    The procedure entry point Perl_sv_2uv_flags could not be located in the dynamic link library perl58.dll.
    ---------------------------
    OK  
    ---------------------------
    on Clicking Ok.

    Checking for  LWP::UserAgent (any)     ok: found v2.033
    Checking for             CGI (v2.56)   ok: found v3.10
    Checking for       Net::SMTP (any)     ok: found v2.29
    Checking for MIME::QuotedPrint (v2.14)   ok: found v3.03
    Checking for             DBI (v1.13)   ok: found v1.602
    Checking for        Template (v2.07)   ok: found v2.19
    Checking for  HTML::Entities (any)     ok: found v1.29
    Checking for      File::Temp (any)     ok: found v0.16
    Checking for        XML::RSS (v1.05)    ok: not found, optional
    Checking for    Encode::Byte (any)     ok: found v2.00
    Checking for Encode::Unicode (any)     ok: found v2.02
    Checking for    Authen::SASL (any)     ok: found v2.10
    Can't call method "get_connection" on an undefined value at D:\ReviewSys\codestr
    iker-1.9.3\bin\install.pl line 325.

    The values set in my .Conf file are:
    $db = 'DBI:ODBC:Codestriker';
    $mailhost = 'localhost';
    $use_compression = 0;
    $svn = 'C:/Program Files/Subversion/bin/svn.exe';
    $tmpdir = 'D:/ReviewSys/temp';
    $codestriker_css = '';

    I have created ODBC Data source with 'Codestriker' name and I m running SQLExpress on my local machine. Am i missing something? Just to mention I am new to Perl thingy.

     
    • David Sitsky

      David Sitsky - 2008-04-23

      Hi,

      That error from Perl sounds crazy - try updating to the latest 5.8 release from Activestate, hopefully that will remove that issue.

      As for the other error - I know you said you have set $db, but make sure you haven't clobbered it further down in the conf file.  It looks to me like it really isn't set.  Please email me your codestriker.conf file if you are still stuck to:

      david DOT sitsky AT gmail DOT com

      Cheers,
      David

       
    • nils_gate

      nils_gate - 2008-04-23

      I have mailed you the codestriker.conf file from, r[.]nilesh[@]gmail[.]com

       
    • nils_gate

      nils_gate - 2008-04-23

      I have installed v5.8.8 build of perl. After it when I run install.pl file. It shows me following output:
      Checking for  LWP::UserAgent (any)     ok: found v2.036
      Checking for             CGI (v2.56)   ok: found v3.29
      Checking for       Net::SMTP (any)     ok: found v2.30
      Checking for MIME::QuotedPrint (v2.14)   ok: found v3.07
      Checking for             DBI (v1.13)   ok: found v1.602
      Checking for        Template (v2.07)   ok: found v2.19
      Checking for  HTML::Entities (any)     ok: found v1.35
      Checking for      File::Temp (any)     ok: found v0.18
      Checking for        XML::RSS (v1.05)    ok: not found, optional
      Checking for    Encode::Byte (any)     ok: found v2.03
      Checking for Encode::Unicode (any)     ok: found v2.05
      Checking for    Authen::SASL (any)     ok: found v2.10
      Checking for       DBD::ODBC (any)          not found

      Codestriker requires some Perl modules which are either missing
      from your system, or the version on your system is too old.
      Missing "DBD::ODBC"

      I tried googling DBD-ODBC module and installed it as well, still it shows the same above error.
      When i run ppm, it shows following relevant packages installed.
      -----------------------------------------------------------------------
      DBD-ODBC     site     1.15    ODBC Driver fo DBI
      DBD-SQLite    perl    1.13    Small fast.......
      DBI        site    1.602    Database indepdent interace for Perl (Installed as DBD-odbc asked for updated version of DBI)
      DBI         perl    1.58    Database indepdent interace for Perl
      -----------------------------------------------------------------------
      Sorry for this but the problem is going other way now :-(

       
      • David Sitsky

        David Sitsky - 2008-04-23

        The output from install.pl should tell you to run a specific ppm command, which will install DBD-ODBC. 

        I think with the latest versions of Perl for windows, you can run ppm, and it brings up a GUI window, where you can select to install the DBD-ODBC package.  Once you have done that, rerun install.pl and try again.

         
    • nils_gate

      nils_gate - 2008-04-24

      ppm GUI correctly shows that DBD-ODBC 1.15 is installed. Still the install.pl shows Package Missing.

       
      • David Sitsky

        David Sitsky - 2008-04-24

        Strange - did you try removing that eval block I mentioned to you earlier to see if it shows another error message?

        I have installed DBD-ODBC 1.15 fine on my machine, and install.pl detects it.  Try removing the eval block - that might show us what is going on.

        Cheers,
        David

         
    • nils_gate

      nils_gate - 2008-04-29

      With or without eval block in install.pl, it gives the same error: DBD::ODBC missing.
      Can you mail me your DBD-ODBC 1.15 module?
      Details of the module I have are:
      ODBC Driver for DBI
      Version:    1.15
      Author:    Martin J Evans (martin.evans@easysoft.com)
      CPAN:            http://search.cpan.org/dist/DBD-ODBC-1.15/

       
      • David Sitsky

        David Sitsky - 2008-04-29

        Can you send me the complete output when you run install.pl?  Thanks.  There is something funny going on.

        Cheers,
        David

         
    • nils_gate

      nils_gate - 2008-05-02

      Sent via email

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks