View previous topic :: View next topic |
Author |
Message |
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Sat Nov 02, 2002 1:39 pm Post subject: KDE 3.1_rc1 fails on kdenetwork |
|
|
Hello,
I keep getting the same compile errors on kdenetwork 3.1_rc1: here it is:
Code: |
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkdenetwork -I../mimelib -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -DQT_NO_COMPAT -c -o kmmainwin.o `test -f 'kmmainwin.cpp' || echo './'`kmmainwin.cpp
kmmainwin.cpp: In constructor `KMMainWin::KMMainWin(QWidget*)':
kmmainwin.cpp:113: `mStartupFolder' undeclared (first use this function)
kmmainwin.cpp:113: (Each undeclared identifier is reported only once for each
function it appears in.)
make[3]: *** [kmmainwin.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.1_rc1/work/kdenetwork-3.0.9/kmail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.1_rc1/work/kdenetwork-3.0.9/kmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.1_rc1/work/kdenetwork-3.0.9'
make: *** [all] Error 2
|
Anyone know anything?
Thanks _________________ Hey--hey how are ya? |
|
Back to top |
|
|
kgollwitzer n00b
Joined: 16 Aug 2002 Posts: 17
|
Posted: Sat Nov 02, 2002 1:52 pm Post subject: |
|
|
Same Problem ..... i'll download from ftp.kde.org and ply a little bit around with it. |
|
Back to top |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Sat Nov 02, 2002 2:35 pm Post subject: |
|
|
same here! )c: _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
Ataraxis Tux's lil' helper
Joined: 18 Sep 2002 Posts: 76 Location: Germany
|
Posted: Sat Nov 02, 2002 2:49 pm Post subject: |
|
|
from http://www.kde.org/info/3.1.html:
* KMail does not compile. This patch fixes it:
Code: |
--- kmmainwin.h 2002/10/26 09:45:36 1.145
+++ kmmainwin.h 2002/10/28 21:43:36 1.146
@@ -350,6 +350,7 @@ protected:
KURL mUrlCurrent;
QPopupMenu *actMenu;
QPopupMenu *fileMenu;
+ QString mStartupFolder;
int mWindowLayout;
int mShowMIMETreeMode;
|
|
|
Back to top |
|
|
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sat Nov 02, 2002 2:52 pm Post subject: |
|
|
i have the same problem.
how do i use this patch ??? |
|
Back to top |
|
|
Ataraxis Tux's lil' helper
Joined: 18 Sep 2002 Posts: 76 Location: Germany
|
Posted: Sat Nov 02, 2002 3:09 pm Post subject: |
|
|
i guess there are better ways (editing ebuilds), but I did it the cheap way:
run emerge kdenetwork
on a different console edit the file /var/tmp/portage/kdenetwork-3.1_rc1/work/kdenetwork-3.0.9/kmail/kmmainwin.h
search the line
Code: |
QPopupMenu *fileMenu;
|
and change it to
Code: |
QPopupMenu *fileMenu;
QString mStartupFolder;
|
That's it |
|
Back to top |
|
|
Schmolch l33t
Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sat Nov 02, 2002 4:48 pm Post subject: |
|
|
Thank you, that worked |
|
Back to top |
|
|
Fmangeant n00b
Joined: 13 Apr 2002 Posts: 30 Location: France
|
Posted: Mon Nov 04, 2002 6:06 am Post subject: |
|
|
Hi
the ebuild seems to have been modified yesterday (see kmmainwin.h.diff in /usr/portage/kde-base/kdenetwork/files).
Otherwise, you could have used :
# ebuild kdenetwork-3.1_rc1.ebuild unpack
# vi /var/tmp/portage/kdenetwork-3.1_rc1/work/kdenetwork-3.0.9/kmail/kmmainwin.h
# ebuild kdenetwork-3.1_rc1.ebuild compile
# ebuild kdenetwork-3.1_rc1.ebuild install
# ebuild kdenetwork-3.1_rc1.ebuild qmerge |
|
Back to top |
|
|
|