From owner-freebsd-questions@FreeBSD.ORG Sun Apr 12 00:49:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34598106566B for ; Sun, 12 Apr 2009 00:49:40 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from imedmobility.com (host-50.216-16-29.iw.net [216.16.29.50]) by mx1.freebsd.org (Postfix) with ESMTP id E0DAB8FC19 for ; Sun, 12 Apr 2009 00:49:39 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from midco.net (host-67-54-107-208.midco.net [208.107.54.67]) by imedmobility.com (Postfix) with ESMTPA id 35BEA1173C5A for ; Sat, 11 Apr 2009 19:49:39 -0500 (CDT) Message-ID: <49E13A9B.7050002@gmail.com> Date: Sat, 11 Apr 2009 19:49:31 -0500 From: Adam Vande More User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20090411002800.32DA9BE71@kev.msw.wpafb.af.mil> In-Reply-To: <20090411002800.32DA9BE71@kev.msw.wpafb.af.mil> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: sorta newb help compiling samba 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, 12 Apr 2009 00:49:40 -0000 Karl Vogel wrote: >>> On Fri, 10 Apr 2009 14:31:06 -0500, >>> Adam Vandemore said: >>> > > A> How do you handle major builds that use FBSD specific patches.... > A> asterisk for example? > > Fortunately I haven't had to build asterisk or anything else that large. > If I did, I'd probably try building under Solaris first, and when > installing under FBSD, I'd examine any patches and put them in by hand. > > My only experience with a major ports build was attempting to upgrade > Firefox; 20 minutes after starting, I was left with a literally > unbootable system. I had to yank the drive, give it to a buddy to > verify that my files were still present, do a complete installation > with a more recent FBSD version on a clean drive, and restore my stuff > from the original system. > > I'm perfectly willing to admit that I botched something in the Firefox > upgrade, but I've also run into problems installing anything that remotely > depends on perl. I use the same version on all my servers, and I got > tired of seeing "unable to find perl-5.8.whatever"; configure scripts > test for capability rather than version number to avoid this problem. > Some of my servers are not allowed to have any network access, which > means no chasing dependencies; I put in a CD with some source and run > a build script. > > A shot in dark at the problem is upgrading firefox also upgraded perl from 5.8.8 to 5.8.9(possibility w/ threaded perl). If some other of your apps expected perl 5.8.8 on boot and didn't find then that could cause an issue similar to your description. Since perl is such a huge part of the ports collection, when perl is updated, all of it's dependencies should be rebuilt against the new version. That's relatively easy to accomplish using something like portupgrade or portmaster. I've had to take steps like you describe before, but I try to keep the things I maintain separately to an absolute minimum as in addition to the time consumption aspect of it, I tend to forget things which then blow in my face so I find it easier to use more conventional means. Also a good idea to keep on top of /usr/ports/UPDATING as well which will give you a heads up on such a thing. The entry referencing the perl upgrade: 20090113: AFFECTS: users of lang/perl5.8 AUTHOR: skv@FreeBSD.org lang/perl5.8 has been updated to 5.8.9. You should update everything depending on perl. The easiest way to do that is to use perl-after-upgrade script supplied with lang/perl5.8. Please see its manual page for details.