Skip to main content

History: Checkinstall

Source of version: 3 (current)

Copy to clipboard
            %prevogre%
On a debian or ubuntu / kubuntu system, it's usually preferable to use {MONO()}checkinstall{MONO} instead of "{MONO()}make install{MONO}".

Using {MONO()}checkinstall{MONO} will also "{MONO()}make install{MONO}", but a debian package ( .deb ) containing all ogre-related files is created. 
This has multiple advantages. First, it prevents any package from overwriting ogre-related files without explicit permission. It also avoids the mess that a normal make install creates, especially if you decide to rm the source directory before "make uninstall"-ing.

{CODE(wrap="1", colors="bash")}sudo apt-get install checkinstall

./bootstrap
./configure
make
sudo checkinstall{CODE}

During checkinstall, you'll be asked if you want to change the defaults. You'll probably have to change option 3 (Version) to 1.0.6 since it's not autodetected correctly. The rest should ok.

Checkinstall will automatically install ogre, but after the installation, you'll find a brand new custom deb in the ogrenew folder. yay! ;)