how to run "sudo make" and sudo "make install"

I've installed lubuntu yesterday and noticed that the fans aren't working and want to try the solution kevbelisle came up with.

So, I have downloaded the makefile and the it87.c files and put them into the desktop, and I dont know how to do the next steps.

Could anyone break down the further steps kevbelisle made?

Thanks.

I removed the .txt in the make file and redo all the steps. Here's what I've got

make[1]: Entering directory `/usr/src/linux-headers-3.13.0-43-generic'
/usr/src/linux-headers-3.13.0-43-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
/usr/src/linux-headers-3.13.0-43-generic/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: Command not found CC [M] /home/analog/Desktop/New/it87.o
/bin/sh: 1: gcc: not found
make[2]: *** [/home/analog/Desktop/New/it87.o] Error 127
make[1]: *** [_module_/home/analog/Desktop/New] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-43-generic'
make: *** [modules] Error 2

3 Answers

The error messages show missing make gcc etc. Install the build-essential meta-package to get the development tools.

sudo apt-get install build-essential

The it87 kernel module is in the linux-image-extra package.

sudo apt-get install linux-image-extra-$(uname -r)

Open a terminal, navigate to the base directory of the thing you want to install, then simply type

./configure && make && sudo make install
10

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like