threads / discuss / 43498

Re: More Perl fun: man and System directories

Subject: Re: More Perl fun: man and System directories

## tl;dr

3 messages between Dec 13, 2006 and Dec 14, 2006.

replies: 2people: 2as markdown or json

Brian Gernhardt· Dec 13, 2006, 13:07 UTC · lore

More Perl fun: man and System directories

Hello again!

Perl's MakeMaker seems to be a rather arcane thing. I'm trying to figure out two things:

1) Perl is creating man files in the wrong place.  My system expects  
them to be in /usr/local/share/man, but Perl is installing them in / 
usr/local/man.  Currently I'm just moving them by hand every time I  
pull-make-install, which is less than optimal.
2) In a bit of what I'm sure is OS X strangeness, Perl is creating a / 
usr/local/System directory that contains one file: "System/Library/ 
Perl/5.8.6/darwin-thread-multi-2level/perllocal.pod".  This doesn't  
seem to be useful, and I'm deleting it without anything exploding  
(noticeably) since I doubt anything is looking for a System directory  
there.  Is there a way to keep Perl from creating it in the first place?
Thanks for your time!
Sebastian Harl· Dec 13, 2006, 13:14 UTC · re: Brian Gernhardt · lore
Hi,
On Wed, Dec 13, 2006 at 08:07:19AM -0500, Brian Gernhardt wrote:
> 1) Perl is creating man files in the wrong place.  My system expects  
> them to be in /usr/local/share/man, but Perl is installing them in / 
> usr/local/man.  Currently I'm just moving them by hand every time I  
> pull-make-install, which is less than optimal.
Try "perl Makefile.PL INSTALLDIRS=vendor".

Cheers, Sebastian

-- 
Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC
http://tokkee.org/
Brian Gernhardt· Dec 14, 2006, 14:15 UTC · re: Brian Gernhardt · lore

Sorry about the delay. My subscription e-mail to the list got delayed somewhere along the way, so I missed your message until I decided to poke at the web archive.

On Dec 13, 2006, at 1:14 PM, Sebastian Harl wrote:
Show 7 quoted lines
> On Wed, Dec 13, 2006 at 08:07:19AM -0500, Brian Gernhardt wrote:
> > 1) Perl is creating man files in the wrong place.  My system expects
> > them to be in /usr/local/share/man, but Perl is installing them in /
> > usr/local/man.  Currently I'm just moving them by hand every time I
> > pull-make-install, which is less than optimal.
>
> Try "perl Makefile.PL INSTALLDIRS=vendor".

That doesn't seem to change anything at all, and checking "man ExtUtils::MakeMaker" and "perl -V:install.*", that still seems to install man files in /usr/local/man instead of /usr/local/share/man. And still generates /usr/local/System/...

I ran: cd perl; perl Makefile.PL INSTALLDIRS=vendor; cd ..; make; sudo make install

Maybe I need to tweak Perl's variables somewhere instead. Or my MANPATH. The latter is probably easier.

← back to recent threads