[haiku-bugs] Re: [Haiku] #9991: HaikuPM: perl heavily crippled

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 21 Sep 2013 22:44:42 -0000

#9991: HaikuPM: perl heavily crippled
   Reporter:  zzzzz                            |      Owner:  zooey
       Type:  bug                              |     Status:  assigned
   Priority:  normal                           |  Milestone:  R1/beta1
  Component:  Applications/Command Line Tools  |    Version:  R1/Package
 Resolution:                                   |  Management
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |  perl,cpan,modules
                                               |   Blocking:
                                               |   Platform:  x86

Comment (by bonefish):

 "/packages/<package>/.self" is a symlink that always refers to the
 installation location of the package in question. It allows hard-coding
 absolute paths at build time while still allowing the package to be
 installed in either of the three installation locations.

 By default perl is installed in "/boot/common". So your site perl is
 "/boot/common/non-packaged/lib/perl5/site_perl/...", which is intended.
 The "non-packaged" directories in "/boot/common" and "/boot/home/config"
 are the base for a writable directory hierarchy, while most of the sibling
 directories are read-only (save for a few exceptions like "settings",
 "cache", and "var").

 So the `@INC` paths look OK, I guess. I'm not sure about the vendor perl
 directories. We might want to consider changing those to explicitly list
 both "/boot/common/..." and "/boot/home/config/...", so one can install
 packaged perl modules in home, even if perl itself is installed in common.

Ticket URL: <http://dev.haiku-os.org/ticket/9991#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: