I have a weird scenario I'm tasked with:

I've been packaging perl modules as RPMs.  I have, to date, been
successful with cpan2rpm to accomplish this:

  http://perl.arix.com/cpan2rpm/

Now, my environment has changed.  The host I'm now packaging on
runs perl 5.10, but the target Linux host has 5.8.8 installed.

My packaging generates files that live in /usr/lib/perl5/site_perl/5.10,
but that directory is unknown to the target perl distribution.

That target distribution is stock Red Hat EL5.  It was not complied
with the ability to use sitecustomize.pl, so I can't tweak @INC in
that manner.

Does anyone have any advice on how to resolve this?  I see two
courses of action:

- alter cpan2rpm's use of MakeMaker to somehow generate the correct
  directories for the Red Hat host.  (All of my efforts have failed
  so far.)

- find some mechanism analogous to sitecustomize.pl for the Red Hat
  host to force it to utilize the new module.

Does anyone have any advice on the above?  Or perhaps there's another
course of action I'm not considering?

-- 
Brian Reichert                          <[email protected]>
55 Crystal Ave. #286                    Daytime number: (603) 434-6842
Derry NH 03038-1725 USA                 BSD admin/developer at large    

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to