2010/9/24 Michael Wild <[email protected]>:
>
> 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

Attachment: CMake-autoinstall-DEB.cmake
Description: Binary data

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to