Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default perl and modules

    Do I need to rebuild all the perl modules after I
    upgrade my perl to a newer version?

    Thanks for answering my question in advance.


    Tulan W. Hu Guest

  2. Similar Questions and Discussions

    1. Using Perl modules in PHP -- ?
      As I run screaming back to Perl and my beloved DBI, wherein one can actually use bind variables and fetch a hashref *at the same time* (and without...
    2. Perl PDF modules - help please
      Hi all. I'm trying to write a script which will insert text into a PDF template file and output a new PDF file. I can do this with PDF:Reuse -...
    3. Perl modules on Mac OS X
      Hi fellows, I have a funny problem: When installing my OS (Mac OS 10.3), I did not realize that the 'make' utility was part of the developer tools...
    4. Re : Installing CPAN Perl Modules with Activestate Perl 5. v5.8
      Hi, In the process of trying to get perl modules installed, I downloaded over 300 Activestate specific perl modules and they work fine (of the ones...
    5. How Can I Install PERL Modules w/o Upgrading PERL?
      Shalom! I absolutely hate it when I install a required module for one piece of software or another, and suddenly it begins installing the...
  3. #2

    Default Re: perl and modules

    * Tulan W. Hu <twhu@lucent.com>:
    > Do I need to rebuild all the perl modules after I
    > upgrade my perl to a newer version?
    It's usually best to. In most cases it's necessary.
    It should be immediately obvious when you try to
    use any of said modules.


    cheers,
    --
    Iain. <http://eh.org/~koschei/>
    Iain Truskett Guest

  4. #3

    Default Re: perl and modules

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    "Tulan W. Hu" <twhu@lucent.com> wrote in news:bljqrq
    $8va@netnews.proxy.lucent.com:
    > Do I need to rebuild all the perl modules after I
    > upgrade my perl to a newer version?
    >
    > Thanks for answering my question in advance.
    Sorry I couldn't answer it in advance. ;-)

    Usually, you need to rebuild any binary modules (ie, modules that need to
    be compiled with a C compiler), because most Perl releases aren't binary-
    compatible with previous versions. (I hear, however, that 5.8.1 is b-c
    with 5.8.0).

    For pure-perl modules, there is an option during the configure phase where
    you can tell the build process to retain directories from earlier perl
    versions in the new version's @INC, so those modules don't necessarily need
    to be reinstalled.

    - --
    Eric
    $_ = reverse sort $ /. r , qw p ekca lre uJ reh
    ts p , map $ _. $ " , qw e p h tona e and print

    -----BEGIN PGP SIGNATURE-----
    Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

    iQA/AwUBP311amPeouIeTNHoEQLhVQCgkXSGiU2a+4PgFXxwW52uUV sOENcAoJ5Q
    5M+yuqpLqPlPnmdqJgSQpwiE
    =h4e+
    -----END PGP SIGNATURE-----
    Eric J. Roode Guest

  5. #4

    Default Re: perl and modules

    "Eric J. Roode" <REMOVEsdnCAPS@comcast.net> >
    > > Do I need to rebuild all the perl modules after I
    > > upgrade my perl to a newer version?
    > >
    > > Thanks for answering my question in advance.
    >
    > Sorry I couldn't answer it in advance. ;-)
    >
    > Usually, you need to rebuild any binary modules (ie, modules that need to
    > be compiled with a C compiler), because most Perl releases aren't binary-
    > compatible with previous versions. (I hear, however, that 5.8.1 is b-c
    > with 5.8.0).
    >
    > For pure-perl modules, there is an option during the configure phase where
    > you can tell the build process to retain directories from earlier perl
    > versions in the new version's @INC, so those modules don't necessarily
    need
    > to be reinstalled.
    I understand that if I upgrade perl from 5.6 to 5.8, then I need to rebuild
    the
    modules and put them to the new @INC. I have built the modules for the
    perl 5.8.1-rc4, and now I'm having the released 5.8.1. Do I still need to
    rebuild the modules?
    I thought that even the binary modules should be ok because I'm using the
    same version of gcc and all library locations are the same too. The command
    "perl Makefile.PL" just create the Makefile for me with correct the build
    flags. I have tried a couple of modules, but it does not seem the rebuild
    process makes any difference.


    Tulan W. Hu Guest

  6. #5

    Default Re: perl and modules

    In article <bljv0l$aeb@netnews.proxy.lucent.com>, Tulan W. Hu wrote:
    > I understand that if I upgrade perl from 5.6 to 5.8, then I need to rebuild
    > the
    > modules and put them to the new @INC. I have built the modules for the
    > perl 5.8.1-rc4, and now I'm having the released 5.8.1. Do I still need to
    > rebuild the modules?
    > I thought that even the binary modules should be ok because I'm using the
    > same version of gcc and all library locations are the same too. The command
    > "perl Makefile.PL" just create the Makefile for me with correct the build
    > flags. I have tried a couple of modules, but it does not seem the rebuild
    > process makes any difference.
    5.8.0 and 5.8.1 are binary-compatible with each other, so if that was
    your upgrade path you'd be fine. Since they didn't change anything
    in 5.8.1, it's highly unlikely there'd be anything different in one of
    the release candidates.

    I'd recommend not rebuilding them by default and running some tests with
    the official 5.8.1 and the modules you built with rc4. If everything's
    fine, then you don't need to rebuild them.

    Walt

    Walt Mankowski Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139