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

Gabor Szabo szabgab at gmail.com
Sun Dec 7 03:59:27 PST 2008


Hmm, one suggestion would be of course to switch to Strawberry Perl or
to download the
Portable Strawberry with built in Padre but I am also CC-ing the Padre
mailing list
where Steffen (SMUELLER) might be able to help with this issue.

You might also want to subscribe to that mailing list.

regards
   Gabor

On Sun, Dec 7, 2008 at 1:49 PM, Oren Maurer <meorero at gmail.com> wrote:
> I don't have  Class::XSAccessor , and I did not find a PPM for it.
>
> I failed installing by cpan .
>
>
> cpan> i  /XSAccessor/
> Distribution    */Class-XSAccessor*
> Distribution    SMUELLER/Class-XSAccessor-0.13.tar.gz
> Distribution    SMUELLER/Class-XSAccessor-Array-0.13.tar.gz
> Module    Class::XSAccessor      (SMUELLER/Class-XSAccessor-0.13.tar.gz)
> Module    Class::XSAccessor::Array (SMUELLER/Class-XSAccessor-Array-0.13.tar.gz)
>
> 5 items found
>
>
> cpan>
>
> cpan> force install  Class::XSAccessor
> Running install for module 'Class::XSAccessor'
> Running make for S/SM/SMUELLER/Class-XSAccessor-0.13.tar.gz
>  Has already been unwrapped into directory C:\Perl\cpan\build\Class-XSAccessor-
> 0.13-s4e3p1
>
>  CPAN.pm: Going to build S/SM/SMUELLER/Class-XSAccessor-0.13.tar.gz
>
>
> Microsoft (R) Program Maintenance Utility   Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>
>         -MAutoXS::Header -e AutoXS::Header::WriteAutoXSHeader
> The filename, directory name, or volume label syntax is incorrect.
> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
> Stop.
>  SMUELLER/Class-XSAccessor-0.13.tar.gz
>  nmake -- NOT OK
> Running make test
>  Can't test without successful make
> Running make install
>  Make had returned bad status, install seems impossible
> Failed during this command:
>  SMUELLER/Class-XSAccessor-0.13.tar.gz        : make NO
>
>
> cpan>
>
>     Oren
>
> On Sun, Dec 7, 2008 at 9:40 AM, Gabor Szabo <szabgab at gmail.com> wrote:
>> 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