On Apr 21, 2004, at 12:43 PM, Kurt Steinkraus wrote:

Hi,

I'm trying to run (and maybe eventually package) clusterssh.  This is
a setuid perl script, and it depends on the config-simple-pm perl
module fink package.

The problem is that perl is very strict about what modules it will
load when running setuid; in particular, there seems to be a
hard-coded path that is searched, and there's no way to change it.
This means I can't use Apple's perl, because fink's perl modules (such
as Config::Simple) aren't in its path.  Unfortunately, I also seem
unable to use fink's perl, at least version 5.8.0-11, because it
doesn't look in /sw/lib/perl5 and thus doesn't find
version-independent perl modules.  The output is:

Can't locate Config/Simple.pm in @INC (@INC contains: /sw/lib/perl5/5.8.0/darwin /sw/lib/perl5/5.8.0 /sw/lib/perl5/site_perl/5.8.0/darwin /sw/lib/perl5/site_perl/5.8.0 /sw/lib/perl5/site_perl) at /Users/kurtas/dl/cssh line 73.
BEGIN failed--compilation aborted at /Users/kurtas/dl/cssh line 73.



That's strange. What do you get if you run "printenv PERL5LIB"?


Am I doing something wrong, or is there a way to work around this?

Thanks --Kurt

--
Kurt Steinkraus --- [EMAIL PROTECTED] --- http://kurtas.csail.mit.edu/
PGP fingerprint: 6427 E31D 7D0E 5D3D B39F 6510 416C 128C 7A49 0879
See http://kurtas.csail.mit.edu/pgpinfo.html for PGP key





-- Alexander K. Hansen Associate Research Scientist, Columbia University visiting MIT Plasma Science and Fusion Center Levitated Dipole Experiment 175 Albany Street, NW17-219 Cambridge, MA 02139-4213



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to