Regrading compilation of KDE application

Afief Halumi afief.h at gmail.com
Wed May 25 19:47:08 CEST 2011


> CMakeFiles/kfstest.dir/kfstest.o: file not recognized: File
> truncated
I used to run into similar problems when I run out of space to store
the compiled files. Could that be it? you can check how much space is
left on your filesystems with `df -h`

Afief

2011/5/25 tushar mehta <mehtatus at gmail.com>:
> I have deleted build folder and tried again with cmakekde but same error...
>
> [ 61%] Building CXX object
> kio/tests/CMakeFiles/kicondialogtest.dir/kicondialogtest.o
> CMakeFiles/kfstest.dir/kfstest.o: file not recognized: File
> truncated
> collect2: ld returned 1 exit status
> make[2]: *** [kio/tests/kfstest] Error 1
> make[1]: *** [kio/tests/CMakeFiles/kfstest.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> Linking CXX executable kicondialogtest
> CMakeFiles/kicondialogtest.dir/kicondialogtest.o: file not recognized: File
> truncated
> collect2: ld returned 1 exit status
> make[2]: *** [kio/tests/kicondialogtest] Error 1
> make[1]: *** [kio/tests/CMakeFiles/kicondialogtest.dir/all] Error 2
> make: *** [all] Error 2
> [mehta at localhost kdelibs]$
>
> any problem with .build-config or kde-bashrc?
>
> do i need to still install some dependency still?
>
>
> On Wed, May 25, 2011 at 9:50 PM, Helder Cesar <heldercro at gmail.com> wrote:
>>
>> Try to use: "cmake clean" or something like that.
>> A later try again compile.
>>
>> 2011/5/25 tushar mehta <mehtatus at gmail.com>
>>>
>>> ooo...
>>>
>>> now this !!! while cmakekde was running i got this :(
>>>
>>> [ 63%] Built target jobremotetest
>>> [ 63%] Built target jobtest
>>> [ 63%] Built target kacltest
>>> [ 63%] Built target kbookmarktest
>>> [ 63%] Built target kdeclarativetest
>>> [ 63%] Built target kdirlistertest
>>> [ 64%] Built target kdbusservicestartertest
>>> [ 64%] Built target kdirlistertest_gui
>>> [ 64%] Built target kdirmodeltest
>>> [ 64%] Built target kdirmodeltest_gui
>>> [ 64%] Built target kfiledialogtest
>>> [ 64%] Built target kfileitemtest
>>> [ 64%] Built target kfilemetainfotest
>>> Linking CXX executable kfstest
>>> CMakeFiles/kfstest.dir/kfstest.o: file not recognized: File
>>> truncated
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [kio/tests/kfstest] Error 1
>>> make[1]: *** [kio/tests/CMakeFiles/kfstest.dir/all] Error 2
>>> make[1]: *** Waiting for unfinished jobs....
>>> Scanning dependencies of target kicondialogtest
>>> [ 64%] Building CXX object
>>> kio/tests/CMakeFiles/kicondialogtest.dir/kicondialogtest_automoc.o
>>> Linking CXX executable
>>> kicondialogtest
>>> CMakeFiles/kicondialogtest.dir/kicondialogtest.o: file not recognized:
>>> File truncated
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [kio/tests/kicondialogtest] Error 1
>>> make[1]: *** [kio/tests/CMakeFiles/kicondialogtest.dir/all] Error 2
>>> make: *** [all] Error 2
>>> [mehta at localhost kdelibs]$
>>> [mehta at localhost kdelibs]$
>>>
>>> On Wed, May 25, 2011 at 9:45 PM, Helder Cesar <heldercro at gmail.com>
>>> wrote:
>>>>
>>>> Nice :)
>>>>
>>>> 2011/5/25 tushar mehta <mehtatus at gmail.com>
>>>>>
>>>>> Hey !!!
>>>>>
>>>>> i did yum-builddep kdelibs and it installed few dependency after that
>>>>> cmakekde proceed further :)
>>>>>
>>>>> I am using fedora 15.
>>>>>
>>>>> here is the output:
>>>>> [mehta at localhost kdelibs]$ cmakekde
>>>>> -- Found Qt-Version 4.7.2 (using /usr/bin/qmake-qt4)
>>>>> -- Found X11: /usr/lib64/libX11.so
>>>>> -- Building kdelibs...
>>>>> -- Found the KDE4 kconfig_compiler preprocessor:
>>>>> /home/mehta/kde/build/kdelibs/bin/./kconfig_compiler.shell
>>>>> -- Found automoc4: /usr/bin/automoc4
>>>>> -- Strigi API needs 'signed char'
>>>>> -- Could NOT find SharedDesktopOntologies  (missing:
>>>>> SHAREDDESKTOPONTOLOGIES_ROOT_DIR)  (Required is at least version "0.6.50")
>>>>> -- Found ACL support: /usr/lib64/libacl.so;/usr/lib64/libattr.so
>>>>> -- Building Fake KAuth backend
>>>>> WARNING: No valid KAuth backends will be built. The library will not
>>>>> work properly unless compiled with
>>>>>              a working backend
>>>>> -- Could NOT find HUpnp  (missing:  HUPNP_INCLUDE_DIR HUPNP_LIBS)
>>>>> -- Building Solid UDev backend.
>>>>> -- Building Solid HAL backend.
>>>>> -- Building Solid UPower backend.
>>>>> -- Building Solid UDisks backend.
>>>>> -- Building Solid fstab backend.
>>>>> -- Found GSSAPI: -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
>>>>> -- Using setuid root kdeinit wrapper in order to protect it from bad
>>>>> Linux OOM-killer
>>>>> -- Could NOT find ASPELL (missing:  ASPELL_LIBRARIES
>>>>> ASPELL_INCLUDE_DIR)
>>>>> -- Could NOT find HSPELL (missing:  HSPELL_LIBRARIES
>>>>> HSPELL_INCLUDE_DIR)
>>>>> -- Found OPENEXR:
>>>>> /usr/lib64/libImath.so;/usr/lib64/libIlmImf.so;/usr/lib64/libIex.so;/usr/lib64/libHalf.so;/usr/lib64/libIlmThread.so
>>>>> -- Adding support for OpenGL applets to libplasma
>>>>> -- Adding support for Phonon to libplasma
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------------
>>>>> -- The following external packages were located on your system.
>>>>> -- This installation will have the extra features provided by these
>>>>> packages.
>>>>>
>>>>> -----------------------------------------------------------------------------
>>>>>    * Perl - Needed for building kdelibs
>>>>>    * ZLib - Support for gzip compressed files and data streams
>>>>>    * Strigi - Desktop indexing and search support
>>>>>    * libattica - Support for Get Hot New Stuff
>>>>>    * X Rendering Extension (libXrender) - Support for compositing,
>>>>> rendering operations, and alpha-blending
>>>>>    * X Screensaver Extension (libXss) - Support for KIdleTime (fallback
>>>>> mode)
>>>>>    * X Sync Extension (libXext) - Efficient operation of KIdleTime
>>>>>    * BZip2 - Support for BZip2 compressed files and data streams
>>>>>    * LZMA/XZ - Support for xz compressed files and data streams
>>>>>    * OpenSSL - Support for secure network communications (SSL and TLS)
>>>>>    * Libintl - Support for multiple languages
>>>>>    * Soprano - Support for the Nepomuk semantic desktop system
>>>>>    * Soprano Raptor Parser - Support for the Nepomuk semantic desktop
>>>>> system
>>>>>    * Soprano Redland Backend - Support for the Nepomuk semantic desktop
>>>>> system
>>>>>    * QCA2 - Support for remote plasma widgets
>>>>>    * DBusMenuQt - Support for notification area menus via the DBusMenu
>>>>> protocol
>>>>>    * LibACL - Support for manipulating access control lists
>>>>>    * FAM - File alteration notification support via a separate service
>>>>>    * Grantlee - ModelEventLogger code generation (part of the
>>>>> ProxyModel test suite)
>>>>>    * PCRE - Perl-compatible regular expressions in KJS
>>>>>    * UDev - UDev support for Solid
>>>>>    * Flex - Allows the Solid predicate parser to be updated
>>>>>    * Bison - Allows the Solid predicate parser to be updated
>>>>>    * LibXSLT - Required by the KDE help system to process DocBook XML
>>>>>    * LibXML2 - Required by the KDE help system to process DocBook XML
>>>>>    * DocBook XML - Required by the KDE help system to process DocBook
>>>>> XML
>>>>>    * DocBook XSL - Required by the KDE help system to process DocBook
>>>>> XML
>>>>>    * GSSAPI - Allows KIO to make use of certain HTTP authentication
>>>>> services
>>>>>    * shared-mime-info - Allows KDE applications to determine file types
>>>>>    * Enchant - Spell checking support via Enchant
>>>>>    * libjpeg - JPEG image format support
>>>>>    * giflib - GIF image format support
>>>>>    * libpng - PNG image format support
>>>>>    * JasPer - Support for JPEG-2000 images
>>>>>    * OpenEXR - Support for OpenEXR images
>>>>>    * Avahi - Facilities for service discovery on a local network
>>>>> (DNSSD)
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------------
>>>>> -- The following OPTIONAL packages could NOT be located on your system.
>>>>> -- Consider installing them to enable more features from this software.
>>>>>
>>>>> -----------------------------------------------------------------------------
>>>>>    * Shared desktop ontologies (0.6.50 or higher)
>>>>> <http://oscaf.sourceforge.net>
>>>>>      Support for the Nepomuk semantic desktop system
>>>>>    * HUPnP  <http://www.herqq.org>
>>>>>      UPnP support for Solid
>>>>>      Allows Solid to provide information about UPnP devices on the
>>>>> network
>>>>>    * Aspell  <http://aspell.net/>
>>>>>      Spell checking support via Aspell
>>>>>      This is not needed for spell checking if Enchant is provided or
>>>>> only Hebrew spell checking is required
>>>>>    * HSpell  <http://ivrix.org.il/projects/spell-checker/>
>>>>>      Spell checking support for Hebrew
>>>>>      Hebrew support can also be provided via Enchant, providing the
>>>>> correct Enchant backends are installed
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------------
>>>>>
>>>>> -- Configuring done
>>>>> -- Generating done
>>>>> -- Build files have been written to: /home/mehta/kde/build/kdelibs
>>>>> Press <ENTER> to continue...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, May 25, 2011 at 6:12 PM, Rohan Prabhu <rohan at rohanprabhu.com>
>>>>> wrote:
>>>>>>
>>>>>> Ok sorry.. sort of replied in a hurry. Although there is some problem
>>>>>> with your KDE Support (I think some components are not available), that
>>>>>> isn't exactly what is stopping you from building KDE.
>>>>>>
>>>>>> The problem is you don't have DBusMenuQt installed. To install:
>>>>>>
>>>>>> git clone git://gitorious.org/dbusmenu/dbusmenu-qt.git
>>>>>> cmake
>>>>>>
>>>>>> I say cmake because I recall it being a cmake project. Just check the
>>>>>> README for how to go about it.
>>>>>
>>>>> _______________________________________________
>>>>> Kde-soc mailing list
>>>>> Kde-soc at kde.org
>>>>> https://mail.kde.org/mailman/listinfo/kde-soc
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Helder C. R. de Oliveira
>>>> http://hcode.de.vu
>>>>
>>>
>>
>>
>>
>> --
>> Helder C. R. de Oliveira
>> http://hcode.de.vu
>>
>
>
> _______________________________________________
> Kde-soc mailing list
> Kde-soc at kde.org
> https://mail.kde.org/mailman/listinfo/kde-soc
>
>


More information about the Kde-soc mailing list