From owner-freebsd-questions Sun Jul 21 12:30:57 2002 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 2100037B416 for ; Sun, 21 Jul 2002 12:30:38 -0700 (PDT) Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 0316B43E64 for ; Sun, 21 Jul 2002 12:30:37 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 10237 invoked from network); 21 Jul 2002 19:30:35 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 21 Jul 2002 19:30:35 -0000 Subject: Re: Installing gnome2 with XFree86-4 - Why is this so difficilt????? From: Joe Kelsey To: sroberts@dsl.pipex.com Cc: Kevin Golding , freebsd-questions@FreeBSD.org, freebsd-gnome@FreeBSD.org In-Reply-To: <1027278885.3d3b0825bd614@netmail.pipex.net> References: <1027264013.3d3ace0d2ae43@netmail.pipex.net> <1027267150.3d3ada4e19ce0@netmail.pipex.net> <1027278885.3d3b0825bd614@netmail.pipex.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 21 Jul 2002 12:30:35 -0700 Message-Id: <1027279835.9621.166.camel@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Step 0. cvsup your ports tree. Step 0.5 Install portupgrade from /usr/ports/portupgrade. Learn how to properly use the new tools, especially the -R and -r flags to portinstall/portupgrade. On Sun, 2002-07-21 at 12:14, sroberts@dsl.pipex.com wrote: > > Hi Kevin, > Okay.., I'm at the point of considering rebuilding the box here. > > Before I do, I'd appreciate though, frank answers to two scenarios if you can.., > > 1] Stop the current re-install of XFree86-4 (with the constant failings due to > components being already installed:- > > Can I stop this re-install? You can stop any re-install at any point. > Is there a procedure for then ensuring that I *copmpletely* wipe all instances > of XFree- from the system, before attempting installing via a package? pkg_delete -f 'XFree*' > 2] Seeing that this whole situation is all about my initial failed attempts to > install gnome2,: > > After completion of the XFree86-4 install (via ports or packages), should I > proceed on from the point where the gnome2 install fails (at the gle error)? portinstall -R gnome2 > If not, and I have to re-fetch fresh gnome2 sources, is there a procedure for > *completely* removing ALL instances of gnome from the system? > > For both scenarios above, how do I ensure that I get the latest (hopefully > correct) binaries for installation? > > Thanks again Kevin., Please don't think that I mean to place you in a spot or > anything., you're just the *only* person that's bothered to reply to my post on > this list. > > Stacey > > Quoting Kevin Golding : > > > Someone, quite probably , once wrote: > > >I'm actually running the re-install of XFree86-4 at the moment wihtout > > having > > >done a make distclean. Is this the reason why for each component, it > > fails > > >with "error: XFree86-4 already installed, perhaps an older > > >version..,"? > > > > > >Would it be in my interest then to stop this and restart from the > > beginning? > > > > It sounds like everything wasn't quite removed when you deinstalled. > > > > ls /var/db/pkg | grep -i xfree > > > > That should show up a few things that might need removing. Else make > > sure your ports tree is fully up to date and then run: > > > > portversion -L = > > > > That may show up a few out of date things that could be worth upgrading. > > > > portupgrade -rR XFree86-4 > > > > The above might resolve a few issues if you are out of date. Else it > > might be worth thinking about packages this time: > > > > pkg_add -r XFree86-4 > > > > Will get the latest binary and hopefully get you back to a working > > state. Then you could probably track X using portupgrade to reduce > > hassle. > > > > Kevin > > > > >Quoting Kevin Golding : > > > > > >> Someone, quite probably Stacey Roberts, once wrote: > > >> >1] From the *one* reply I've had to my earlier post concerning the > > >> gnome2 > > >> >install failure, it appear that I have to re-install XFree86-4.2.0. > > Why > > >> is that > > >> >after running pkg_delete on XFree86-4.0.2, "make" doesn't go out and > > >> get a > > >> >fresh set of files for the re-install? > > >> > > > >> >Am I missing something about the make process here? Presumably there > > >> was > > >> >something wrong with the XFree86-4 sources I got yesterday when I > > >> installed it, > > >> >so I would have thought it logical that I should be obtaining a > > fresh > > >> set of > > >> >source files for the new install. > > >> > > >> To fetch new sources you need to remove the old ones from > > >> /usr/ports/distfiles. You can either manually rm each tarball or > > just > > >> run "make distclean" before "make". > > >> > > >> It can also be worth running "make fetch" as your first step to > > install > > >> a port as that simply downloads any files you are missing for that > > port > > >> (although not dependencies). > > >> > > >> >2] To do the install of XFree86-4 anyways, what I did was pkg_delete > > of > > >> XFree86- > > >> >3 in /var/db/pkg; rm -rf /usr/X11R6/*, then editing /etc/make.conf > > to > > >> reflect > > >> >that the XFree version is now 4 > > >> > > >> Since 4.6 I believe the default X has been 4 making such a config > > >> redundant. It might be worth running through /etc/defaults/make.conf > > >> and seeing if you need to change anything else. If you're not using > > 4.6 > > >> then don't worry about it. > > >> > > >> Kevin > > >> -- > > >> kevin@caomhin.demon.co.uk > > >> > > > > > > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > > >with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > kevin@caomhin.demon.co.uk > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message