Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The compile command that I should use is:

make  KLIB=/lib/modules/$(uname -r)

But as make utility is not good at uninstalling packages I want to use checkinstall like so:

checkinstall install=no 

But how can I use KLIB variable with checkintstall?

share|improve this question
    
I don't understand. chekinstall substitutes the make install step, not the make (compilation) step in the usual install from source procedure. –  Javier Rivera Dec 14 '11 at 8:10
add comment

1 Answer

up vote 1 down vote accepted

As Javier pointed out in his comment: checkinstall is only useful for the installation part of the build chain. For some more clarification:

if you ware used to compile and install a program the usual way: ./configure && make && make install you would replace this by:

./configure && make && checkinstall install=no

so you can still pass the KLIB-Argument to make as this argument is only important for make, not for make install.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.