From owner-freebsd-questions Thu May 23 5:45:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by hub.freebsd.org (Postfix) with ESMTP id F386D37B417 for ; Thu, 23 May 2002 05:45:11 -0700 (PDT) Received: from wop21.wop.wtb.tue.nl (localhost.wop.wtb.tue.nl [127.0.0.1]) by wop21.wop.wtb.tue.nl (8.12.3/8.12.3) with ESMTP id g4NCiq2m089458; Thu, 23 May 2002 14:44:52 +0200 (CEST) (envelope-from karelj@wop21.wop.wtb.tue.nl) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.12.3/8.12.3/Submit) id g4NCipmP089457; Thu, 23 May 2002 14:44:51 +0200 (CEST) Date: Thu, 23 May 2002 14:44:51 +0200 From: "Karel J. Bosschaart" To: =?iso-8859-1?Q?Luciano_Moreira_Matt=E3o?= Cc: Tim Erlin , freebsd-questions@FreeBSD.ORG Subject: Re: KDE 3 Install Problem - Repeat, no answer Message-ID: <20020523144451.A89409@wop21.wop.wtb.tue.nl> References: <20020521215300.14795.qmail@web11707.mail.yahoo.com> <20020522001834.2d65dada.lmattao@terra.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20020522001834.2d65dada.lmattao@terra.com.br>; from lmattao@terra.com.br on Wed, May 22, 2002 at 12:18:34AM -0300 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 On Wed, May 22, 2002 at 12:18:34AM -0300, Luciano Moreira Mattão wrote: > Hi Tim, > > Some days ago, when I tryed to install KDE3 I think I got this error. In my case I forgot uninstall the kdebase2. Is that your case?? After I removed kdebase2, I could install kde3. > > Luciano > > > On Tue, 21 May 2002 14:53:00 -0700 (PDT) > Tim Erlin wrote: > > > I'm getting the following errors when compiling (make) > > kdebase3. There's another mail in the archives, but no > > answers. I've checked all the dependencies, installed them > > manually...same problem. Help? > > --Tim > > ----------------------------------------------------------- > > > > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include > > -I/usr/X11R6/include > > -DQT_NO_CAST_ASCII -pthread -DQT_THREAD_SUPPORT > > -I/usr/include -I/usr/loca > > l/include -I/usr/local/include -I/usr/X11R6/include/qt > > -D_THREAD_SAFE -O2 > > -O -pipe -fno-exceptions -fno-check-new > > -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT > > -DQT_NO_ASCII_CAST -c -o main.o `test -f main.cpp || echo > > './'`main.cpp > > In file included from main.cpp:30: > > ../config.h:56: declaration of C function `int > > unsetenv(const char *)' > > conflicts with > > /usr/include/stdlib.h:184: previous declaration `void > > unsetenv(const char > > *)' here > > gmake[3]: *** [main.o] Error 1 > > gmake[3]: Leaving directory > > `/usr/ports/x11/kdebase3/work/kdebase-3.0/drkonqi' > > gmake[2]: *** [all-recursive] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/x11/kdebase3/work/kdebase-3.0/drkonqi' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/x11/kdebase3/work/kdebase-3.0' > > gmake: *** [all] Error 2 > > *** Error code 2 > > > > Stop in /usr/ports/x11/kdebase3. > > *** Error code 1 > > > > Stop in /usr/ports/x11/kde3. > > I've had this exact same error as well and it took me quite some time to get rid of it. Even after uninstalling *all* ports, it showed up. I went into several system directories and wiped everything that looked 'suspicious', being older than 1 or 2 years mostly. Since that installation wasn't freshly reinstalled since 3.1, there was quite some old stuff left and that must have been the culprit, although I don't know which file it was. Needless to say, if you're going to delete stuff in system directories, you should know what you're doing and at least should know what to do when you screw up (I deleted /usr/libexec/ld-elf.so.1 in my enthusiasm - oops!). The easiest way to work around is to install kde3 packages instead. But if you can afford some downtime you might also consider to reinstall FreeBSD from scratch (after backup, of course). This will save you from similar ports errors in the future. Karel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message