Hi Friends
I am a regular Linux user but mostly of apps from software center and have no experience in any type of programming or making/installing any apps from git etc..
I am trying to install Hardinfo app from https://github.com/lpereira/hardinfo.git as its not avaaliable in the software center of Solus.
But when i try cmake i get the below error
$ sudo cmake .. CMakeLists.txt
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake-3.17/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/lokesh/build/hardinfo/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_fbbf5/fast && /usr/bin/gmake -f CMakeFiles/cmTC_fbbf5.dir/build.make CMakeFiles/cmTC_fbbf5.dir/build
gmake[1]: Entering directory '/home/lokesh/build/hardinfo/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fbbf5.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_fbbf5.dir/testCCompiler.c.o -c /home/lokesh/build/hardinfo/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_fbbf5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fbbf5.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_fbbf5.dir/testCCompiler.c.o -o cmTC_fbbf5
/usr/bin/ld: cannot find /usr/lib64/libc_nonshared.a
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_fbbf5.dir/build.make:107: cmTC_fbbf5] Error 1
gmake[1]: Leaving directory '/home/lokesh/build/hardinfo/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:141: cmTC_fbbf5/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Configuring incomplete, errors occurred!
See also "/home/lokesh/build/hardinfo/CMakeFiles/CMakeOutput.log".
See also "/home/lokesh/build/hardinfo/CMakeFiles/CMakeError.log".
I tried installing g++ and gcc but no luck
So please help me to install this software as i am very much excited to learn some new tricks
Regards
Lokesh