Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] KDE borked?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Rene Schneider <r_schneid AT gmx.de>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] KDE borked?
  • Date: Sat, 24 May 2003 17:38:49 +0100

Hi,

seems the version upgrade has borked the whole KDE stuff in the devel
grimoire.

First qt-x11 failed. I managed to fix this with the patch at the end of
this message.

After qt installed fine, kdelibs was triggered to cast, which again
failed, see bellow. Are these updates automated so that no one tested
them? (or is my system so strange that it can't work? ;o) )

Rene

=============================================================

kdelibs-failure:

if /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../.. -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui
-I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/include/qt
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DICE_t
-DTRANS_SERVER -DTRANS_CLIENT -DUNIXCONN -DANSICPP -ansi -W -Wall
-pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon-xp -mmmx
-mfpmath=sse -msse -m3dnow -O3 -MT getauth.lo -MD -MP -MF
".deps/getauth.Tpo" \
-c -o getauth.lo `test -f 'getauth.c' || echo './'`getauth.c; \
then mv ".deps/getauth.Tpo" ".deps/getauth.Plo"; \
else rm -f ".deps/getauth.Tpo"; exit 1; \
fi
getauth.c: In function `_KDE_IceGetPaAuthData':
getauth.c:105: warning: `entry' might be used uninitialized in this
function
getauth.c: In function `_KDE_IceGetPoValidAuthIndices':
getauth.c:157: warning: implicit declaration of function `access'
getauth.c:157: `R_OK' undeclared (first use in this function)
getauth.c:157: (Each undeclared identifier is reported only once
getauth.c:157: for each function it appears in.)
make[5]: *** [getauth.lo] Fehler 1
make[5]: Leaving directory `/usr/src/kdelibs-3.1.2/dcop/KDE-ICE'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/usr/src/kdelibs-3.1.2/dcop'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/src/kdelibs-3.1.2'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/usr/src/kdelibs-3.1.2'
! Problem Detected !
Creating /var/log/sorcery/compile/kdelibs-3.1.2.bz2

make[1]: Leaving directory `/root'

Spells that encountered problems:
---------------------------------
kdelibs



==========================================================================


qt-x11 patch stuff:

me@sawtooth:~# cat qt-x11-free-3.1.2_getpid.patch
*** src/kernel/qwidget_x11.cpp_sav 2003-05-24 12:26:14.000000000
+0100
--- src/kernel/qwidget_x11.cpp 2003-05-24 12:26:51.000000000 +0100
***************
*** 47,52 ****
--- 47,54 ----
#include "qdatetime.h"
#include "qcursor.h"
#include "qt_x11.h"
+ #include <sys/types.h>
+ #include <unistd.h>
#include <stdlib.h>

// NOT REVISED


then I changed the spell DETAILS (quick fix, I'm not yet fluent in SMGL)

VERSION=3.1.2
SOURCE=qt-x11-free-$VERSION.tar.bz2
SOURCE2=qt-x11-free-3.1.2_getpid.patch


(no url as not public yet)
changes in the BUILD:

(
patch -p0 </var/spool/sorcery/qt-x11-free-3.1.2_getpid.patch
# speed up up build process by removing unnecessary examples

.
.
.
prepare_install &&
make install &&


rm -f /usr/lib/libqt-mt.so /usr/lib/libqt.so
ln -sf /usr/lib/libqt-mt.so.${VERSION} /usr/lib/libqt-mt.so
ln -s /usr/lib/libqt-mt.so /usr/lib/libqt.so

) > $C_FIFO 2>&1







Archive powered by MHonArc 2.6.24.

Top of Page