Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2002 14:44:51 +0200
From:      "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl>
To:        =?iso-8859-1?Q?Luciano_Moreira_Matt=E3o?= <lmattao@terra.com.br>
Cc:        Tim Erlin <tperlin@yahoo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: KDE 3 Install Problem - Repeat, no answer
Message-ID:  <20020523144451.A89409@wop21.wop.wtb.tue.nl>
In-Reply-To: <20020522001834.2d65dada.lmattao@terra.com.br>; from lmattao@terra.com.br on Wed, May 22, 2002 at 12:18:34AM -0300
References:  <20020521215300.14795.qmail@web11707.mail.yahoo.com> <20020522001834.2d65dada.lmattao@terra.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <tperlin@yahoo.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020523144451.A89409>