LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2012, 02:44 AM   #1
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Rep: Reputation: 31
set CMAKE_C_COMPILER......


Hello,
I was trying to install icon tasks plasmoid, I followed the readme file instructions until there was a cmake command and it was not found so I installed cmake using yum after the install I got this
Code:
build]$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/ahmad/.kde/share/apps;/usr/share/kde-settings/kde-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:22 (find_package)


-- Configuring incomplete, errors occurred!
I am using fedora 16 and KDE version 4.7.4

How can I solve this problem?

Thanks.
 
Old 01-11-2012, 07:07 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# yum install gcc-c++ kdebase-workspace-devel dbusmenu-qt-devel


cd plasma-icontasks-0.9.2/ && mkdir build && cd build/
&& cmake ../ && make : OK on Fedora 16, 64bits.
 
Old 01-14-2012, 02:34 PM   #3
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Original Poster
Rep: Reputation: 31
Thank you knudfl, it works!
 
Old 01-14-2013, 01:23 PM   #4
dorusto
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
trying to install darktable 1.1.1

I'm using opensuse and with that packages I get forward to the next error. I'm trying to install darktable 1.1.1 and I get this error:

Code:
./build.sh --prefix /opt/darktable --buildtype Release
Darktable build script

Building directory:  ./build
Installation prefix: /opt/darktable
Build type:          Release
Make program:        make
Make tasks:          2


-- The CXX compiler identification is GNU 4.7.1
-- 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
-- checking for module 'Gettext'
--   package 'Gettext' not found
-- Found Gettext 
-- Found msgfmt to convert language file. Translation enabled
-- Found xsltproc
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp  
-- checking for module 'glib-2.0'
--   found glib-2.0, version 2.32.4
-- Found Glib 
CMake Warning (dev) at src/CMakeLists.txt:113 (find_package):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /home/doru/Documents/darktable-1.1.1/cmake/modules/FindGlib.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/modules/FindGTK2.cmake:387 (message):
  Could not find GTK2 include directory
Call Stack (most recent call first):
  src/CMakeLists.txt:118 (find_package)


CMake Warning (dev) at src/CMakeLists.txt:118 (find_package):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /home/doru/Documents/darktable-1.1.1/cmake/modules/FindGTK2.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
Any help please!

Thanks.
 
Old 01-14-2013, 03:07 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 4, @dorusto : Welcome to LQ.

Quote:
Could not find GTK2 include directory
# zypper in gtk2-devel


And the other numerous prerequisites for darktable-1.1.1 :
Most of those are also <name>-devel
To be found with : # zypper se <name> ( or part of name.)

-
 
Old 01-14-2013, 08:27 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 4 : Build prerequisites for darktable-1.1.1 :

# zypper in \
gtk2-devel libexiv2-devel libgphoto2-devel libxslt-tools libxml2-devel lensfun-devel \
librsvg-devel sqlite3-devel libcurl-devel libjpeg62-devel libtiff-devel liblcms2-devel \
libopenexr-devel libgudev-1_0-devel dbus-1-devel sane-backends-devel polkit-devel \
libgnome-keyring-devel libSDL-devel libsoup-devel dbus-1-glib-devel libcolord-devel

-
 
  


Reply

Tags
darktable



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] phpinfo display_errors not set to On after value set to On in php.ini famsinyi Programming 4 03-25-2011 07:41 PM
How do I set a real system user in ProFTP to set to a specific directory? j.smith1981 Linux - Server 27 12-14-2010 08:32 AM
Can't set PWD despite having sudo permission set. spoovy Linux - Newbie 7 03-04-2010 02:07 AM
Cannot set LD_LIBRARY_PATH in .cshrc (able to set other env variables) senthilpr_in Linux - Newbie 4 02-26-2007 12:46 PM
How to view set-user-ID and set-group-ID Xris718 Linux - General 7 01-10-2004 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration