[kde-de] kde-de Nachrichtensammlung, Band 64, Eintrag 6

Kevin Zirpel Dark_Eagel at web.de
Di Jul 22 22:20:53 CEST 2008


Hallo Stephan,

es kann durchaus sein das etwas grundlegendes hier falsch läuft. Ich habe mal folgendes ausprobiert:
1. Ich habe alles mal in das entsprechende Verzeichnis entpackt /skulpture-0.1.3 und dann mit eben jenem ./install.sh gestartet. Folgendes kam dabei raus:

kevin at kevin-desktop:~/Desktop/skulpture-0.1.3$ ./install.sh
-- 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:2 (qt4_add_resources):       
  Unknown CMake command "qt4_add_resources".               


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more    
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
kevin at kevin-desktop:~/Desktop/skulpture-0.1.3$ PATH=$PATH:/usr/lib/kde4/bin
kevin at kevin-desktop:~/Desktop/skulpture-0.1.3$ ./install.sh
CMake Error at CMakeLists.txt:2 (qt4_add_resources):
  Unknown CMake command "qt4_add_resources".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done

Soweit zumindest erst einmal eine etwas andere Fehlermeldung...
Nun gut dann habe ich mal in die CmakeLists.txt geschaut. Die sieht tatsächlich völlig anders aus als in deinem Fall:

set (kstyle_skulpture_config_SOURCES sk_config.cpp)
qt4_add_resources (kstyle_skulpture_config_SOURCES sk_preview2.qrc)
kde4_add_ui_files (kstyle_skulpture_config_SOURCES sk_dialog.ui sk_preview1.ui sk_preview2.ui)

kde4_add_plugin (kstyle_skulpture_config ${kstyle_skulpture_config_SOURCES})
target_link_libraries (kstyle_skulpture_config ${KDE4_KDEUI_LIBS})
install (TARGETS kstyle_skulpture_config DESTINATION ${PLUGIN_INSTALL_DIR})

Das war sie komplett. Nix von dem was du geschrieben hast. Bei Cmake verwende ich übrigens Version 2.6-patch-0.
Eine Sache noch von die ich bisher aber für nicht so wichtig gehalten habe: Ich arbeite auf einem AMD64 System. Das sollte aber eigentlich keinen Unterschied machen wenn ich vom SourceCode kompiliere, oder?
Den Source habe ich übrigens von dieser URL: http://www.kde-look.org/content/show.php/Skulpture?content=59031

Danke nochmal für die Hilfe,

Grüsse,
Kevin 
____________________________________________________________________
Ihre Messenger, Communities und E-Mails jetzt in einem Programm!
WEB.DE MultiMessenger http://www.produkte.web.de/messenger/?did=3071