Solved Running "make install clean"

I am returning to FreeBSD after using Linux for many years. When installing from the ports collection with make install clean I am having to hit enter repeatedly.

Is there a command line option for make that will tell it to accept the defaults whenever a package requests user input?

I am not a developer so the questions have little meaning to me most of the time.

Thank you in advance.

joatmor
 
Ah yes, now I remember using that option . . . Thanks!

To answer your question I want to get under the hood a bit as I get reacquainted with FreeBSD.

I need to install Cinnamon and for the time it will take I would just as soon compile the latest.
 
If you use make install clean, it will stop asking after the choices have been made once. The good part is when the options change, that option screen will appear.
 
If you use make install clean, it will stop asking after the choices have been made once. The good part is when the options change, that option screen will appear.

When I did that I was hitting enter non-stop. In essence I was having to sit there and babysit the process. After about an hour of this the compile failed. That was when I decided to retry with the -DBATCH option. Unfortunately my second attempt also failed but at least I did not have to babysit it. I will have to reconsider what I am trying to do.
 
Another option is to first run # make config-recursive from the port directory to configure the options for both the port and all it's dependent ports recursively. If your using the default options, there will not be any babysitting after that.
 
I still recommend using -DBATCH anyway because saving of options that don't differ from defaults is just silly and potentially harmful.
 
How so? I'm not challenging you, I just don't know and am interested in learning.

Options can change over time or change meanings resulting in broken builds when the options that are on surface valid turn out to be invalid when used. I would at least change the saved options so that if the options to be saved don't differ from the defaults nothing would be saved.
 
I think I was biting off more than I could chew as a newb.

FreeBSD has changed enough since I was last involved that I am in fact a newb.

I need to take it one step at a time and build up my system.

The online handbook is very informative and that is what I am working from.

Thank you all for your input. I have learned from this thread.
 
Back
Top