problem building Quanta

George L. Emigh ab4bd at georgelemigh.com
Wed Nov 16 21:10:31 GMT 2011


I'm looking for suggestions on how to solve this build issue.

Since the upload plugin is not in Kdevelop, I need to build Quanta

I'm using;
 kdevelop-4.2.3
 kdevplatform-1.2.3
 kde-4.7.3
 gcc-4.5.3 
 on Gentoo


Build information below, thanks in advance for looking at this.


Cloning into quanta...
remote: Counting objects: 49997, done.
remote: Compressing objects: 100% (13038/13038), done.
remote: Total 49997 (delta 36946), reused 49865 (delta 36857)
Receiving objects: 100% (49997/49997), 87.34 MiB | 3.63 MiB/s, done.
Resolving deltas: 100% (36946/36946), done.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in 
/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in 
/usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so 
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found Phonon: /usr/include 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake 
-- Found SharedMimeInfo: /usr/bin/update-mime-database  (found version "0.90", required is "0.18")
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake 
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake 
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake 
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake 
-- Found QJSON: /usr/lib64/libqjson.so 
-- Found KDevelop-PG-Qt
-- Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
-- Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt
-- Found Flex: /usr/bin/flex 
-- Found KDevPlatform: /usr/lib64/cmake/kdevplatform/KDevPlatformConfig.cmake 
-- Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
-- Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt
-- checking for module 'libxml-2.0'
--   found libxml-2.0, version 2.7.8
-- Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
-- Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt
-- include_directories: 
/tmp/quanta4/quanta/..;/tmp/quanta4/quanta/build/..;/usr/include;/usr/include/KDE;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtXml;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtTest;/usr/include/qt4/QtSvg;/usr/include/qt4/QtSql;/usr/include/qt4/QtScriptTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtMultimedia;/usr/include/qt4/QtHelp;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDeclarative;/usr/include/qt4/QtDBus;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include/kdevplatform;/tmp/quanta4/quanta;/tmp/quanta4/quanta/build;/tmp/quanta4/quanta/build/languages/xml/language/duchain/parser;/tmp/quanta4/quanta/languages/xml/language/duchain/parser;/tmp/quanta4/quanta/build/languages/xml/language/duchain/schema;/tmp/quanta4/quanta/languages/xml/language/duchain/schema;/tmp/quanta4/quanta/build/languages/xml/language/duchain;/tmp/quanta4/quanta/languages/xml/language/duchain;/usr/include/kdevelop-
pg-qt;/tmp/quanta4/quanta/languages/xml
-- link_directories: 
-- Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
-- Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt
-- Using kdevelop-pg-qt include dir: /usr/include/kdevelop-pg-qt
-- Using kdevelop-pg-qt executable: /usr/bin/kdev-pg-qt

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * QJSON - QJSON libraries for enabling the Crossfire debugger plugin
   * KDevelop-PG-Qt - KDevelop-PG-Qt to generate parser for language plugins
   * Flex - Flex to generate lexer for language plugins

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/quanta4/quanta/build
Scanning dependencies of target quanta_automoc
[  0%] Built target quanta_automoc                                                                              
Scanning dependencies of target quanta
[  0%] Building CXX object src/CMakeFiles/quanta.dir/quanta_automoc.o                                           
[  1%] Building CXX object src/CMakeFiles/quanta.dir/main.o                                                     
[  1%] Building CXX object src/CMakeFiles/quanta.dir/kdevquantaextension.o                                      
Linking CXX executable quanta                                                                                   
[  1%] Built target quanta                                                                                      
Scanning dependencies of target kdevexecutebrowser_automoc
Generating executebrowserplugin.moc                                                                             
Generating browserappconfig.moc                                                                                 
Generating browserappjob.moc                                                                                    
[  1%] Built target kdevexecutebrowser_automoc                                                                  
[  2%] Generating ui_browserappconfig.h
Scanning dependencies of target kdevexecutebrowser                                                              
[  2%] Building CXX object plugins/executebrowser/CMakeFiles/kdevexecutebrowser.dir/kdevexecutebrowser_automoc.o
[  3%] Building CXX object plugins/executebrowser/CMakeFiles/kdevexecutebrowser.dir/executebrowserplugin.o      
[  3%] Building CXX object plugins/executebrowser/CMakeFiles/kdevexecutebrowser.dir/browserappconfig.o          
/tmp/quanta4/quanta/plugins/executebrowser/browserappconfig.cpp:170:6: warning: unused parameter ?file?         
/tmp/quanta4/quanta/plugins/executebrowser/browserappconfig.cpp:175:6: warning: unused parameter ?item?
/tmp/quanta4/quanta/plugins/executebrowser/browserappconfig.cpp:180:6: warning: unused parameter ?config?
/tmp/quanta4/quanta/plugins/executebrowser/browserappconfig.cpp:180:6: warning: unused parameter ?item?
/tmp/quanta4/quanta/plugins/executebrowser/browserappconfig.cpp:185:6: warning: unused parameter ?config?
/tmp/quanta4/quanta/plugins/executebrowser/browserappconfig.cpp:185:6: warning: unused parameter ?args?
[  3%] Building CXX object plugins/executebrowser/CMakeFiles/kdevexecutebrowser.dir/browserappjob.o
Linking CXX shared module ../../lib/kdevexecutebrowser.so                                                       
[  3%] Built target kdevexecutebrowser                                                                          
Scanning dependencies of target kdevphpformatter_automoc
Generating formatter.moc                                                                                        
Generating formatterplugin.moc                                                                                  
Generating formatterpreferences.moc                                                                             
[  3%] Built target kdevphpformatter_automoc                                                                    
[  4%] Generating ui_formatterwidget.h
Scanning dependencies of target kdevphpformatter                                                                
[  4%] Building CXX object plugins/phpformatter/CMakeFiles/kdevphpformatter.dir/kdevphpformatter_automoc.o      
[  5%] Building CXX object plugins/phpformatter/CMakeFiles/kdevphpformatter.dir/formatter.o                     
/tmp/quanta4/quanta/plugins/phpformatter/formatter.cpp:67:9: warning: unused parameter ?leftContext?            
/tmp/quanta4/quanta/plugins/phpformatter/formatter.cpp:67:9: warning: unused parameter ?rightContext?
[  5%] Building CXX object plugins/phpformatter/CMakeFiles/kdevphpformatter.dir/formatterplugin.o
In file included from /tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:18:0:                        
/usr/include/kdevplatform/interfaces/isourceformatter.h:125:19: warning: ?virtual QString 
KDevelop::ISourceFormatter::formatSource(const QString&, const KMimeType::Ptr&, const QString&, const QString&)? was hidden
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.h:53:21: warning:   by ?virtual QString 
Php::FormatterPlugin::formatSource(const QString&, const KUrl&, const KMimeType::Ptr&, const QString&, const QString&)?
/usr/include/kdevplatform/interfaces/isourceformatter.h:132:19: warning: ?virtual QString 
KDevelop::ISourceFormatter::formatSourceWithStyle(KDevelop::SourceFormatterStyle, const QString&, const KMimeType::Ptr&, 
const QString&, const QString&)? was hidden
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.h:55:21: warning:   by ?virtual QString 
Php::FormatterPlugin::formatSourceWithStyle(KDevelop::SourceFormatterStyle, const QString&, const KUrl&, const 
KMimeType::Ptr&, const QString&, const QString&)?
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:88:9: warning: unused parameter ?mime?
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:92:9: warning: unused parameter ?url?
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:103:9: warning: unused parameter ?url?
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:103:9: warning: unused parameter ?mime?
In file included from /usr/include/KDE/KPluginFactory:1:0,
                 from /tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:26:
/usr/include/KDE/../kpluginfactory.h: In static member function ?static QObject* KPluginFactory::createInstance(QWidget*, 
QObject*, const QVariantList&) [with impl = Php::FormatterPlugin, ParentType = QObject, QObject = QObject, QVariantList = 
QList<QVariant>]?:
/usr/include/KDE/../kpluginfactory.h:495:70:   instantiated from ?QObject* (* 
KPluginFactory::InheritanceChecker<impl>::createInstanceFunction(...))(QWidget*, QObject*, const QVariantList&) [with impl 
= Php::FormatterPlugin, QObject* (*)(QWidget*, QObject*, const QVariantList&) = QObject* (*)(QWidget*, QObject*, const 
QList<QVariant>&), QObject = QObject, QVariantList = QList<QVariant>]?
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.cpp:49:1:   instantiated from here
/usr/include/KDE/../kpluginfactory.h:477:32: error: cannot allocate an object of abstract type ?Php::FormatterPlugin?
/tmp/quanta4/quanta/plugins/phpformatter/formatterplugin.h:35:85: note:   because the following virtual functions are pure 
within ?Php::FormatterPlugin?:
/usr/include/kdevplatform/interfaces/isourceformatter.h:125:19: note:   virtual QString 
KDevelop::ISourceFormatter::formatSource(const QString&, const KMimeType::Ptr&, const QString&, const QString&)
/usr/include/kdevplatform/interfaces/isourceformatter.h:132:19: note:   virtual QString 
KDevelop::ISourceFormatter::formatSourceWithStyle(KDevelop::SourceFormatterStyle, const QString&, const KMimeType::Ptr&, 
const QString&, const QString&)
make[2]: *** [plugins/phpformatter/CMakeFiles/kdevphpformatter.dir/formatterplugin.o] Error 1
make[1]: *** [plugins/phpformatter/CMakeFiles/kdevphpformatter.dir/all] Error 2
make: *** [all] Error 2

-- 
George





More information about the KDevelop mailing list