FAQ

I think the relevant error is:
t/02digest....1/32 Can't call method "keysize" on an undefined value at
E:/perl510/site/lib/Crypt/OpenPGP.pm line 525.
I have tried a:

cpan> install Crypt::OpenPGP

But I received the message that this module is up to date.

I use ActivePerl 5.10.0 build 1004.
Oops, ok, sorry, I thought you had Strawberry. Last year I swapped all
things "Active" for Strawberry Perl.

In any case, maybe you can tinker with the ActivePerl cpan Config.pm so that
it uses the MinGW compiler and the Strawberry cpan settings. The idea would
be to make ActivePerl compile its modules using the Strawberry config
settings.Don't know if that would work.

Another way (if don't want to switch to strawberry flavored perl) is to just
install Strawberry, then edit your PATH and strip off all c:\strawberry\...
directories so that it won't disturb your ActivePerl installation. Then
create a little bat file that will give you a "strawberry prompt". Install
modules with strawberry cpan, then copy them from strawberry\perl\site (and
auto) into ActivePerl's \site directories.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090220/b610b5de/attachment.htm

Search Discussions

  • Octavian Rasnita at Feb 21, 2009 at 4:16 pm
    From: Rodrigo
    Oops, ok, sorry, I thought you had Strawberry. Last year I swapped all things "Active" for Strawberry Perl. >
    In any case, maybe you can tinker with the ActivePerl cpan Config.pm so that it uses the MinGW compiler and the Strawberry cpan settings. The
    idea would be to make ActivePerl compile its modules using the Strawberry config settings.Don't know if that would work. >
    Another way (if don't want to switch to strawberry flavored perl) is to just install Strawberry, then edit your PATH and strip off all c:\strawberry\...
    directories so that it won't disturb your ActivePerl installation. Then create a little bat file that will give you a "strawberry prompt". Install modules with > strawberry cpan, then copy them from strawberry\perl\site (and auto) into ActivePerl's \site directories.
    I've tried to use Strawberry Perl, but I've seen that I can't install some modules on it.

    I needed to install MIME::Tools by downloading the package manually, and doing perl Makefile.PL, dmake, skip dmake test and do only dmake install, because I couldn't do it using cpan. On the dmake test, it freezes on a certain test.

    I also couldn't install DBD::mysql, even though I've also tried without cpan, because on dmake it gives some errors I don't understand, even though I've added all those directories which perl Makefile.PL needs.



    I have also tried to install WxPerl with it, but without success.



    I've seen that the ppm it uses seems to be either very old or a different kind than that used by Activeperl because it seems to have less features.



    From this point of view, Perl is not a very good language for Windows because it is hard to adapt the modules that work fine under other systems.



    Octavian


    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090221/8b05c63e/attachment.htm
  • Rodrigo de Oliveira at Feb 21, 2009 at 5:13 pm

    I've tried to use Strawberry Perl, but I've seen that I can't install some
    modules on it.

    I needed to install MIME::Tools by downloading the package manually, and
    doing perl Makefile.PL, dmake, skip dmake test and do only dmake install,
    because I couldn't do it using cpan. On the dmake test, it freezes on a
    certain test.
    Strange, MIME::Tools is another module that installs fine in my Strawberry
    5.10.0.0. No freezing on tests. Make sure that, if you're going to install
    things manually, use the command "look" to get the correct build
    environment:

    cpan> look MIME::Tools


    I also couldn't install DBD::mysql, even though I've also tried without
    cpan, because on dmake it gives some errors I don't understand, even though
    I've added all those directories which perl Makefile.PL needs.



    I have also tried to install WxPerl with it, but without success.

    Another strange one... WxWidgets is one of Strawberry star installations
    for the October2008 release.

    http://strawberryperl.com/releases.html

    I don't develop for Wx, but I installed it (and Tk) successfully in
    Strawberry with cpan.

    DBD::mysql needs the mysql source code to link to. That's a good candidate
    for ppm.

    I've seen that the ppm it uses seems to be either very old or a different
    kind than that used by Activeperl because it seems to have less features.



    The strawberry ppm has given me problems also. That's supposed to be one of
    the improvements in the latest Strawberry Jan 2009, but I haven't tried so
    far.
    From this point of view, Perl is not a very good language for Windows
    because it is hard to adapt the modules that work fine under other systems.

    I agree that perl and cpan modules favor posix features, such as fork(),
    and that's a no-go for windows. I just try to avoid those by using no-posix
    modules. I use ppms for tough to install modules, sometimes unzipping them
    straight into c:\strawberry\perl\site\lib if the ppm installer is not
    working well, which has been the case for strawberry lately.

    --rodrigo
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090221/dbfde625/attachment.htm
  • Dan Dascalescu at Feb 24, 2009 at 6:45 am

    I also couldn't install DBD::mysql, even though I've also tried without
    cpan, because on dmake it gives some errors I don't understand
    I had DBD::SQLite fail the stress test that DBIx::Class runs. Any
    solution for that one? I also just posted about it on the Strawberry
    Perl mailing list:

    http://www.mail-archive.com/win32-vanilla@perl.org/msg00103.html

    Dan
  • Rodrigo de Oliveira at Feb 24, 2009 at 1:46 pm
    I set the variable DBICTEST_NO_SQLITE_CHECK to 1 and ignored the error.

    The Makefile.PL for DBIx::Class happens to be doing a fork() just before it
    connects to dbi:SQLite:memory and runs its tests. And using fork() in
    Windows may just-work... or may not. Specially when loading a dll is
    involved.

    --rodrigo

    On Tue, Feb 24, 2009 at 7:45 AM, Dan Dascalescu <
    ddascalescu+catalyst@gmail.com wrote:
    I also couldn't install DBD::mysql, even though I've also tried without
    cpan, because on dmake it gives some errors I don't understand
    I had DBD::SQLite fail the stress test that DBIx::Class runs. Any
    solution for that one? I also just posted about it on the Strawberry
    Perl mailing list:

    http://www.mail-archive.com/win32-vanilla@perl.org/msg00103.html

    Dan

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive:
    http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090224/40062417/attachment.htm

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedFeb 20, '09 at 4:34p
activeFeb 24, '09 at 1:46p
posts5
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase