Date: Tue, 18 Jun 2002 15:47:54 -0700 From: Kent Stewart <kstewart@owt.com> To: Martin Schweizer <info@pc-service.ch> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Install KDE3 on FreeBSD4.5STABLE Message-ID: <3D0FB89A.1020907@owt.com> References: <20020616203132.A36263@saturn.spectraweb.ch> <3D0CDFE2.1050303@owt.com> <20020617063142.B926@saturn.spectraweb.ch> <3D0D69AE.5050201@owt.com> <20020618225852.A4853@saturn.spectraweb.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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: >>>>> >>>>> >>>><snip> >>>> >>>>>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0FB89A.1020907>