Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.1_rc1 fails on kdenetwork
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
krazo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Oct 2002
Posts: 90

PostPosted: Sat Nov 02, 2002 1:39 pm    Post subject: KDE 3.1_rc1 fails on kdenetwork Reply with quote

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
View user's profile Send private message
kgollwitzer
n00b
n00b


Joined: 16 Aug 2002
Posts: 17

PostPosted: Sat Nov 02, 2002 1:52 pm    Post subject: Reply with quote

Same Problem ..... i'll download from ftp.kde.org and ply a little bit around with it.
Back to top
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Sat Nov 02, 2002 2:35 pm    Post subject: Reply with quote

same here! )c:
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
Ataraxis
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 76
Location: Germany

PostPosted: Sat Nov 02, 2002 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sat Nov 02, 2002 2:52 pm    Post subject: Reply with quote

i have the same problem.

how do i use this patch ???
Back to top
View user's profile Send private message
Ataraxis
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 76
Location: Germany

PostPosted: Sat Nov 02, 2002 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sat Nov 02, 2002 4:48 pm    Post subject: Reply with quote

Thank you, that worked :-)
Back to top
View user's profile Send private message
Fmangeant
n00b
n00b


Joined: 13 Apr 2002
Posts: 30
Location: France

PostPosted: Mon Nov 04, 2002 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum