Linux Kernel Version and Perl Compilation

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

  1. #1

    Default Linux Kernel Version and Perl Compilation

    Currently I am looking at a new hosting provider and already hit one strike where the Perl version they had listed on their "Packages" page differed from that installed, aka they listed 5.6.1 and have 5.6.0 installed which really tinkers my toys, but I may be able to let that one slip. I know there were substantial improvements from 5.6.0 to 5.6.1 but I am not sure any of them will affect my code, any in particular I should be on the look out for?

    Now to my actual question, and this may be more a Linux question than Perl, but I thought I would see what the gurus have to say, could I run into issues with a Perl compiled on one kernel version aka 2.2.16 and it running under a different, specifically 2.4.9 (smp) kernel, and what types of issues? Will I have problems compiling or running modules (XS in particular) that I build against this Perl under the newer kernel?

    It is this kind of stuff that I get sick of dealing with hosting providers about....

    [url]http://danconia.org[/url]
    Wiggins D'Anconia Guest

  2. Similar Questions and Discussions

    1. compilation with kernel 2.6
      I'm trying to compile mysql normal on a Slackware 10.2. If I use kernel 2.4, all works fine, but with kernel 2.6.14 all seems to work fine in the...
    2. Perl:Tk and gcc compilation
      I have a SunBlade 1500 (Solaris 8) with Perl5 (5.005_03) installed. I downloaded the Tk module. I can read in the "README.Solaris" : "I normally...
    3. No video after kernel compilation
      Every time I try to compile the linux kernel, I get a blank screen on reboot. I've always followed these directions:...
    4. kernel compilation question
      Now that I'm fully moved over to Debian :-), I'm looking at start tinkering with kernel compilation. I would "assume" I'd need the kernel-source...
    5. Kernel version, apt-get, modem
      Hi folks, I am exploring the Linux that I had recently installed. 1) I downloaded the kernel from the site recommended by a documentation that...
  3. #2

    Default Re: Linux Kernel Version and Perl Compilation

    Wiggins D'Anconia wrote:
    >
    > Currently I am looking at a new hosting provider and already hit one
    > strike where the Perl version they had listed on their "Packages" page
    > differed from that installed, aka they listed 5.6.1 and have 5.6.0
    > installed which really tinkers my toys, but I may be able to let that
    > one slip. I know there were substantial improvements from 5.6.0 to
    > 5.6.1 but I am not sure any of them will affect my code, any in
    > particular I should be on the look out for?
    The perldelta.pod file in 5.6.1 will tell you the differences between
    5.6.1 and 5.6.0.


    John
    --
    use Perl;
    program
    fulfillment
    John W. Krahn Guest

  4. #3

    Default Re: Linux Kernel Version and Perl Compilation

    On Fri, Sep 12, 2003 at 12:30:44PM -0500, Wiggins d'Anconia wrote:
    > I know there were substantial improvements from 5.6.0 to 5.6.1 but I
    > am not sure any of them will affect my code, any in particular I should
    > be on the look out for?
    It's perfectly usable, but 5.6.0 did end up with a reputation for
    bugginess... Check the perldelta for 5.6.1 to get an idea of what
    some of the problems were.
    > could I run into issues with a Perl compiled on one kernel version aka
    > 2.2.16 and it running under a different, specifically 2.4.9 (smp) kernel,
    > and what types of issues?
    A kernel upgrade won't (er, shouldn't) cause any problems. If you're
    changing the whole system, though, then you may need to configure and
    recompile perl and the XS modules with the new system's compiler and
    libraries.

    --
    Steve
    Steve Grazzini Guest

  5. #4

    Default Re: Linux Kernel Version and Perl Compilation

    Wiggins D'Anconia wrote:
    > Now to my actual question, and this may be more a Linux question than
    > Perl, but I thought I would see what the gurus have to say, could I run
    > into issues with a Perl compiled on one kernel version aka 2.2.16 and it
    > running under a different, specifically 2.4.9 (smp) kernel, and what types
    > of issues? Will I have problems compiling or running modules (XS in
    > particular) that I build against this Perl under the newer kernel?
    i think this has more to do with xsubpp than the kernel. XS is not C, it's a
    glue / layer between Perl and C. even in C, your code is probably not
    talking to the kernel directly unless of course, you are doing kernel
    development. you are talking to the C libraries which, supposely, is going
    to make your code portable across different platforms. xsubpp is reponsible
    to translate your XS code to C which again makes XS a lot more portable on
    top of C. consider that all the modules in CPAN is distributed to a wide
    audience, i believe very few authors would have the time and resource to
    test their code on all platforms and yet xsubpp and the C libraries provide
    all the abstraction to figure out the differences between those platforms
    so the programmer don't have to worry too much about it.

    i am no gurus or expert on that kind of stuff as i am myself fairly new to
    it and still learning. you might get a better a answer if you submit your
    question to perl.xs

    david
    --
    $_=q,015001450154015401570040016701570162015401440 041,,*,=*|=*_,split+local$";
    map{~$_&1&&{$,<<=1,$#.=qq~\x63\x68\x72\x28@_[$_..$||3])=>~}}0..s~.~~g-1;*_=*#,

    goto=>print+eval
    David 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