Hi.
I have installed 0.20.
Again - I had to do it in the same way, I mean using:
cpan> force install Padre
And again - it makes error, running from DOS.
C:\>padre
Can't locate Class/XSAccessor.pm in @INC (@INC contains: C:/Perl/site/lib C:/Per
l/lib .) at C:/Perl/site/lib/Padre.pm line 64.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Padre.pm line 64.
Compilation failed in require at C:\Perl\site\bin/padre line 25.
C:\>
I opened C:/Perl/site/lib/Padre.pm
I commented out the following lines (the ones before line 64):
# generate fast accessors
use Class::XSAccessor
getters => {
config => 'config',
config_dir => 'config_dir',
config_yaml => 'config_yaml',
plugin_manager => 'plugin_manager',
};
Now I give it a try, and there's another one:
C:\>padre
Can't locate object method "config_yaml" via package "Padre" at C:/Perl/site/lib
/Padre.pm line 108.
C:\>
I opened C:/Perl/site/lib/Padre.pm.
I commented out the following lines (lines 108, 109):
##$self->{config} = Padre::Config->read( $self->config_yaml );
##$self->{config} ||= Padre::Config->create( $self->config_yaml );
Mow I get this:
C:\>padre
Can't locate Class/XSAccessor.pm in @INC (@INC contains: C:/Perl/site/lib C:/Per
l/lib .) at C:/Perl/site/lib/Padre/PluginManager.pm line 124.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Padre/PluginManager.pm lin
e 124.
Compilation failed in require at C:/Perl/site/lib/Class/Autouse.pm line 410.
at C:/Perl/site/lib/Padre.pm line 111
Padre::new('Padre') called at C:\Perl\site\bin/padre line 26
C:\>
In short:
It looks like a problem with XSAccessor.pm and PluginManager.pm.
Oren
On Thu, Dec 4, 2008 at 6:52 PM, Gabor Szabo <[EMAIL PROTECTED]> wrote:
> 0.19 was pretty broken.
> Try 0.20 and let us know what issues do you encounter there?
>
> Gabor
>
> On Thu, Dec 4, 2008 at 6:00 PM, Oren Maurer <[EMAIL PROTECTED]> wrote:
>> My Padre was too old. I wanted to update.
>>
>> I have followed the directions on: http://padre.perlide.org/wiki/Download
>> - the part for for MS-Windows and Active Perl.
>>
>> As noted, I needed to do this:
>> C:\>cpan
>> cpan> o conf yaml_module ''
>> cpan> o conf commit
>> commit: wrote 'C:\Perl\lib/CPAN/Config.pm'
>> cpan> q
>>
>> And than this:
>> cpan> force install Padre
>>
>>
>> Now I try to run Padre (from DOS), and I get this:
>>
>> C:\>padre
>> Bareword "Wx::wxMOD_CMD" not allowed while "strict subs" in use at
>> C:/Perl/site/
>> lib/Padre/Wx/MainWindow.pm line 217.
>> Compilation failed in require at C:/Perl/site/lib/Class/Autouse.pm line 410.
>> at C:\Perl\site\bin/padre line 27
>>
>> C:\>
>>
>> --
> _______________________________________________
> Perl mailing list
> [email protected]
> http://perl.org.il/mailman/listinfo/perl
>
--
________________________________
Oren Maurer
http://meorero.wordpress.com
http://www.meorero.org.il
_______________________________
# =======================|
# Please avoid sending me Word |
# or PowerPoint attachments |
# =======================|
# See: http://www.gnu.org/philosophy/no-word-attachments.html
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl