Skip to contentSkip to conversation

make user output

lm-sensors John T. Mitchell 2 participants 3 messages May 22, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I have been trying to get lm-sensors working on a Mitac 8355 laptop for the last two days without success. I believe I am just doing something wrong. Anyway I am running Ubuntu Dapper Drake with all of the newest updates. When I try make user I get the following output:

grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make: *** No rule to make target sysfs/libsysfs.h', needed by lib/sysfs.ad'. Stop.

Being fairly new to Linux I don't understand how to fix the missing autoconf.h file? Any help or suggestions would be welcomed.

Thank you,
John

#1 lore raw

Hi John:

Quoted 5 lines · John T. Mitchell

I have been trying to get lm-sensors working on a Mitac 8355 laptop for the last two days without success. I believe I am just doing something wrong. Anyway I am running Ubuntu Dapper Drake with all of the newest updates. When I try make user I get the following output:

Quoted 7 lines

grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory
make: *** No rule to make target sysfs/libsysfs.h', needed by lib/sysfs.ad'. Stop.

Being fairly new to Linux I don't understand how to fix the missing autoconf.h file? Any help or suggestions would be welcomed.

lm-sensors depends on a library called libsysfs. To build lm-sensors from source, you either need to (1) build and install sysfsutils from source, or (2) install a package that includes libsysfs headers.

Option #2 is easiest. On Ubuntu, the package you need is libsysfs-dev. Install that, then back to lm-sensors... 'make clean' and 'make user' and 'make user_install' should do it.

Also, don't worry about the "grep: ... No such file or directory" warnings. That is mentioned in the FAQ:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html

Regards,

Signature · 2 lines
Mark M. Hoffman
mhoffman at lightlink.com
#2 lore raw
In reply to John T. Mitchell

To anyone using challenge-response email systems...

Quoted 5 lines · jtmitche at mindspring.com

I apologize for this automatic reply to your email.

To control spam, I now allow incoming messages only from senders I have approved beforehand.

Quoted 8 lines

If you would like to be added to my list of approved senders, please fill out the short request form (see link below). Once I approve you, I will receive your original message in my inbox. You do not need to resend your message. I apologize for this one-time inconvenience.

Click the link below to fill out the request:

https://webmail.atl.earthlink.net/wam/addme?a=jtmitche at mindspring.com&idI7Mw54X3Nl3pv0

No way.

If you ask for help on a public mailing list, at a minimum, your CR email system should whitelist the message ID of your question and perhaps the subject as well. If it can't do that, don't use that address to ask for help.

Better yet, don't use CR at all.

Signature · 2 lines
Mark M. Hoffman
mhoffman at lightlink.com