#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 zzzzz): Maybe I'm just accustomed to old ''/boot/common/'' layout, which seems to be with haiku since the very beginning. And those dots in folder names... Is it Haiku's hidden directory, like Unix? On my Slackware Linux box ''include array @INC'' default value is as follows: {{{ @INC: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 . }}} Manually installed modules (site_perl), for example from cpan shell with sudo, go into /usr/local hierarchy. Those pre-packaged should go into vendor_perl directories. By saying that layout is broken I wanted to say that in the current HaikuPM layout the 'site_perl' part for manual installation falls below /packaged directory, which for me is not logical. Please correct me if I'm wrong, but shouldn't it be somewhere else, somewhere outside, at least for manually installed modules (aka site_perl), which have nothing in common with packaging? Or is it my misunderstanding of new package management internals? On HaikuPM 'site_perl' part of @INC looks like this: {{{ /packages/perl-5.10.1-5/.self/non-packaged/lib/perl5/site_perl/5.10.1 /BePC-haiku /packages/perl-5.10.1-5/.self/non-packaged/lib/perl5/site_perl/5.10.1 . }}} Anyway, the '''critical issue''' here is the '''inability to build/install perl modules'''. And supposedly the CPAN/Config.pm is on place, still default installation place for modules will be below this /packages directory. BTW, default per user config in ''$HOME/.cpan/CPAN/MyConfig.pm'' is typically generated upon first run of ''cpan'' shell. But this HaikuPM cpan is ''/boot/common/bin/cpan''? Why not ''/packages/perl-5.10.1-5/.self/bin/cpan''? -- Ticket URL: <http://dev.haiku-os.org/ticket/9991#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.