Bug 123058 - kdelibs build fails on MacOSX 10.3.9 due to bug introduced by SVN commit 442362 by lunakl
Summary: kdelibs build fails on MacOSX 10.3.9 due to bug introduced by SVN commit 4423...
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 08:40 UTC by Ted Mittelstaedt
Modified: 2008-11-09 03:48 UTC (History)
1 user (show)

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 Ted Mittelstaedt 2006-03-04 08:40:02 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3 default Apple-supplied compiler
OS:                OS X

Build environment:

Qt 3.3.5 compiled from source
MacOX X 10.3.9
Quicktime development headers 7.0.1
BSD subsystem installed
X11 subsystem installed

Build of kdelib fails with the following:

/Developer/qt/bin/moc ./kglobalaccel.h -o kglobalaccel.moc
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I. -I../kio/kssl -I../kjs -I../k
defx -I../kdecore/network -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfil
e -I.. -I/Developer/qt/include -I. -I/usr/local/kde/include  -I/usr/include/libart-2.0  -DQT_THREAD_SUPPORT   -Wno-long-long -Wundef
 -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_C
AST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kglobalaccel.lo -MD -MP -MF ".deps/kglobalaccel.Tpo" -c -o kglobalaccel.lo k
globalaccel.cpp; \
then mv -f ".deps/kglobalaccel.Tpo" ".deps/kglobalaccel.Plo"; else rm -f ".deps/kglobalaccel.Tpo"; exit 1; fi
kglobalaccel.cpp: In static member function `static void
   KGlobalAccel::blockShortcuts(bool)':
kglobalaccel.cpp:69: error: 'class KGlobalAccelPrivate' has no member named '
   blockShortcuts'
kglobalaccel.cpp: In member function `void KGlobalAccel::disableBlocking(bool)
   ':
kglobalaccel.cpp:72: error: `disableBlocking' undeclared (first use this
   function)
kglobalaccel.cpp:72: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[4]: *** [kglobalaccel.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

If I cd to kdelibs-3.5.1/kdecore, vi kglobalaccel.cpp and
I comment out the following:


/*
void KGlobalAccel::blockShortcuts( bool block )
        { KGlobalAccelPrivate::blockShortcuts( block ); }

void KGlobalAccel::disableBlocking( bool disable )
        { d->disableBlocking( disable ); }
*/

then it builds.  I believe the problem was introduced here:

http://lists.kde.org/?l=kde-commits&m=112299291515707&w=2
Comment 1 Nicolas Goutte 2006-03-04 15:24:48 UTC
See bug #108961 which seems to be the origin of the wrong commit.
Comment 2 Médéric Boquien 2008-11-09 03:48:09 UTC
Hello,

As KDE 4 has been built successfully on macs i guess this problem is gone. If not, please REOPEN.

Thanks.