Page 1 of 1

Using checkinstall instead of make install

Posted: Wed Jan 20, 2010 5:13 am
by 2lssfz
Hi, sorry if this seems dumb but I don't know much about compiling from source. Is there a way to use checkinstall instead of make install when compiling?
Normally I use checkinstall because it makes adding and removing the program a lot easier. I tried substituting checkinstall in place of make install -f makefile.linux and got this error:

Code: Select all

========================= Installation results ===========================
make: *** No rule to make target `install'.  Stop.

****  Installation failed. Aborting package creation.
From what I can see there is no way to specify the makefile with checkinstall.
Does anyone know if it is possible to install with checkinstall?

Re: Using checkinstall instead of make install

Posted: Wed Jan 20, 2010 4:16 pm
by 2lssfz
Never mind, I figured out how to do it. :D

Code: Select all

sudo checkinstall make -f makefile.linux install
Makes a deb package on Ubuntu 8.04