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

ark cmake error

Tags: None
(comma "," separated)
Othmane
Registered Member
Posts
2
Karma
0
OS

ark cmake error

Wed Jan 06, 2010 9:26 pm
Hello!
This is my first post :)

I'm trying to build ark from svn because I want to add LZO archives support.

So I did:
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/ark


then I created build folder, and I ran cmake with this error:
Code: Select all
othmane@shuby:~/sorgentiVari/ark/build$ cmake ..
CMake Error at part/CMakeLists.txt:21 (kde4_add_ui_files):
  Unknown CMake command "kde4_add_ui_files".


-- Configuring incomplete, errors occurred!


so I googled a little then I add
Code: Select all
find_package(KDE4 REQUIRED)

in part/CMakeLists.txt

when running cmake I have this long list of errors :(
Code: Select all
othmane@shuby:~/sorgentiVari/ark/build$ cmake ..
-- Found Qt-Version 4.6.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so               
-- Phonon Version: 4.3.1                       
-- Found KDE 4.4 include dir: /usr/include     
-- Found KDE 4.4 library dir: /usr/lib         
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4                                     
CMake Error: File /automoc4.files.in does not exist.                     
CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:183 (configure_file):
  configure_file Problem configuring file                                 
Call Stack (most recent call first):                                       
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)       
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:927 (_automoc4_kde4_pre_target_handling)
  app/CMakeLists.txt:8 (kde4_add_executable)                                                 


CMake Error at app/CMakeLists.txt:12 (install):
  install TARGETS given no RUNTIME DESTINATION for executable target "ark".


CMake Error at app/CMakeLists.txt:14 (install):
  install FILES given no DESTINATION!         


CMake Warning at app/CMakeLists.txt:18 (find_package):
  Could not find module FindLibKonq.cmake or a configuration file for package
  LibKonq.                                                                   

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

    LibKonqConfig.cmake
    libkonq-config.cmake



CMake Warning at /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (find_package):
  Could not find module FindLibArchive.cmake or a configuration file for                             
  package LibArchive.                                                                               

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

    LibArchiveConfig.cmake
    libarchive-config.cmake

Call Stack (most recent call first):
  plugins/CMakeLists.txt:1 (macro_optional_find_package)


CMake Error: File /automoc4.files.in does not exist.
CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:183 (configure_file):
  configure_file Problem configuring file                                 
Call Stack (most recent call first):                                       
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)       
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:620 (_automoc4_kde4_pre_target_handling)
  plugins/clirarplugin/CMakeLists.txt:11 (kde4_add_plugin)                                   


CMake Error at plugins/clirarplugin/CMakeLists.txt:17 (install):
  install TARGETS given no LIBRARY DESTINATION for module target
  "kerfuffle_clirar".                                           


CMake Error at plugins/clirarplugin/CMakeLists.txt:18 (install):
  install FILES given no DESTINATION!                           


CMake Error: File /automoc4.files.in does not exist.
CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:183 (configure_file):
  configure_file Problem configuring file                                 
Call Stack (most recent call first):                                       
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)       
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:620 (_automoc4_kde4_pre_target_handling)
  plugins/cli7zplugin/CMakeLists.txt:11 (kde4_add_plugin)                                     


CMake Error at plugins/cli7zplugin/CMakeLists.txt:19 (install):
  install TARGETS given no LIBRARY DESTINATION for module target
  "kerfuffle_cli7z".                                           


CMake Error at plugins/cli7zplugin/CMakeLists.txt:20 (install):
  install FILES given no DESTINATION!                         


CMake Error: File /automoc4.files.in does not exist.
CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:183 (configure_file):
  configure_file Problem configuring file                                 
Call Stack (most recent call first):                                       
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)       
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:620 (_automoc4_kde4_pre_target_handling)
  plugins/clizipplugin/CMakeLists.txt:11 (kde4_add_plugin)                                   


CMake Error at plugins/clizipplugin/CMakeLists.txt:19 (install):
  install TARGETS given no LIBRARY DESTINATION for module target
  "kerfuffle_clizip".                                           


CMake Error at plugins/clizipplugin/CMakeLists.txt:20 (install):
  install FILES given no DESTINATION!                           


CMake Error: File /automoc4.files.in does not exist.
CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:183 (configure_file):
  configure_file Problem configuring file                                 
Call Stack (most recent call first):                                       
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:620 (_automoc4_kde4_pre_target_handling)
  plugins/libsinglefileplugin/CMakeLists.txt:18 (kde4_add_plugin)


CMake Error at plugins/libsinglefileplugin/CMakeLists.txt:22 (install):
  install TARGETS given no LIBRARY DESTINATION for module target
  "kerfuffle_libgz".


CMake Error at plugins/libsinglefileplugin/CMakeLists.txt:24 (install):
  install FILES given no DESTINATION!


-- Could NOT find BZip2  (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
CMake Warning at /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (find_package):
  Could not find module FindLibLZMA.cmake or a configuration file for package
  LibLZMA.

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

    LibLZMAConfig.cmake
    liblzma-config.cmake

Call Stack (most recent call first):
  plugins/libsinglefileplugin/CMakeLists.txt:49 (macro_optional_find_package)


CMake Error: File /automoc4.files.in does not exist.
CMake Error at /usr/lib/automoc4/Automoc4Config.cmake:183 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  /usr/lib/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target)
  /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:976 (_automoc4_kde4_pre_target_handling)
  kerfuffle/CMakeLists.txt:26 (kde4_add_library)


CMake Error at kerfuffle/CMakeLists.txt:32 (install):
  install TARGETS given no LIBRARY DESTINATION for shared library target
  "kerfuffle".


CMake Error at kerfuffle/CMakeLists.txt:34 (install):
  install FILES given no DESTINATION!


CMake Error at kerfuffle/CMakeLists.txt:35 (install):
  install FILES given no DESTINATION!


-- Configuring incomplete, errors occurred!


I googled everywhere but nothing :(

What I can do?
User avatar
zakonnik
Registered Member
Posts
37
Karma
0
OS

Re: ark cmake error  Topic is solved

Wed Jan 06, 2010 10:39 pm
Try:
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/ -N
cd kdeutils
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/ark
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/cmake
mkdir build && cd build
cmake .. && make && make install


HP Pavilion dv9680
Slackware64-current | kernel 2.6.32 | kde 4.4beta2 | QT 4.6 | opera 10.10
Othmane
Registered Member
Posts
2
Karma
0
OS

Re: ark cmake error

Thu Jan 07, 2010 2:51 pm
zakonnik wrote:Try:
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/ -N
cd kdeutils
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/ark
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeutils/cmake
mkdir build && cd build
cmake .. && make && make install


Thank you very much!
It works! :D


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]