in reply to Re^2: Upon doing perl -V to resolve the problem with wxPerl::Constructors
in thread Upon doing perl -V to resolve the problem with wxPerl::Constructors

Ok, but then what is the problem ?
  • Comment on Re^3: Upon doing perl -V to resolve the problem with wxPerl::Constructors

Replies are listed 'Best First'.
Re^4: Upon doing perl -V to resolve the problem with wxPerl::Constructors
by bedohave9 (Acolyte) on Sep 12, 2012 at 17:51 UTC

    The scripts are not getting executed. The console is throwing the error below.

    C:\Documents and Settings\xyz\Desktop\Perl>winframe.pl Can't locate Wx.pm in @INC (@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:\Documents and Settings\spullabhotla\Desktop\Perl\winframe.pl line 6 +. BEGIN failed--compilation aborted at C:\Documents and Settings\spullab +hotla\Desktop\Perl\winframe.pl line 6.

    Here is the update for Wx too.

    C:\strawberry>cpan Set up gcc environment - gcc.exe (gcc-4.6.3 release with patches [buil +d 20120411 by perlmingw.sf.net]) 4.6.3 cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan> install Wx Reading 'C:\Perl64\cpan\Metadata' Database was generated on Tue, 11 Sep 2012 10:39:03 GMT Wx is up to date (0.9911).

      Now you're switching to strawberry perl, again?

      You can't be serious.

        Perl Bulk88, it is not the problem with the perl we are using, we can switch back and forth once we remove the HKLM Perl from the Registry Editor. Everyone in our office lab are using Strawberry Perl, they all have Active perl too. They too switch back and forth. Seems to be, my machine is a peculiar one. I have inquired my co-workers too if they are experiencing this kind of the problem. They have no issues. Please suggest me which one is right. I am ready to do whatever is good for the programs to be executed as I have explained in the previous post.

        Sorry, I missed reading the below one you have suggested Bulk88, which I just read. My only aim is to execute the scripts successfully, without the @INC or any other installation problems. I am flexible using any perl, if it is Active or Strawberry.

        "Of course you need to compile and install Wx now that you have the right CPAN shell loading the right Perl (or you still don't based on that -V)."

        "If he is using ActivePerl, just use ppm install Wx and be finished already."

        Please go through this one. Just wanted to give you additional information what I have in my system for Active Perl.

        C:\Perl64>cpan It looks like you don't have a C compiler and make utility installed. + Trying to install dmake and the MinGW gcc compiler using the Perl Package Man +ager. This may take a a few minutes... Unrecognized proxy setting "http_proxy=http://username:password@proxy. +10.155.10.129" ignor The http_proxy environment variable should be of the form "http://prox +y.example.com". Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Syncing site PPM database with .packlists...done Syncing perl PPM database with .packlists...done ppm.bat install failed: Can't find any package that provides MinGW It looks like the installation of dmake and MinGW has failed. You wil +l not be able to run Makefile commands or compile C extension code. Please che +ck your internet connection and your proxy settings! cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help.
      Why aren't you typing "perl winframe.pl" instead of "winframe.pl"? "cpan" is a bat file that contains embedded Perl, in the /bin folder.

        I am typing "perl winframe.pl" instead of "winframe.pl".