From owner-freebsd-questions Tue Jun 18 15:48: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 87A6237B410 for ; Tue, 18 Jun 2002 15:47:59 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id PAA23843; Tue, 18 Jun 2002 15:47:55 -0700 Message-ID: <3D0FB89A.1020907@owt.com> Date: Tue, 18 Jun 2002 15:47:54 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Martin Schweizer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Install KDE3 on FreeBSD4.5STABLE References: <20020616203132.A36263@saturn.spectraweb.ch> <3D0CDFE2.1050303@owt.com> <20020617063142.B926@saturn.spectraweb.ch> <3D0D69AE.5050201@owt.com> <20020618225852.A4853@saturn.spectraweb.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Martin Schweizer wrote: > Hello Kent > > libqt2.so has somthting to do with QT23 and X11 but if I compile qt23 > (after cvsuped) I return always this error: > > ===> Building for qt-2.3.1_2 > (cd /usr/ports/x11-toolkits/qt23/work/qt-2.3.1; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/lib PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe " CXXFLAGS=" -O -pipe " BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" gmake -f Makefile all) > cd src/moc; gmake > gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src/moc' > gmake[1]: Nothing to be done for `all'. > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src/moc' > rm -f bin/moc2 > cp src/moc/moc2 bin/moc2 > gmake -f src-mt.mk > gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1' > cd src; gmake 'QT_THREAD_SUFFIX=-mt' 'QT_LFLAGS_MT=$(SYSCONF_LFLAGS_THREAD) $(SYSCONF_LIBS_THREAD)' 'QT_CXX_MT=$(SYSCONF_CXXFLAGS_THREAD) -DQT_THREAD_SUPPORT' 'QT_C_MT=$(SYSCONF_CFLAGS_THREAD) -DQT_THREAD_SUPPORT' > gmake[2]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src' > c++ -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include -I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/include -pthread -D_THREAD_SAFE -I/usr/X11R6/include -DQT_PREFIX=\"/usr/X11R6\" -pipe -fno-exceptions -O -pipe -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ -O -pipe -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT -fno-exceptions -I/usr/local/include -o kernel/qpsprinter.o kernel/qpsprinter.cpp > In file included from kernel/qapplication.h:42, > from kernel/qpsprinter.cpp:73: > kernel/qwidget.h:129: syntax error before `(' > kernel/qwidget.h:417: `WId' was not declared in this scope > kernel/qwidget.h:489: `WId' was not declared in this scope > kernel/qwidget.h:489: syntax error before `=' > kernel/qwidget.h:490: variable or field `create' declared void > kernel/qwidget.h:490: ANSI C++ forbids initialization of member `create' > kernel/qwidget.h:490: making `create' static > kernel/qwidget.h:490: ANSI C++ forbids in-class initialization of non-const static member `create' > kernel/qwidget.h:490: `create' declared as a `virtual' field > kernel/qwidget.h:520: `WId' was not declared in this scope > kernel/qwidget.h:520: variable or field `setWinId' declared void > kernel/qwidget.h:545: syntax error before `;' > kernel/qwidget.h:628: syntax error before `::' > cpp0: output pipe has been closed > gmake[2]: *** [kernel/qpsprinter.o] Error 1 > gmake[2]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src' > gmake[1]: *** [src-mt] Error 2 > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1' > gmake: *** [src-mt] Error 2 > *** Error code 2 > > Stop in /usr/ports/x11-toolkits/qt23. > > Why this is going wrong? You should not be building qt-2.3. It is only of value to kde-2.2.x. If you mix the versions of kde-2 and kde-3 up too much, you will have to pkg-delete everything dealing with them and start over. Look at the dependancies for kde-2 and make sure they have been deleted or made for kde-3. You also need to look at the dependancies for kde-3. You have something mixed together and it is not easy to separate them but, for the most part, they can not be installed together. Kent > > > On Sun, Jun 16, 2002 at 09:46:38PM -0700 Kent Stewart wrote: > >>Martin Schweizer wrote: >> >> >>>Hello Kent >>> >>>On Sun, Jun 16, 2002 at 11:58:42AM -0700 Kent Stewart wrote: >>> >>> >>>>>I installed KDE3, XFree86 (4.2.0) and startx with the ports. After startkde >>>>>I receive the following output: >>>>> >>>>> >>>> >>>> >>>>>Stop in /usr/ports/x11-toolkits/qt23. >>>>> >>>>>Start X with xdm works fine. >>>>> >>>>>I checked serveral website and mail archives but with no success. What I'm >>>>>doing wrong? >>>>> >>>>> >>>>For starters, you built the wrong version of qt. You need qt-3.0.x. >>>>Check the dependancies of kde3. >>>> >>>> >>>The following I installed (with pgk_info): >>> >>>qt-2.2.4 A C++ X GUI toolkit >>>qt-3.0.3_4 A C++ X GUI toolkit >>>qt-3.0.3_5 A C++ X GUI toolkit >>> >>>Where can I look? >>> >> >>You can use something like >> >>coral# cd bin >>coral# cat search >>#! /bin/sh >>cd /usr/ports >>make search name=$1 >> >>To list the dependancies. You should only have one of them installed >>and you probably need to pkg_delete the group and reinstall >> >>Running search shows >> >>coral# search qt-3.0.3_5 >>Port: qt-3.0.3_5 >>Path: /usr/ports/x11-toolkits/qt30 >> >>with a long list of b-deps and r-deps. >> > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message