[CMake] ccmake and cmake

Eric Noulard eric.noulard at gmail.com
Fri Sep 24 02:52:58 EDT 2010


2010/9/24 Michael Wild <themiwi at gmail.com>:
>
> Oh, wow, hardy is REALLY, *REALLY* old. It still contains only cmake-2.4.7 which was released more than 3 years ago!
>
> I would recommend downloading a pre-built binary. It is self-contained and you can just drop it anywhere you want (e.g. somewhere in your home directory) and simply update your PATH variable. You can get the latest source and binary tar-balls from here: http://cmake.org/cmake/resources/software.html

Once you have at least CMake 2.6 you can try to rebuild a .deb using
CMake itself
using the attached CMake script:

mkdir tmp
cd tmp
cmake -P  /path/to/CMake-autoinstall-DEB.cmake

This makes a "default" cmake build which contains cmake and ccmake
(but not cmake-gui).

In the end you should end up with a deb package ready to be installed
using dpkg.
If you install the new deb you will remove the cmake version shipped
with your distro,
if you want to keep several cmake version installed you'd better
install binary TGZ archive
somewhere and may be select default CMake using update-alternatives.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMake-autoinstall-DEB.cmake
Type: application/octet-stream
Size: 3258 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100924/dc47e48f/attachment.obj>


More information about the CMake mailing list