Date: Fri, 09 Mar 2001 13:16:13 -0800 From: Kent Stewart <kstewart@urx.com> To: David Smith <DSmith@Cenus.COM> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Mayday: Problems installing from the ports. Message-ID: <3AA9481D.ABC98CBF@urx.com> References: <000801c0a8b7$1ce93160$7765650a@Draper.cenus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AA9481D.ABC98CBF>