Douglas Kline <[EMAIL PROTECTED]> said:
>
> I am attempting to install fink without using root privilege.
[...]
> I tried running that with the "selfupdate" argument.  That failed for lack of
> .pm files that it looks for in the list of directories in @INC.  So I copied 
> in
> the files from the directory tree fink-0.8.0-full-XCode-2.1/perlmod/Fink to 
> the
> one directory in the list that fink has in @INC that isn't a system directory.
> It also ran sudo and and requested a password.  I haven't so far been able to
> figure out where that call to sudo is.

The logic of deciding root is needed (for example, when nonroot does
"fink install somepkg") and the implementation of becoming root are
handled in Engine.pm. Comment-out the call to restart_as_root, and
fink will never try to become root. Selfupdate drops root privs when
doing cvs manipulations (in SelfUpdate.pm, there are places where su
is prepended to $cmdd) but I don't think rsync messes with user
switching...might be a better thing to try.

If dselect is the stumbling block, just hack the apt package to avoid
building it.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks




_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to