[rkward-users] Rkward on Mac cmake problem

AYeroslaviz Assa.Yeroslaviz at age.mpg.de
Tue Jun 22 06:34:02 UTC 2010


Hi,

I have a problem installing Rkward on my mac (version 10.6..4)

I did all the steps mentioned here: http://rkward.sourceforge.net/
As I wanted to install cmake it told me it can't find the package, but with the command 

fink list -i | grep cmake

 i 	boost1.41.cmake	1.41.0-12	Boost C++ Libraries
 i 	boost1.41.cmake-shlibs	1.41.0-12	Boost C++ Libraries
 i 	cmake	2.8.1-2	Cross-platform Make

so I assumed it is already installed. Am I wrong?

The problems occurs when I'm trying to run the command:
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DR_EXECUTABLE=/usr/bin/R

I'm getting the following error message:

-bash: kde4-config: command not found
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- 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
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- 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 /sw/share/cmake-2.8/Modules/FindKDE4.cmake:58 (MESSAGE):
  ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
  CMakeLists.txt:10 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

what am I doing wrong?
As I'm a Newbie both to Mac and to Linux, I just followed the steps mentioned on the site, so I'm not sure what and where i need to change.

I will be happy for every help I can get.

THX

Assa


Assa Yeroslaviz
Application service, Bioinformatics group
Max Planck Institute for the Biology of Aging
Robert-Koch-Strasse 21
50931 Cologne
Germany
phone: +49 221 47889793
e-mail: AYeroslaviz at age.mpg.de





More information about the Rkward-users mailing list