Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 487  / 2 Years ago, fri, september 9, 2022, 1:55:31

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?


More From » compiling

 Answers
1

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.


[#41461] Saturday, September 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amencisiv

Total Points: 9
Total Questions: 102
Total Answers: 118

Location: Tajikistan
Member since Tue, Mar 21, 2023
1 Year ago
amencisiv questions
Wed, Dec 28, 22, 12:58, 1 Year ago
Wed, Sep 28, 22, 18:24, 2 Years ago
Fri, May 13, 22, 19:08, 2 Years ago
;