LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-10-2014, 12:44 AM   #1
nasibeh.m
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Unhappy cmake error


unfortunately i'm not familiar with linux (fedora 15) ,i want to install uhd,gnuradio and openbts in my desktop, so in this way i have some commands for installation ... i wrote cmake ../ and got these errors .plz help me that how can i fix this as soon as possible .
[root@fedora-1 build]# cmake ../
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
--
-- Configuring the python interpreter...
-- Found PythonInterp: /usr/bin/python2.7
-- Python interpreter: /usr/bin/python2.7
-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
-- Build type not specified: defaulting to release.
--
-- Configuring Boost C++ Libraries...
-- Boost version: 1.46.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- program_options
-- regex
-- system
-- thread
-- unit_test_framework
-- Boost include directories: /usr/include
-- Boost library directories: /usr/lib
-- Boost libraries: optimized;/usr/lib/libboost_date_time-mt.so;debug;/usr/lib/libboost_date_time-mt.so;optimized;/usr/lib/libboost_filesystem-mt.so;debug;/usr/lib/libboost_filesystem-mt.so;optimized;/usr/lib/libboost_program_options-mt.so;debug;/usr/lib/libboost_program_options-mt.so;optimized;/usr/lib/libboost_regex-mt.so;debug;/usr/lib/libboost_regex-mt.so;optimized;/usr/lib/libboost_system-mt.so;debug;/usr/lib/libboost_system-mt.so;optimized;/usr/lib/libboost_thread-mt.so;debug;/usr/lib/libboost_thread-mt.so;optimized;/usr/lib/libboost_unit_test_framework-mt.so;debug;/usr/lib/libboost_unit_test_framework-mt.so
--
-- Python checking for Python version 2.6 or greater
-- Python checking for Python version 2.6 or greater - found
--
-- Python checking for Cheetah templates 2.0.0 or greater
-- Python checking for Cheetah templates 2.0.0 or greater - found
--
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = TRUE
-- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
-- Dependency HAVE_PYTHON_MODULE_CHEETAH = TRUE
-- Enabling LibUHD support.
-- Override with -DENABLE_LIBUHD=ON/OFF
--
-- Configuring Examples support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Examples support.
-- Override with -DENABLE_EXAMPLES=ON/OFF
--
-- Configuring Utils support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Utils support.
-- Override with -DENABLE_UTILS=ON/OFF
--
-- Configuring Tests support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Tests support.
-- Override with -DENABLE_TESTS=ON/OFF
--
-- Found Docutils: /usr/bin/rst2html
--
-- Configuring Manual support...
-- Dependency DOCUTILS_FOUND = TRUE
-- Enabling Manual support.
-- Override with -DENABLE_MANUAL=ON/OFF
--
-- Found Doxygen: /usr/bin/doxygen
--
-- Configuring Doxygen support...
-- Dependency DOXYGEN_FOUND = YES
-- Enabling Doxygen support.
-- Override with -DENABLE_DOXYGEN=ON/OFF
--
-- Found GZip: /usr/bin/gzip
--
-- Configuring Man Pages support...
-- Dependency GZIP_FOUND = TRUE
-- Dependency LINUX = TRUE
-- Enabling Man Pages support.
-- Override with -DENABLE_MAN_PAGES=ON/OFF
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
--
-- Configuring high resolution timing...
-- Performing Test HAVE_CLOCK_GETTIME
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_CLOCK_GETTIME - Failed
-- Performing Test HAVE_MACH_ABSOLUTE_TIME
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed
-- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER - Failed
-- High resolution timing supported though microsec_clock.
--
-- checking for module 'orc-0.4'
-- found orc-0.4, version 0.4.16
-- checking for module 'orc-0.4 > 0.4.11'
-- found orc-0.4 > 0.4.11, version 0.4.16
-- Found ORC: /usr/lib/liborc-0.4.so
--
-- Configuring ORC support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ORC_FOUND = TRUE
-- Dependency ORCC_EXECUTABLE = /usr/bin/orcc
-- Enabling ORC support.
-- Override with -DENABLE_ORC=ON/OFF
-- The C 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
-- Orc found, enabling Orc support.
-- Looking for C++ include emmintrin.h
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for C++ include emmintrin.h - not found
--
-- Looking for libusb_handle_events_timeout_completed
-- Looking for libusb_handle_events_timeout_completed - not found
-- Looking for libusb_error_name
-- Looking for libusb_error_name - not found
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIRS)
--
-- Configuring USB support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency LIBUSB_FOUND = FALSE
-- Disabling USB support.
-- Override with -DENABLE_USB=ON/OFF
--
-- Configuring interface address discovery...
-- Performing Test HAVE_GETIFADDRS
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_GETIFADDRS - Failed
-- Looking for C++ include winsock2.h
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for C++ include winsock2.h - not found
-- Interface address discovery not supported.
-- Looking for C++ include atlbase.h
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Looking for C++ include atlbase.h - not found
--
-- Configuring USRP1 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = OFF
-- Disabling USRP1 support.
-- Override with -DENABLE_USRP1=ON/OFF
--
-- Configuring USRP2 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling USRP2 support.
-- Override with -DENABLE_USRP2=ON/OFF
--
-- Configuring B100 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = OFF
-- Disabling B100 support.
-- Override with -DENABLE_B100=ON/OFF
--
-- Configuring E100 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency LINUX = TRUE
-- Disabling E100 support.
-- Override with -DENABLE_E100=ON/OFF
--
-- Configuring B200 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = OFF
-- Disabling B200 support.
-- Override with -DENABLE_B200=ON/OFF
--
-- Configuring priority scheduling...
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM - Failed
-- Performing Test HAVE_WIN_SETTHREADPRIORITY
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_WIN_SETTHREADPRIORITY - Failed
-- Priority scheduling not supported.
--
-- Configuring module loading...
-- Performing Test HAVE_DLOPEN
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_DLOPEN - Failed
-- Performing Test HAVE_LOAD_LIBRARY
CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:37 (GET_FILENAME_COMPONENT):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Performing Test HAVE_LOAD_LIBRARY - Failed
-- Module loading not supported.
--
-- ######################################################
-- # UHD enabled components
-- ######################################################
-- * LibUHD
-- * Examples
-- * Utils
-- * Tests
-- * Manual
-- * Doxygen
-- * Man Pages
-- * ORC
-- * USRP2
--
-- ######################################################
-- # UHD disabled components
-- ######################################################
-- * USB
-- * USRP1
-- * B100
-- * E100
-- * B200
--
-- Building version: 003.006.002-64-g92b0b7ab
-- Using install prefix: /usr/local
-- Compatible images can be downloaded from: http://files.ettus.com/binaries/main...06.002-rc2.zip
-- Configuring incomplete, errors occurred!
[root@fedora-1 build]# man cmake
[root@fedora-1 build]# cmake ../
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
--
-- Configuring the python interpreter...
-- Python interpreter: /usr/bin/python2.7
-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
-- Build type not specified: defaulting to release.
--
-- Configuring Boost C++ Libraries...
-- Boost include directories: /usr/include
-- Boost library directories: /usr/lib
-- Boost libraries: optimized;/usr/lib/libboost_date_time-mt.so;debug;/usr/lib/libboost_date_time-mt.so;optimized;/usr/lib/libboost_filesystem-mt.so;debug;/usr/lib/libboost_filesystem-mt.so;optimized;/usr/lib/libboost_program_options-mt.so;debug;/usr/lib/libboost_program_options-mt.so;optimized;/usr/lib/libboost_regex-mt.so;debug;/usr/lib/libboost_regex-mt.so;optimized;/usr/lib/libboost_system-mt.so;debug;/usr/lib/libboost_system-mt.so;optimized;/usr/lib/libboost_thread-mt.so;debug;/usr/lib/libboost_thread-mt.so;optimized;/usr/lib/libboost_unit_test_framework-mt.so;debug;/usr/lib/libboost_unit_test_framework-mt.so
--
-- Python checking for Python version 2.6 or greater
-- Python checking for Python version 2.6 or greater - found
--
-- Python checking for Cheetah templates 2.0.0 or greater
-- Python checking for Cheetah templates 2.0.0 or greater - found
--
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = TRUE
-- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
-- Dependency HAVE_PYTHON_MODULE_CHEETAH = TRUE
-- Enabling LibUHD support.
-- Override with -DENABLE_LIBUHD=ON/OFF
--
-- Configuring Examples support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Examples support.
-- Override with -DENABLE_EXAMPLES=ON/OFF
--
-- Configuring Utils support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Utils support.
-- Override with -DENABLE_UTILS=ON/OFF
--
-- Configuring Tests support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Tests support.
-- Override with -DENABLE_TESTS=ON/OFF
--
--
-- Configuring Manual support...
-- Dependency DOCUTILS_FOUND = TRUE
-- Enabling Manual support.
-- Override with -DENABLE_MANUAL=ON/OFF
--
--
-- Configuring Doxygen support...
-- Dependency DOXYGEN_FOUND = YES
-- Enabling Doxygen support.
-- Override with -DENABLE_DOXYGEN=ON/OFF
--
--
-- Configuring Man Pages support...
-- Dependency GZIP_FOUND = TRUE
-- Dependency LINUX = TRUE
-- Enabling Man Pages support.
-- Override with -DENABLE_MAN_PAGES=ON/OFF
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
--
-- Configuring high resolution timing...
-- High resolution timing supported though microsec_clock.
--
--
-- Configuring ORC support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ORC_FOUND = TRUE
-- Dependency ORCC_EXECUTABLE = /usr/bin/orcc
-- Enabling ORC support.
-- Override with -DENABLE_ORC=ON/OFF
-- Orc found, enabling Orc support.
--
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIRS)
--
-- Configuring USB support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency LIBUSB_FOUND = FALSE
-- Disabling USB support.
-- Override with -DENABLE_USB=ON/OFF
--
-- Configuring interface address discovery...
-- Interface address discovery not supported.
--
-- Configuring USRP1 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = OFF
-- Disabling USRP1 support.
-- Override with -DENABLE_USRP1=ON/OFF
--
-- Configuring USRP2 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling USRP2 support.
-- Override with -DENABLE_USRP2=ON/OFF
--
-- Configuring B100 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = OFF
-- Disabling B100 support.
-- Override with -DENABLE_B100=ON/OFF
--
-- Configuring E100 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency LINUX = TRUE
-- Disabling E100 support.
-- Override with -DENABLE_E100=ON/OFF
--
-- Configuring B200 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = OFF
-- Disabling B200 support.
-- Override with -DENABLE_B200=ON/OFF
--
-- Configuring priority scheduling...
-- Priority scheduling not supported.
--
-- Configuring module loading...
-- Module loading not supported.
--
-- ######################################################
-- # UHD enabled components
-- ######################################################
-- * LibUHD
-- * Examples
-- * Utils
-- * Tests
-- * Manual
-- * Doxygen
-- * Man Pages
-- * ORC
-- * USRP2
--
-- ######################################################
-- # UHD disabled components
-- ######################################################
-- * USB
-- * USRP1
-- * B100
-- * E100
-- * B200
--
-- Building version: 003.006.002-64-g92b0b7ab
-- Using install prefix: /usr/local
-- Compatible images can be downloaded from: http://files.ettus.com/binaries/main...06.002-rc2.zip
-- Configuring incomplete, errors occurred!
 
Old 02-10-2014, 10:46 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you will have many many problems using Fedora 15
it is 5 versions out of date
fedora 15 went END OF LIFE back in June 2012
the current is Fedora 20
https://fedoraproject.org/wiki/Fedor...e?rd=LifeCycle

fedora 19 is supported but will go end of life in about 5 months


so install Fedora 20
THEN
see about installing "uhd,gnuradio and openbts"


from the error
Quote:
-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIRS)
with fedora 15 5 versions out of date
there are NO updates nor updated versions of software to install

There are OLD - 2 years out of date versions that ?? might ? be able to install

a lot of the old fedora 15 mirrors are not there anymore ( 2 years old ..... )
but the OLD and out of date versions might be around
to see run

Code:
su -
yum search libusb 
-------if there install  it ------
yum install libusb  libusb-devel
also DO NOT !!!!! run "cmake" as root !!!!!!!
and DO NOT log in to the GUI as root !!!

login as a normal NON ROOT user
run "cmake"
when it is done run " make" THEN and only then become root by using "su" and run make install
--- FROM INSIDE THE BUILD FOLDER ---
Code:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ../
make
su
----- your root password ----
make install
or add
Code:
set (CMAKE_INSTALL_PREFIX /usr/)
to the CMakeLists.txt


fedora uses /usr as the install location
and NOT /usr/local

Last edited by John VV; 02-10-2014 at 10:57 PM.
 
  


Reply



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] cmake error windstory Linux - Newbie 2 11-22-2012 06:01 AM
cmake configure error ninja master Linux - Software 5 01-06-2011 06:14 AM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM
[SOLVED] Cmake error ~sHyLoCk~ Slackware 10 12-07-2009 01:00 PM
CMAKE error, some help needed here! Rasmus Linux - Software 1 10-26-2009 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:27 PM.

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