Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdebase compile error(kde-cvs)
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
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Wed Jul 23, 2003 8:23 am    Post subject: kdebase compile error(kde-cvs) Reply with quote

Hi,
kdebase is returning an error at my end. Does anybody come across any fix for this?
----------------------------------------------------------------------------------

/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkonq -I../kcontrol/input -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -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 konq_run.lo `test -f 'konq_run.cc' || echo './'`konq_run.cc
konq_run.cc: In member function `virtual void KonqRun::foundMimeType(const
QString&)':
konq_run.cc:57: no matching function for call to `KonqOpenURLRequest::debug()'
make[3]: *** [konq_run.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebase-5/work/kdebase/konqueror'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-5/work/kdebase/konqueror'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-5/work/kdebase'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-5 failed.
!!! Function kde_src_compile, Line 138, Exitcode 2
!!! died running emake, kde_src_compile:make
------------------------------------------------------------------------------
Back to top
View user's profile Send private message
maor
Guru
Guru


Joined: 28 Aug 2002
Posts: 323

PostPosted: Wed Jul 23, 2003 12:28 pm    Post subject: Reply with quote

i also have a problem to compile kdebase in the last week , i made a switch to gcc 3.3 and nptl , the error :
Code:

NU_SOURCE  -c -o konq_iconviewwidget.lo `test -f 'konq_iconviewwidget.cc' || echo './'`konq_iconviewwidget.cc
konq_iconviewwidget.cc: In member function `void
   KonqIconViewWidget::setURL(const KURL&)':
konq_iconviewwidget.cc:942: error: 'class KGlobalSettings' has no member named
   'showFilePreview'
konq_iconviewwidget.cc: In member function `void
   KonqIconViewWidget::startImagePreview(const QStringList&, bool)':
konq_iconviewwidget.cc:955: error: 'class KGlobalSettings' has no member named
   'showFilePreview'
make[3]: *** [konq_iconviewwidget.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebase-5/work/kdebase/libkonq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-5/work/kdebase/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-5/work/kdebase'
make: *** [all] Error 2


it's look like a code error but i wonder if someone compiled succesfully kdebas-cvs in the last days.[/code]
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Wed Jul 23, 2003 12:44 pm    Post subject: Re: kdebase compile error(kde-cvs) Reply with quote

trumee wrote:

konq_run.cc:57: no matching function for call to `KonqOpenURLRequest::debug()'
`/var/tmp/portage/kdebase-5/work/kdebase/konqueror'


The easiest fix is to delete line 57, the one starting with kdDebug, in file /var/tmp/portage/kdebase-5/work/kdebase/konqueror/konq_run.cc

This line contains only a debugging message.
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Wed Jul 23, 2003 12:47 pm    Post subject: Reply with quote

maor wrote:

konq_iconviewwidget.cc:955: error: 'class KGlobalSettings' has no member named
'showFilePreview'


KGlobalSettings is defined in kdelibs. Maybe updating kdelibs fixes this. I haven't encountered this error yet.
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Wed Jul 23, 2003 6:50 pm    Post subject: Re: kdebase compile error(kde-cvs) Reply with quote

asimon wrote:
trumee wrote:

konq_run.cc:57: no matching function for call to `KonqOpenURLRequest::debug()'
`/var/tmp/portage/kdebase-5/work/kdebase/konqueror'


The easiest fix is to delete line 57, the one starting with kdDebug, in file /var/tmp/portage/kdebase-5/work/kdebase/konqueror/konq_run.cc

This line contains only a debugging message.


How do we manually emerge kdebase from /var/tmp/ after deleting this line. Doing a plain 'emerge kdebase' refetches this file.
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Wed Jul 23, 2003 8:52 pm    Post subject: Re: kdebase compile error(kde-cvs) Reply with quote

trumee wrote:

How do we manually emerge kdebase from /var/tmp/ after deleting this line. Doing a plain 'emerge kdebase' refetches this file.


A plain 'emerge kdebase' would delete the old temporay files and would fetch the sources again, thus all your changes would be gone.

Try this:
Code:

FEATURES="noclean noauto" ebuild <PATH>/kde-base/kdebase/kdebase-5.ebuild install


to install the files from the work directory into a temporay install directory (this should also compile any files which are not yet compiled) and then

Code:

FEATURES="noclean noauto" ebuild <PATH>/kde-base/kdebase/kdebase-5.ebuild qmerge


to merge the installed files into your filesystem. See 'man ebuild' for more information about the ebuild command.
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