|
From: Alexander H. <ale...@gm...> - 2018-04-10 04:32:33
|
> On Apr 9, 2018, at 21:21, Scott Novak <san...@gm...> wrote: > > Another error message: > > MDD120GB2-2:~ a5a5$ sudo /sw/bin/pathsetup.sh > Password: > login: PAM Error (line 400): Cannot make/remove an entry for the specified session > > Your startup scripts contain an error. > I am giving up. Bye. > MDD120GB2-2:~ a5a5$ > That’s a new one to me. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Here is a copy of pathsetup.sh: > <snip> Umm, you needn’t have bothered with that. It’s in the fink source, and we can peruse it at our leisure. You can do the same thing that pathsetup.sh does by editing .bash_profile or .profile in your home directory (depending on which one, if present, you are using—if not just use .profile) using e.g. "nano $HOME/.profile” from a terminal, and add the following near the top: test -r /sw/bin/init.sh && . /sw/bin/init.sh Then save the changes and start a new terminal session. You can also just use “source /sw/bin/init.sh” before trying the .inject.pl from fink-mirrors for a temporary workaround. —akh |