[Israel.pm] Padre 19, MS-Windows, Active Perl (Compilation failed)

Gabor Szabo szabgab at gmail.com
Sat Dec 6 23:40:53 PST 2008


can you try to install Class::XSAccessor ?
If it is installed can you tell me its version number?

Gabor

Gabor

On Sun, Dec 7, 2008 at 9:23 AM, Oren Maurer <meorero at gmail.com> wrote:
> 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 <szabgab at gmail.com> 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 <meorero at gmail.com> 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:\>
>>>



More information about the Perl mailing list