Ask Your Question
0

compiling Yarock_1.0.0_source in fedora 21

asked 2014-12-26 03:17:36 -0500

azrulmatsaad gravatar image

updated 2014-12-26 09:22:30 -0500

cobra gravatar image

hi everyone,i want to install latest version of Yarock player,i try to compile it with cmake but i keep getting error, Please help me i dont have experience with compiling stuff.

terminal output:

>azrul@localhost ~$ cd '/home/azrul/Downloads/Yarock_1.0.0_source' 
azrul@localhost Yarock_1.0.0_source$ mkdir build && cd build
azrul@localhost build$ cmake '/home/azrul/Downloads/Yarock_1.0.0_source/CMakeLists.txt' 
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:7 (PROJECT):
  No CMAKE_CXX_COMPILER could be found.
> Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/azrul/Downloads/Yarock_1.0.0_source/CMakeFiles/CMakeOutput.log".
See also "/home/azrul/Downloads/Yarock_1.0.0_source/CMakeFiles/CMakeError.log".
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-12-27 01:10:53 -0500

davidva gravatar image

updated 2014-12-27 02:04:24 -0500

mmm I don't recommend compile, because it would make problems with the rpm...

at your own risk...

su

cd '/home/azrul/Downloads/Yarock_1.0.0_source'

dnf -y install cmake qt-devel taglib-devel qjson-devel libechonest-devel libqxt-devel qtsingleapplication-devel qtsinglecoreapplication-devel phonon-devel sqlite-devel desktop-file-utils automoc

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr

make

make install

gtk-update-icon-cache /usr/share/icons/hicolor
edit flag offensive delete link more

Comments

1

Thank you davida,

azrulmatsaad gravatar imageazrulmatsaad ( 2014-12-27 02:53:59 -0500 )edit

Update!! I made the current version of Yarock in COPR

davidva gravatar imagedavidva ( 2015-09-18 19:29:52 -0500 )edit
0

answered 2014-12-26 09:26:32 -0500

cobra gravatar image

You're missing the C++ extension to gcc. Install like this (with root privileges):

yum install gcc-c++

Then retry your build. It is likely that you'll need other build tools or libraries, but you can't really tell until you get the build started with this compiler.

edit flag offensive delete link more

Comments

thank you cobra,

azrulmatsaad gravatar imageazrulmatsaad ( 2014-12-27 02:53:05 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-26 03:17:36 -0500

Seen: 315 times

Last updated: Dec 27 '14