simgunz / redshift-plasmoid

Adjusts and configures screen luminosity depending on your surroundings, using Redshift.
http://simgunz.org/projects/redshift-plasmoid/
GNU General Public License v3.0
51 stars 3 forks source link

error while cmaking #5

Closed cidious closed 11 years ago

cidious commented 11 years ago

KDE 4.9.97 Kubuntu 12.10

got an error while running cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ..

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/user/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)

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

    cmake_minimum_required(VERSION 2.8)

  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 incomplete, errors occurred!
simgunz commented 11 years ago

Are you using an Ubuntu like distribution? In this case try "sudo apt-get install build-essential kde-workspace-dev".