I retract my retraction, I confused myself. I fixed PERLLIB and still won't
auto run $Config{sitelib}/sitecustomize.pl unless I invoke it directly (which
at least does work, but proves nothing).
Still looking for any experience with either userelocatable and/or
usesitecustomize uon Unix (not Windows)
Bill
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Ricker, William
Sent: Monday, October 17, 2011 8:02 PM
To: Boston PM
Subject: Re: [Boston.pm] Anyone using sitecustomize.pl or userelocatableinc ?
Ok I found my problem with sitecustomize, my PERLLIB was mangled.
(I had hoped I wouldn't need PERLLIB with userelocatable but that doesn't seem
to be the case.)
Still looking for anyone with experience with userelocatable as Makefile.PL
still hates me.
bill
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Ricker, William
Sent: Monday, October 17, 2011 7:17 PM
To: Boston PM
Subject: [Boston.pm] Anyone using sitecustomize.pl or userelocatableinc ?
I am attempting to build Perl 5.14.2 with -D userelocatableinc option and -D
usesitecustomize .
This is because local IT filesystem convention does not permit
applications-team supported code in nonvarying FS name like /opt. I can build
Perl and DBI etc, but need to be able to deploy into each business app's
filesystem. Perl doesn't normally like that. Perl 5.10 added these two optional
features to support that, but they don't seem to be used much, at least not
together on Unix. (ActiveState at least uses sitecustomize.pl normally.)
My intent is to use -Dusesitecustomize 's special
$Config{sitelib}/sitecustomize.pl file in final location to patch paths, after
building with fictional prefix and make install DESTDIR=$HOME/test/perl5 for
test and cpanp module builds .
Alas, sitecustomize.pl doesn't seem to be found when $Config{sitelib} (or
rather the compiled in C version actually used) is a relative not absolute
path, as is if and only if userelocatableinc is in effect -
$ head -2 perl/lib/site_perl/5.14.2/sitecustomize.pl
print "sitecustomize.pl\n";
$ perl/bin/perl -MConfig -E 'say $Config{sitelib}; say
$Config{usesitecustomize};'
.../../lib/site_perl/5.14.2
define
$
(The magic '...' meaning 'my executable' seems to be not supported in a few
other places to, I logged a bug against Ext-MM today, and perldoc's use of
Perldoc::ToMan also gets confused.)
Maybe I need to set up ENV differently before running a userelocatableinc Perl,
but my PATH and PERLLIB seem sufficient.
William Ricker
Director, Architecture
Fidelity Investments / FPCMS Systems, Arch & Data
617-563-0648 / 780-2223
M/S Z1E
[email protected]
Aka BRICKER@cpan aka N1VUX aka [email protected]
http://www.linkedin.com/in/n1vux
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm