Tuesday, May 7, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3857  / 2 Years ago, wed, march 16, 2022, 2:25:21

I download the latest stable version of psensor: psensor-1.0.4. I try to install it from source on Ubuntu 12.04. ./configure generates a Makefile, But when I run make,



psensor.h:22:29: fatal error: sensors/sensors.h: No such file or directory


I searched and found that it was with lm_sensors-devel which I haven't installed. But I can't find lm_sensors-devel to install. any solution? Thanks.


More From » software-installation

 Answers
3

Try installing libsensors4-dev, which appears to be the package that contains sensors/sensors.h on my 12.04 box



$ dpkg -L libsensors4-dev | grep '.h$'
/usr/include/sensors/error.h
/usr/include/sensors/sensors.h

[#22769] Wednesday, March 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cheeturage

Total Points: 432
Total Questions: 111
Total Answers: 115

Location: Bahrain
Member since Tue, Mar 1, 2022
2 Years ago
cheeturage questions
Sat, Dec 4, 21, 02:22, 2 Years ago
Mon, Jan 2, 23, 22:39, 1 Year ago
Sun, Sep 12, 21, 03:21, 3 Years ago
;