Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Is the blib structure always the same ?

by syphilis (Chancellor)
on May 28, 2013 at 08:10 UTC ( #1035541=perlquestion: print w/replies, xml ) Need Help??
syphilis has asked for the wisdom of the Perl Monks concerning the following question:

I know that the directory layout of perl itself varies for different platforms and architectures, but can the 'blib' that EU::MM creates when building a specific module change from one platform/architecture to the next ?

For example, when building PDL on MS Windows, Basic/Core/pdlsimple.h gets placed in blib/Lib/PDL/Core.
Will it necessarily go to the same blib location when building on a different platform ?
I'm hoping it does ... and that the across-platform differences in the installed PDL layout are attributable solely to differences in specs.

Does anyone here know ?

  • Comment on Is the blib structure always the same ?

Replies are listed 'Best First'.
Re: Is the blib structure always the same ? (yes)
by Anonymous Monk on May 28, 2013 at 08:47 UTC
Re: Is the blib structure always the same ?
by kcott (Chancellor) on May 28, 2013 at 09:54 UTC

    G'day Rob,

    I've tried that on Mac OS X. That file gets placed in blib/lib/PDL/Core. Note that's lib not Lib; although, Mac OS X ignores case in filenames so it will find it in Lib, liB and any other combination. However, when forced to choose, it does pick lib:

    ken@ganymede: ~/.cpan/build/PDL-2.006-av7kS3 $ ls -l blib/[Ll][Ii][Bb]/PDL/[Cc]ore/pdlsimple.h -r--r--r-- 1 ken staff 1453 28 May 18:37 blib/lib/PDL/Core/pdlsimpl +e.h

    (note it picked Core over core)

    My perl and OS:

    $ perl -v This is perl 5, version 18, subversion 0 (v5.18.0) built for darwin-th +read-multi-2level $ uname -a Darwin ganymede 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25: +48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

    -- Ken

      Note that's lib not Lib

      Actually it's 'lib' for me, too - and I think that will be universal. (Typo on my part.)
      Once you get further down the tree from 'blib/lib', the case should be the same as specified in the source distro ... I hope ;-)

      If the case can vary, then that will be an issue on case-sensitive systems ... in which case we'll find out, soon enough.)

      Thanks Ken, AM.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1035541]
Approved by hdb
Front-paged by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2018-03-17 16:54 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.