From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 17:05:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15AF516A6B8 for ; Sun, 4 Jun 2006 17:05:47 +0000 (UTC) (envelope-from jhorne@dfwlp.com) Received: from zeus.int.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98C5143D49 for ; Sun, 4 Jun 2006 17:05:46 +0000 (GMT) (envelope-from jhorne@dfwlp.com) Received: from smarty.int.dfwlp.com (c-24-1-139-244.hsd1.tx.comcast.net [24.1.139.244]) (authenticated bits=0) by zeus.int.dfwlp.com (8.13.6/8.13.6) with ESMTP id k54H5ipH051404 for ; Sun, 4 Jun 2006 12:05:45 -0500 (CDT) (envelope-from jhorne@dfwlp.com) From: Jonathan Horne To: freebsd-questions@freebsd.org Date: Sun, 4 Jun 2006 12:05:20 -0500 User-Agent: KMail/1.9.1 References: <200606031212.11908.jhorne@dfwlp.com> <44fyikzx61.fsf@be-well.ilk.org> In-Reply-To: <44fyikzx61.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606041205.20737.jhorne@dfwlp.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on zeus.int.dfwlp.com Subject: Re: how to avoid recompiling applications? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 17:06:29 -0000 On Sunday 04 June 2006 11:46, Lowell Gilbert wrote: > Jonathan Horne writes: > > i have a system that i tend to tear up quite often. sometimes > > accidently, sometimes not. recompiling kde is quite a long process (and > > when i try to do it from packages, something is always messed up). > > > > so, i was under the impression that if you *did not* make install clean > > (thus, only using 'make clean') and save your work directories, then when > > it came time to reinstall something, you would not have to go thru the > > compile process, and skip straight to the installation? > > > > example is, last night i compiled xorg from ports, but then tried to > > (against my better judgement) pull down kde from packages. utter > > catastrophe, after removing the non-working kde-package, kde3 port would > > not even compile after that. anyway, long story short, i backed up > > my /usr/ports, /usr/src, /usr/obj, and reinstalled. using my restored > > backup files, reapplying my old kernel and installworld went just without > > issue, i skipped the buildworld and buildkernel just fine, no hitches. > > but when i went to reinstall the xorg from last night (all the work > > directories were still there), 'make install' returned no output, and > > nothing happened. what gives? > > "make reinstall". See "man ports". > > > i ended up having to do a make clean on my ports dir before i could > > continue. in the future for me, is there a way to proeperly retain all > > the precompiled stuff, and just skip right to the installation portion of > > my previously compiled ports? > > I would tend to build your own packages, and keep them around. Then > you can reinstlal them easily. ah, thank you for your reply... i finally exhale while waiting in anticpation! so, could i theoretically use 'make reinstall' on a fresh system where the port had never been previously installed? im trying to build my system using the minimal install, and then recover my previous /boot /usr/src /usr/obj (then make installworld etc), then turn to my recovered /usr/ports and just begin installing previously compiled applications. thanks, jonathan