Bug 84699 - compilation problems in kdebase-3.3.0_beta1
Summary: compilation problems in kdebase-3.3.0_beta1
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 02:42 UTC by Javier Marcet
Modified: 2004-07-08 15:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Marcet 2004-07-08 02:42:34 UTC
Version:            (using KDE KDE 3.2.91)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.0 
OS:                Linux

I'm trying to compile the released kde-3.3.0_beta1 but after compiling & installing arts and kdelibs, it's been two times already I had to modify the source code to make it compile.

First, within kdebase there were a couple references to EnormousSize in libkonq/konq_dirpart.cc
I ended adding that tag and its corresponding size (128) to include/kicontheme.h (which comes with kdelibs).

Later on, compilation aborted due to a call to a non existing function.

--- kicker/ui/k_mnu.cpp.orig    2004-06-22 19:32:50.000000000 +0200
+++ kicker/ui/k_mnu.cpp 2004-07-08 02:11:49.636351008 +0200
@@ -411,7 +411,7 @@
    if ( kicker_screen_number )
        appname.sprintf("kdesktop-screen-%d", kicker_screen_number);

-    kapp->updateRemoteUserTimestamp( appname );
+    kapp->updateUserTimestamp( 0 );
    kapp->dcopClient()->send( appname, "KDesktopIface",
                              "popupExecuteCommand()", data );
}
--- kicker/menuext/tom/tom.cc.orig      2004-06-22 19:32:50.000000000 +0200
+++ kicker/menuext/tom/tom.cc   2004-07-08 02:11:53.650740728 +0200
@@ -817,7 +817,7 @@
    if ( kicker_screen_number )
        appname.sprintf("kdesktop-screen-%d", kicker_screen_number);

-    kapp->updateRemoteUserTimestamp( appname );
+    kapp->updateUserTimestamp( 0 );
    kapp->dcopClient()->send( appname, "KDesktopIface",
                              "popupExecuteCommand()", data );
}

updateUserTimestamp was the closest thing I found, hence I decided to switch the calls rather that removing them altogether. I doubt this will work well though, since they don't seem to do the same thing.

Compilation of kdebase goes on at this very moment. I hope no more issues show up, or this'll be the most buggy version of kde I've yet to try (compilation wise).
Comment 1 Javier Marcet 2004-07-08 02:46:32 UTC
Update:

Yet another error within kdebase.

Making all in kstart
make[2]: Entering directory `/usr/src/portage/kdebase-3.3.0_beta1/work/kdebase-3.2.91/kstart'
/usr/qt/3/bin/moc ./kstart.h -o kstart.moc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include  -DQT_NO_CAST_ASCII -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -c -o kstart.o kstart.cpp
kstart.cpp: In constructor `KStart::KStart()':
kstart.cpp:61: error: `WM2KDETemporaryRules' is not a member of `NET'
make[2]: *** [kstart.o] Error 1
make[2]: Leaving directory `/usr/src/portage/kdebase-3.3.0_beta1/work/kdebase-3.2.91/kstart'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/portage/kdebase-3.3.0_beta1/work/kdebase-3.2.91'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.3.0_beta1 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 Javier Marcet 2004-07-08 15:48:37 UTC
Ok guys, please excuse me for being such a stupid ass.

My explanation: I used xdeltas to update from 3.2.90 to 3.2.91 and,
stupidly enough, somehow I used my copy of kdelibs-3.2.90 as
kdelibs-3.2.91, everything else being with its correct kde-3.3.0_beta1
version.
Comment 3 Waldo Bastian 2004-07-08 15:58:02 UTC
No problem, closing report.