in reply to Re^9: Problem with wxperl/constructors.pm
in thread Problem with wxperl/constructors.pm

I have the below script on top of the code :

# add directory to start of @INC at compile-time BEGIN { shift @INC, 'C:/strawberry/perl/site/lib' }

Here is the error thrown on the console. There is a slight variance when I have added this script on top of the code. Earlier, the console used to show the path "C:/strawberry/perl/site/lib", but now it is showing the vendor/lib and perl/lib in the error message, but when I added all the three paths to the script, it still throws the same error as below. Please do see the previous one and this one.

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

Replies are listed 'Best First'.
Re^11: Problem with wxperl/constructors.pm
by Anonymous Monk on Sep 12, 2012 at 01:14 UTC

    So did you install Wx?

      I ran into some issues executing the scripts and that error described that the http_proxy needs to be corrected. Then I have removed it from the Env Variables again. I again ran the same scripts to see if that helps in executing the scripts. That did not help me much either. Initially, these scripts used to run whatever related to Wx except for when I have used wxPerl::Constructors. After copying the Alien-wxWidgets, Wx and wxPerl::Constructors into the C:\strawberry\perl\lib in order to resolve the @INC for wxPerl::Constructors as one of the trial and error method, the console throwing the error which I have mentioned in the previous posts. So I reinstalled the Wx going to the cpan from strawberry. That is how I ended up redoing the Wx.