Re: [Fink-devel] cleaner Fink environment?

2002-06-21 Thread Max Horn
At 23:03 Uhr -0400 20.06.2002, Joe wrote: Running tcsh, csh, or su with the -f flag causes the shell to run without loading .tcsh, .csh or whatever the case may be. OK but won't they inherit the environment of the parent shell anyway? How do we prevent that? Max --

Re: [Fink-devel] cleaner Fink environment?

2002-06-21 Thread Anthony DeRobertis
On Thu, 2002-06-20 at 06:16, David R. Morrison wrote: So I'm wondering if we should get Fink to compile in a cleaner environment. There should be some way to fork a shell with none of the environment variables inherited by the new shell, I would think? Yes, see the env command. At least

Re: [Fink-devel] cleaner Fink environment?

2002-06-21 Thread Yoav Felberbaum
At 8:19 -0600 21/6/02, Justin Hallett wrote: what if there was a user named fink? with a clean env? And if the user somehow changed the .cshrc file at a later date? We're then back to where we started. -- Yoav Felberbaum E-Mail: [EMAIL PROTECTED]

Re: [Fink-devel] cleaner Fink environment?

2002-06-21 Thread Justin Hallett
not if you lock the fink home dir or make /tmp that gets wiped all the time. It doesn't need a valid home since it's not a real user... [EMAIL PROTECTED] writes: And if the user somehow changed the .cshrc file at a later date? We're then back to where we started.

Re: [Fink-devel] cleaner Fink environment?

2002-06-21 Thread Justin Hallett
I agree so long as this is possible [EMAIL PROTECTED] writes: no, I do not think that is a good idea. What if some user already has the name fink taken? We cannot guarantee that. I think we should not have a dedicated user, but everything should be done by cleaning root's env and then using

Re: [Fink-devel] cleaner Fink environment?

2002-06-21 Thread Kyle Moffett
On Friday, June 21, 2002, at 03:10 PM, Justin Hallett wrote: I agree so long as this is possible [EMAIL PROTECTED] writes: no, I do not think that is a good idea. What if some user already has the name fink taken? We cannot guarantee that. I think we should not have a dedicated user,

Re: [Fink-devel] cleaner Fink environment?

2002-06-20 Thread Jim White
David R. Morrison wrote: From time to time, we've debugged problems from users which involved the user having an unexpected environment variable or alias set at compile time, which caused the configure script or makefiles to alter their behavior. ... I just spent a fair chunk of time to

Re: [Fink-devel] cleaner Fink environment?

2002-06-20 Thread Jim White
Max Horn wrote: Yes yes, I do fully agree it would be a nice thing to have (and it was discussed a bit in the past). I am now more wondering, how would it be done exactly. I checked out the make manual and it has a --warn-undefined-variables switch. I tried that out on openjade and it

Re: [Fink-devel] cleaner Fink environment?

2002-06-20 Thread Max Horn
At 10:09 Uhr -0700 20.06.2002, Jim White wrote: David R. Morrison wrote: From time to time, we've debugged problems from users which involved the user having an unexpected environment variable or alias set at compile time, which caused the configure script or makefiles to alter their

Re: [Fink-devel] cleaner Fink environment?

2002-06-20 Thread Justin Hallett
well my first thought is if fink could spawn a shell session with out any env, and source and set what it needs to compile, I'm not sure what this will break or how ealily this could be done. But ti's a starting point. [EMAIL PROTECTED] writes: Yes yes, I do fully agree it would be a nice thing

Re: [Fink-devel] cleaner Fink environment?

2002-06-20 Thread Joe
Running tcsh, csh, or su with the -f flag causes the shell to run without loading .tcsh, .csh or whatever the case may be. Hope that helps, Joe Gorse On Thursday, June 20, 2002, at 04:27 PM, Max Horn wrote: At 10:09 Uhr -0700 20.06.2002, Jim White wrote: David R. Morrison wrote: From time