Portál AbcLinuxu, 6. května 2025 04:22
root@m-virtual-machine:/home/m/thinkfan-0.9_beta2# cmake -D CMAKE_BUILD_TYPE:STRING="" . -- The C compiler identification is GNU 4.7.3 -- The CXX compiler identification is GNU 4.7.3 -- 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 -- 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 -- Configuring done -- Generating done -- Build files have been written to: /home/m/thinkfan-0.9_beta2 root@m-virtual-machine:/home/m/thinkfan-0.9_beta2# cmake --build . Scanning dependencies of target thinkfan [ 20%] Building C object CMakeFiles/thinkfan.dir/thinkfan.c.o [ 40%] Building C object CMakeFiles/thinkfan.dir/config.c.o [ 60%] Building C object CMakeFiles/thinkfan.dir/message.c.o [ 80%] Building C object CMakeFiles/thinkfan.dir/parser.c.o [100%] Building C object CMakeFiles/thinkfan.dir/system.c.o Linking C executable thinkfan [100%] Built target thinkfan root@m-virtual-machine:/home/m/thinkfan-0.9_beta2# make installmake: *** No rule to make target `install'. Stop.
Řešení dotazu:
make install
?
"CMake should also provide you with a "make install" target, which defaults to a /usr/local prefix."
jelikoz je to beta, tak tam ocividne tato direktiva chybi, sam tam pise
Run ./thinkfan -n -c PATH_TO_CONFIG and watch it do its job. Try putting some load on your system with glxgears or running some infinite loop in bash. If everything works nicely, forget about it for a while to make sure it's stable. Once you're confident that it works well for you, you may want to copy it to /usr/local/sbin or whatever you like and run it without -n.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.