Date: Tue, 12 Mar 2013 16:17:26 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Istvan Gabor <suseuser04@lajt.hu> Cc: freebsd-questions@FreeBSD.org Subject: Re: configure recursively and build question Message-ID: <44ppz4jru1.fsf@lowell-desk.lan> In-Reply-To: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu> (Istvan Gabor's message of "Tue, 12 Mar 2013 17:45:07 %2B0100") References: <33e0ec72.507f04c6.513f5b93.143fa@lajt.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
Istvan Gabor <suseuser04@lajt.hu> writes: > As there are no compiled FreeBSD 9.1 packages for pkg_tools I decided to build them. > Last I started to build kde3. First I issued make configure-recursive in > /usr/ports/x11/kde3, then make install clean, and left the computer for overnight to work. > I expected a successful build by the morning but instead I found a screen requiring some > config options (for apache). I selected the options and the build went on. > But later other config windows came up, so far for mysqlclient, sane-backends, > tk, tcl, libxine and sdl. So my question are: > > What is configure-recursive good for then? I thought it is for preventing interactions > during the build process. Ho can I really configure everything in one step and leave > the computer alone? First of all, I think you mean config-recursive. Second, config-recursive only does the configuration of the port options. Third, handling of ports options has recently been changed to a new system. See <http://wiki.freebsd.org/Ports/Options/OptionsNG>; intended for porters but revealing much internal workings. There may be some bugs (I think I've noticed a few but haven't looked much into it. You might want to ask the ports list about that. Fourth (and, you'll be glad to hear, finally) some ports are interactive for reasons beyond options. See the manual for ports(7), noting the environment variables INTERACTIVE and BATCH. > Second, after I've done a configure-recursive, how can I start it over from scratch in case > I want to change some config option? If I reissue make configure-recursive, > I get only no configuration needed messages. If you really want to start from scratch, you can use "rmconfig-recursive" on the dependent port. Or to start *all* ports from scratch, remove the contents of /var/db/ports/. But generally you won't want to do that. What you really want is most likely to be for one particular port, or for its full tree of dependencies. In the first case, go to that port's directory and just do a "make config" there. In the second case, go to that port's directory and use "make showconfig-recursive" to figure out which ports actually need to be changed. I hope that helps.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ppz4jru1.fsf>