Bug #1024

Ryzom-client requires Cmake 2.8 - Not standard in Ubuntu 9.04

Added by piotter about 8 years ago. Updated about 8 years ago.

Status:Closed Start date:07/17/2010
Priority:Low Due date:
Assignee:kervala % Done:

100%

Category:Build
Target version:Version 0.8.0

Description

Ubuntu 9.04 has Cmake 2.6.4

Latest ryzom-client from mercurial

mx@2-desktop:~/ryzom/code/ryzom/build$ cmake -DWITH_SERVER=OFF -DWITH_TOOLS=OFF ..
CMake Error at CMakeLists.txt:39 (CMAKE_MINIMUM_REQUIRED):
CMake 2.8 or higher is required. You are running version 2.6.4

-- Configuring incomplete, errors occurred!
##Purge Cmake
sudo apt-get purge cmake cmake-data
##Grab Cmake 2.8
http://nl.archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake-data_2.8.0-5ubuntu1~karmic1_all.deb
http://nl.archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_2.8.0-5ubuntu1~karmic1_i386.deb
dpkg -i cmake-data_2.8.0-5ubuntu1~karmic1_all.deb
dpkg -i cmake_2.8.0-5ubuntu1~karmic1_i386.deb

History

#1 Updated by piotter about 8 years ago

Make that a 9.10 error plz

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

#2 Updated by kervala about 8 years ago

Please what happens if you put :

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

instead of

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

I don't sure we are currently using CMake 2.8 features (NeL is using CMake 2.6).

#3 Updated by piotter about 8 years ago

changed to CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
in $HOME/ryzon/code/ryzon/CmakeLists.txt

Build and making DEB without complaining
http://dev.ryzom.com/wiki/ryzom/BuildForLinuxCmake
Building Ryzom Client
sudo checkinstall -y -D --pkgname nel-client --pkgversion 7.9.1.2

maybe better to set it back to 2.6 if 2.8 is not needed

#4 Updated by kervala about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to kervala

Thanks a lot, so I will set it to 2.6 :)

#5 Updated by kervala about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r511.

#6 Updated by kervala about 8 years ago

  • Target version set to Version 0.8.0

#7 Updated by sfb about 8 years ago

Was this build tested on Windows using CMake? I'm relatively certain I changed it to 2.8 due to the CPack packaging calls for NSIS. If it works with 2.6 then I'm fine.

#8 Updated by kervala about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF