This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kdebase/runtime/nepomuk - kdebase/runtime/phonon

Tags: None
(comma "," separated)
User avatar
Spiros
Registered Member
Posts
25
Karma
1
OS
I hope I'm in the right board...
I'm building my own KDE release from trunk, but I have a problem with kdebase. The problem is in the nepomuk directory.

When I do cmake I get the following warning:
Code: Select all
CMake Warning at nepomuk/CMakeLists.txt:3 (find_package):
  Could not find module FindSharedDesktopOntologies.cmake or a configuration
  file for package SharedDesktopOntologies.

  Adjust CMAKE_MODULE_PATH to find FindSharedDesktopOntologies.cmake or set
  SharedDesktopOntologies_DIR to the directory containing a CMake
  configuration file for SharedDesktopOntologies.  The file will have one of
  the following names:

    SharedDesktopOntologiesConfig.cmake
    shareddesktopontologies-config.cmake


And in facts during the building I get the following error:
Code: Select all
make[2]: *** No rule to make target `/nie/nie.trig', needed by `nepomuk/strigibackend/nie.h'.  Stop.
make[1]: *** [nepomuk/strigibackend/CMakeFiles/sopranobackend.dir/all] Error 2


I think it is a problem regarding the cmake build configuration for this project, but I can't solve this.

Last edited by Spiros on Mon Nov 30, 2009 12:07 am, edited 1 time in total.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
There is currently a problem with a new dependency on a shared package.
This is being worked on by the involved developers in kdelibs and is expected to be solved somewhen this weekend.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This problem is now apparently resolved. You may need to install the package from http://sourceforge.net/projects/oscaf/f ... 2/download however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Spiros
Registered Member
Posts
25
Karma
1
OS
Ok, I installed that package, rebuilt kdelibs and now it compiles.
But I have a problem with phonon: I installed phonon from kdesupport in trunk, but now kdebase/runtime/phonon does not compile:

Code: Select all
-- 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
CMake Error at CMakeLists.txt:13 (macro_ensure_version):
  Unknown CMake command "macro_ensure_version".


-- Configuring incomplete, errors occurred!
-- Found Qt-Version 4.7.0 (using /opt/qt/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Phonon Version: 4.3.1
-- Found KDE 4.4 include dir: /opt/kde/include
-- Found KDE 4.4 library dir: /opt/kde/lib
-- Found the KDE4 kconfig_compiler preprocessor: /opt/kde/bin/kconfig_compiler
-- Found automoc4: /opt/kde/bin/automoc4
-- Strigi API needs 'signed char'
KDE4_DBUS_INTERFACES_DIR = /opt/kde/share/dbus-1/interfaces
-- The installed LibSSH version 0.3.4 is too old, at least version 0.4.0 is required.
-- Found OPENEXR: /usr/lib64/libImath.so;/usr/lib64/libIlmImf.so;/usr/lib64/libIex.so;/usr/lib64/libHalf.so;/usr/lib64/libIlmThread.so
-- Found ALSA: /usr/lib64/libasound.so
-- Create macro to display info at the end of install

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Shared desktop ontologies - Desktop ontologies
   * Soprano - Soprano Libraries
   * Nepomuk - Nepomuk Libraries
   * Soprano Virtuoso Backend - Virtuoso storage backend for Soprano
   * Soprano Raptor Parser - RDF parser plugin for Soprano
   * Soprano Redland Backend - Redland storage backend for Soprano
   * OpenSLP - SLP (Service Location Protocol) implementation
   * LibAttica - Library to access Open Collaboration Services
   * Samba - the SMB client library, a version with smbc_set_context() and smbc_option_set()
   * BZip2 - A high-quality data compressor
   * LZMA/XZ - A very high compression ratio data compressor
   * OpenEXR - API for accessing OpenEXR formatted images
   * Exiv2 - A library to access image metadata
   * Phonon - Phonon library

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * libssh (0.4.0 or higher)  <http://www.libssh.org/>
     the SSH library with SFTP support
     Needed to build the SFTP kioslave

-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/kde/build/trunk/KDE/kdebase/runtime
[  0%] Built target kded_phononserver_automoc
[  0%] Built target kde_automoc
[  0%] Built target kcm_phonon_automoc
[  0%] Built target phonon_devicepreference_update_automoc
[  0%] Built target kcm_phononxine_automoc
[  0%] Built target phonon_deviceuids_update_automoc
[ 25%] Built target kde
Linking CXX shared module ../../lib/kcm_phonon.so
[ 50%] Built target kded_phononserver
[ 50%] Built target phonon_devicepreference_update
[ 50%] Built target phonon_deviceuids_update
[ 75%] Built target kcm_phononxine
CMakeFiles/kcm_phonon.dir/devicepreference.o: In function `DevicePreference::save()':
/opt/kde/src/trunk/KDE/kdebase/runtime/phonon/kcm/devicepreference.cpp:371: undefined reference to `Phonon::GlobalConfig::setAudioOutputDeviceListFor(Phonon::Category, QList<int>)'
/opt/kde/src/trunk/KDE/kdebase/runtime/phonon/kcm/devicepreference.cpp:377: undefined reference to `Phonon::GlobalConfig::setAudioCaptureDeviceListFor(Phonon::Category, QList<int>)'
CMakeFiles/kcm_phonon.dir/devicepreference.o: In function `DevicePreference::on_showCheckBox_toggled()':
/opt/kde/src/trunk/KDE/kdebase/runtime/phonon/kcm/devicepreference.cpp:548: undefined reference to `Phonon::GlobalConfig::setHideAdvancedDevices(bool)'
CMakeFiles/kcm_phonon.dir/devicepreference.o: In function `DevicePreference::load()':
/opt/kde/src/trunk/KDE/kdebase/runtime/phonon/kcm/devicepreference.cpp:330: undefined reference to `Phonon::GlobalConfig::hideAdvancedDevices() const'
collect2: ld returned 1 exit status
make[2]: *** [lib/kcm_phonon.so] Error 1
make[1]: *** [phonon/kcm/CMakeFiles/kcm_phonon.dir/all] Error 2
make: *** [all] Error 2


It does not find those libraries, but the kdesupport libraries are in LD_LIBRARY_PATH.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try running make clean && make to clear the issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Spiros
Registered Member
Posts
25
Karma
1
OS
Thanks! Solved. ;)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]