Michael G Schwern <[EMAIL PROTECTED]> writes:

> Just to make sure I have this straight...

> installprefix=%package%/@sys means 'make install' will copy perl into
> %package%/@sys.

Right.  (%package% is substituted by my build software before it's
actually passed to Perl; resolution of "%package%" isn't a MakeMaker or a
configure thing.)

> prefix=/usr/pubsw means that even though perl was installed in
> %package%/@sys, you're going to move/symlink it into /usr/pubsw.

> that right?

Right.

All of our software is actually installed into /afs/.ir/pubsw into various
per-package directories.  I then have written a bunch of software (in
Perl) which analyzes the resulting installation structure and creates
symlinks from various per-package bin, lib, etc. directories into those
package volumes.  /usr/pubsw is purely a symlink tree.

So Perl should install into /afs/.ir/pubsw/... but in all other respects
expect to find all of its pieces in /usr/pubsw.

>> I then configure Perl modules for site-wide installation with:
>> 
>> Makefile.PL INSTALLDIRS=site
>>     INSTALLARCHLIB=%SITELIB%/systems/@sys
>>     INSTALLSITEARCH=%SITELIB%/systems/@sys
>>     INSTALLSITELIB=%SITELIB%
>>     INSTALLHTMLSCRIPTDIR=%PREFIX%/share/nohtml
>>     INSTALLBIN=%PREFIX%/@sys/bin
>>     INSTALLSCRIPT=%PREFIX%/share/bin
>>     INSTALLMAN1DIR=%PREFIX%/share/man/man1
>>     INSTALLMAN3DIR=%PREFIX%/share/man/man3p
>>     SITELIBEXP=%INSTALLED%
>>     SITEARCHEXP=%INSTALLED%/systems/@sys
>> 
>> where %PREFIX% is /afs/.ir/pubsw/Site/siteperl-5.6.1 and %SITELIB% is
>> %PREFIX%/share/lib.  Those directories are then linked by our packaging
>> tools into /usr/pubsw (such as /usr/pubsw/lib/perl5/5.6.1/site_perl).

> Hmmm.  All that shouldn't be necessary.

Yes, I'm of that opinion too, particularly since HTMLSCRIPTDIR and such
things keep getting added.  :)

> Can I see your Config.pm?

Certainly.  I'll send you a copy separately.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to