# Re: More Perl fun: man and System directories

3 messages from 2006-12-13 to 2006-12-14. Participants: Brian Gernhardt, Sebastian Harl.
Thread: https://gitlist.dev/t/43498

## Brian Gernhardt, 2006-12-13 13:07

Subject: More Perl fun: man and System directories
Message-ID: <4F093D53-CFC7-44F1-9460-22DAD35DBAC8@silverinsanity.com>
URL: https://gitlist.dev/e/4F093D53-CFC7-44F1-9460-22DAD35DBAC8%40silverinsanity.com

```
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, 2006-12-13 13:14

Subject: Re: More Perl fun: man and System directories
Message-ID: <20061213131414.GQ2476@albany.tokkee.org>
URL: https://gitlist.dev/e/20061213131414.GQ2476%40albany.tokkee.org
In-Reply-To: <4F093D53-CFC7-44F1-9460-22DAD35DBAC8@silverinsanity.com>

```
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, 2006-12-14 14:15

Subject: Re: More Perl fun: man and System directories
Message-ID: <B8208A6B-E42B-4BCD-8CAC-7EE222B18195@silverinsanity.com>
URL: https://gitlist.dev/e/B8208A6B-E42B-4BCD-8CAC-7EE222B18195%40silverinsanity.com
In-Reply-To: <4F093D53-CFC7-44F1-9460-22DAD35DBAC8@silverinsanity.com>

```
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:
> 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.


```
