Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 20:31:32 +0200
From:      Martin Schweizer <info@pc-service.ch>
To:        freebsd-questions@freebsd.org
Subject:   Install KDE3 on FreeBSD4.5STABLE
Message-ID:  <20020616203132.A36263@saturn.spectraweb.ch>

next in thread | raw e-mail | index | archive | help
Hello

I installed KDE3, XFree86 (4.2.0) and startx with the ports. After startkde 
I receive the following output:
xsetroot:  unable to open display ''
xset:  unable to open display ""
xset:  unable to open display ""
xset:  unable to open display ""
/usr/libexec/ld-elf.so.1: Shared object "libqt2.so" not found
/usr/libexec/ld-elf.so.1: Shared object "libqt2.so" not found
/usr/libexec/ld-elf.so.1: Shared object "libqt2.so" not found
/usr/libexec/ld-elf.so.1: Shared object "libqt2.so" not found


I also installed qt23 in ports (cvsuped yesterday). While I'm compiling I 
receive the following output:

===>  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'
(not building threaded Qt)
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1'
cd src; gmake
gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src'
c++  -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=0 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -DQT_XFT  -I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src/3rdparty/zlib -I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src/3rdparty/libpng -I/usr/X11R6/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[1]: *** [kernel/qpsprinter.o] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src'
gmake: *** [sub-src] Error 2
*** Error code 2

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?
Thank you in advance.

-- 
Regards

Martin Schweizer
<info@pc-service.ch>

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch

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?20020616203132.A36263>