On 3/28/2012 10:44 AM, Richard Miles wrote:
> Please see below:
> [ 76%] Building CXX object 
> rocs/src/Core/CMakeFiles/librocscore.dir/threadScriptExecution.o
> cd /sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/build/rocs/src/Core&&  
> /sw/var/lib/fink/path-prefix-10.6/g++-4.2   -DQT_NO_STL -DQT_NO_CAST_TO_ASCII 
> -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT_NO_STL -DQT_NO_CAST_TO_ASCII 
> -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -fno-common -Woverloaded-virtual 
> -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG 
> -arch i386 -isysroot / -mmacosx-version-min=10.6 
> -I/sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/build/rocs/src/Core 
> -I/sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/rocs/src/Core 
> -I/sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1 
> -I/sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/build 
> -I/sw/opt/kde4/mac/include -I/sw/opt/kde4/mac/include/KDE 
> -I/sw/lib/qt4-mac/include/KDE -I/sw/lib/qt4-mac/include 
> -I/sw/lib/qt4-mac/include/phonon -I/sw/lib/qt4-mac/include/QtXmlPatterns 
> -I/sw/lib/qt4-mac/include/QtXml -I/sw/lib/qt4-mac/include/QtWebKit 
> -I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4!
 -mac/inclu
de/QtTest -I/sw/lib/qt4-mac/include/QtSvg -I/sw/lib/qt4-mac/include/QtSql 
-I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/include/QtScript 
-I/sw/lib/qt4-mac/include/QtOpenGL -I/sw/lib/qt4-mac/include/QtNetwork 
-I/sw/lib/qt4-mac/include/QtMultimedia -I/sw/lib/qt4-mac/include/QtHelp 
-I/sw/lib/qt4-mac/include/QtDesigner -I/sw/lib/qt4-mac/include/QtDBus 
-I/sw/lib/qt4-mac/include/QtAssistant -I/sw/lib/qt4-mac/include/Qt3Support 
-I/sw/lib/qt4-mac/include/QtGui -I/sw/lib/qt4-mac/include/QtCore 
-I/sw/lib/qt4-mac/include/Qt -I/sw/lib/qt4-mac/mkspecs/default 
-F/sw/lib/qt4-mac/lib    -D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -D__APPLE_KDE__ 
-D_LARGEFILE64_SOURCE -o CMakeFiles/librocscore.dir/threadScriptExecution.o -c 
/sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/rocs/src/Core/threadScriptExecution.cpp
> /sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/rocs/src/Core/threadScriptExecution.cpp:
>  In constructor 'ThreadScriptExecution::ThreadScriptExecution(KTextBrowser*)':
> /sw/src/fink.build/kdeedu4-mac-4.4.1-3/kdeedu-4.4.1/rocs/src/Core/threadScriptExecution.cpp:14:
>  error: call of overloaded 'QString(int)' is ambiguous
> /sw/lib/qt4-mac/include/QtCore/qstring.h:428: note: candidates are: 
> QString::QString(const QByteArray&)
> /sw/lib/qt4-mac/include/QtCore/qstring.h:426: note:                 
> QString::QString(const char*)
> /sw/lib/qt4-mac/include/QtCore/qstring.h:728: note:                 
> QString::QString(const QString&)
> /sw/lib/qt4-mac/include/QtCore/qstring.h:106: note:                 
> QString::QString(QChar)
> /sw/lib/qt4-mac/include/QtCore/qstring.h:105: note:                 
> QString::QString(const QChar*)
> make[2]: *** 
> [rocs/src/Core/CMakeFiles/librocscore.dir/threadScriptExecution.o] Error 1
> make[1]: *** [rocs/src/Core/CMakeFiles/librocscore.dir/all] Error 2
> make: *** [all] Error 2
> ### execution of /tmp/fink.K13m1 failed, exit code 2

Overloaded QString is a common failure for older packages building 
against Qt 4.7 which just got moved to Stable.

I have a patch that fixes this issue on 10.7, so it should presumably 
apply as well to 10.6.

Go to 
<http://cvs.snaggledworks.com/viewvc.cgi/fink/10.7/main/finkinfo/kde/kdeedu4-threadScriptExecution_cpp.patch?view=co>
 
and save it to /sw/fink/dists/unstable/main/finkinfo/kde

Then edit kdeedu4.info in that same directory to add the lines 73-76 
from this URL: 
http://cvs.snaggledworks.com/viewvc.cgi/fink/10.7/main/finkinfo/kde/kdeedu4-mac.info?view=markup

Then try rebuilding kdeedu4-mac and let us know if it works.

Hanspeter

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to