From owner-freebsd-questions@FreeBSD.ORG Fri Sep 1 18:46:12 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 3206116A4DF for ; Fri, 1 Sep 2006 18:46:12 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876BE43D46 for ; Fri, 1 Sep 2006 18:46:11 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id i27so1104826wxd for ; Fri, 01 Sep 2006 11:46:10 -0700 (PDT) Received: by 10.70.7.4 with SMTP id 4mr4189468wxg; Fri, 01 Sep 2006 11:46:10 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id h34sm3406908wxd.2006.09.01.11.46.10; Fri, 01 Sep 2006 11:46:10 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 0C3F7B95C; Fri, 1 Sep 2006 14:46:09 -0400 (EDT) Received: from [192.168.0.4] (boss.seibercom.net [192.168.0.4]) (Authenticated sender: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id 5BF3AB8DE; Fri, 1 Sep 2006 14:46:08 -0400 (EDT) Date: Fri, 01 Sep 2006 14:46:28 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: <10609011758.AA10312@pluto.rain.com> References: <10609011758.AA10312@pluto.rain.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060901143228.60CF.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] X-Virus-Scanned: ClamAV using ClamSMTP Cc: perryh@pluto.rain.com Subject: Re: Trouble building abiword in the Ports Collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 18:46:12 -0000 Perry Hutchison wrote: > What I have done: > * Installed 6.1, including the Ports Collection, from CD. > * Ran portsnap fetch. > * Attempted portsnap update. > ? It sez this only works after an extract. What is the point of > installing the collection from CD if it has to be completely > reinstalled from a download anyway? > * Ran portsnap extract. > * Built richtext, apparently successfully. > * Attempted to build abiword. It complained about a glibc version > problem, and said to run gnomelogalyzer.sh. gnomelogalyzer.sh > found nothing specific, but said to run 'portupgrade -a' on general > principles. > ? Why should this be needed? Shouldn't a freshly-downloaded > portsnap already be up to date? > * Attempted 'portupgrade -a'. It ran for several hours, fetching > and building a huge amount of stuff (most of which I don't think > I want), and pausing several times for answers to imponderable > configuration questions, before eventually failing. > ? Shouldn't those configuration screens have a "help" function, for > those of us who have no clue what some of the options amount to? > * Reran 'portupgrade -a' to get a smaller logfile, showing only the > errors (since presumably the successful builds won't be redone). > This time it complains about the pkgdb. > ? Now what? Is it time to "rm -rf /usr/ports /var/db/pkg" and > start completely over (and if so, what should I do differently > this time)? Try this. Run everything as root. pkgdb -aFfuv That should fix most if not all problems. If it fails, you will have to run: pkgdb -F to fix them manually. If you have 'portupgrade' you should also have portsclean. Try running this to clean up any crud left from you old builds. portsclean -CDDLP Now run: portsnap fetch && portsnap update Now you can run the portupgrade command. You can probably run it like this: portupgrade -aFRr That should cover all of your bases. Personally I prefer 'portmanager' but each to his own. Good luck! -- Gerard Seibert gerard@seibercom.net