You are not logged in.

#1 2017-01-14 18:50:53

linofex_
Member
Registered: 2017-01-13
Posts: 5

[SOLVED] install thinkfan

Hi all, I'm tryng to installa thinkfan reading the wiki, but I'm stuck (at the begin).
Well I donwloaded thinkfan
run:

 cmake CMakeList.txt
make
sudo make install

and the result is:

linofex@T410i ~/Downloads/thinkfan-0.9.3 % make install 
Scanning dependencies of target thinkfan
[ 16%] Building C object CMakeFiles/thinkfan.dir/src/thinkfan.c.o
[ 33%] Building C object CMakeFiles/thinkfan.dir/src/config.c.o
[ 50%] Building C object CMakeFiles/thinkfan.dir/src/message.c.o
[ 66%] Building C object CMakeFiles/thinkfan.dir/src/parser.c.o
[ 83%] Building C object CMakeFiles/thinkfan.dir/src/system.c.o
[100%] Linking C executable thinkfan
[100%] Built target thinkfan
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/sbin/thinkfan
CMake Error at cmake_install.cmake:42 (file):
  file INSTALL cannot copy file
  "/home/linofex/Downloads/thinkfan-0.9.3/thinkfan" to
  "/usr/local/sbin/thinkfan".


make: *** [Makefile:106: install] Error 1
2 linofex@T410i ~/Downloads/thinkfan-0.9.3 % sudo make install                                        :(
[sudo] password di linofex: 
[100%] Built target thinkfan
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/sbin/thinkfan
-- Up-to-date: /usr/local/share/doc/thinkfan/NEWS
-- Up-to-date: /usr/local/share/doc/thinkfan/COPYING
-- Up-to-date: /usr/local/share/doc/thinkfan/README
-- Up-to-date: /usr/local/share/doc/thinkfan/thinkfan.conf.complex
-- Up-to-date: /usr/local/share/doc/thinkfan/thinkfan.conf.simple
-- Installing: /usr/local/share/man/man1/thinkfan.

No errors, so I think that is ok,  but, reading the wiki I see that

 # pacman -Ql thinkfan 

says the that the package cannot be found
and in

/usr/lib/modprobe.d/thinkpad_acpi.conf

there is not the file
Also,

sudo thinkfan -n

/etc/thinkfan.conf: No such file or directory
Refusing to run without usable config file!

so I wrong somewhere. Where?

Last edited by linofex_ (2017-01-15 10:51:04)

Offline

#2 2017-01-14 18:56:58

FlowIt
Member
Registered: 2014-10-25
Posts: 239

Re: [SOLVED] install thinkfan

The wiki says to install thinkfan from AUR, so please do so. You only win. A (hopefully) well maintained PKGBUILD and all installed files will be tracked by pacman.

Offline

#3 2017-01-15 10:50:47

linofex_
Member
Registered: 2017-01-13
Posts: 5

Re: [SOLVED] install thinkfan

FlowIt wrote:

The wiki says to install thinkfan from AUR, so please do so. You only win. A (hopefully) well maintained PKGBUILD and all installed files will be tracked by pacman.

Thank you! I installed through another package, not aur. Now it works!

Offline

Board footer

Powered by FluxBB