From owner-freebsd-questions Fri Mar 9 13:16:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from level3.dynacom.net (level3.dynacom.net [206.107.213.213]) by hub.freebsd.org (Postfix) with SMTP id E38A837B719 for ; Fri, 9 Mar 2001 13:16:19 -0800 (PST) (envelope-from kstewart@urx.com) Received: (qmail 23012 invoked by uid 0); 9 Mar 2001 21:16:14 -0000 Received: from unknown (HELO urx.com) (206.159.132.160) by mail.urx.com with SMTP; 9 Mar 2001 21:16:14 -0000 Message-ID: <3AA9481D.ABC98CBF@urx.com> Date: Fri, 09 Mar 2001 13:16:13 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: David Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Mayday: Problems installing from the ports. References: <000801c0a8b7$1ce93160$7765650a@Draper.cenus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > David Smith wrote: > > Hello. > > I am looking for advice on what I have done wrong. I installed > FreeBSD v4.2 from scratch (using the developer distribution plus > compat22 and compat3x) on two new boxes; used cvs to update all of > the ports. > > I then installed XFree86-4 using the ports; then installed KDE2 > (again the ports); and then KDevelop (you guessed it the ports). At > this point everything was working great! > > I then installed KDBG 1.2 (from the ports) which installed KDELibs > and KDEBase (from their respective ports directories). The install > went fine, no errors. Ahh, but it didn't go fine the side effects were hidden and destructive, i.e., you no longer have kde-2. > > However, my KDE is now back to the 1.1.2 version (sort of) since > only KDELibs and KDEBase were installed. Not everything works. My > KDE 2.1 is where? > > Should I have installed KDBG first? Then KDE2.1? I notice that KDE > 1.1.2 is gone from the port listing on the web. But KDBG is still > around. Given the bulid time required for XFree86 and KDE 2.1 I > would rather not rebuild all over; however, if that is what will > solve this problem then I will. No, what you should have done first is investigate the b-deps and r-deps via the port information. For kdbg you would have found ruby# search kdbg Port: kdbg-1.2.0 Path: /usr/ports/devel/kdbg Info: A graphical user interface around gdb using KDE Maint: jedgar@FreeBSD.org Index: devel kde B-deps: XFree86-3.3.6_7 jpeg-6b kdelibs-1.1.2_2 libtool-1.3.4_2 png-1.0.9 qt-1.45_1 tiff-3.5.5 R-deps: XFree86-3.3.6_7 gettext-0.10.35 jpeg-6b kdebase-1.1.2_1 kdelibs-1.1.2_2 png-1.0.9 qt-1.45_1 tiff-3.5.5 xpm-3.4k Guess what, no where does it reference kde-2 and so it installed kde-1 modules in the two deps-lists back on top of kde-2. BTW, search is a shell script I have in /root/bin that cd's to /usr/port and does a "make search name=$1". I would suggest strongly that you rm all of the kde-1 stuff from /usr/ports/distfiles so that this doesn't happen again :). Now, as to the recovery options, I don't have a clue as to how deep you are going to have to go. If you did a make install and then a make clean, I think you are in trouble because you will probably have to build kde-2.1 all over again. Just make sure you pkg_delete the old kde-1 and kde-2x stuff first. The question is how much of the kde-2 stuff you have to remove before you start reinstalling. I would try just pkg_deleting base2 and libs2. If that doesn't work you will really have to take the scalpel to your setup. If you didn't clean, you can pkg_delete and then make reinstall. You might get by deleting the kde-1 stuff, building kdelibs2 and kdebase2 and installing them. Being a believer in Murphy being an optimist, that doesn't happen very often from personal experience. The system I try this on will build kde-2 in 2 hours and do an install. I am much more careful on my slower systems. > > Any advice? Thanks in advance! Don't try to install kdbg until there is a version for kde-2. The rest you have already learned, i.e., pay attention to the dependencies of the ports and you will reduce the number of times this happens. Kent > > David. -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message