BitShares Forum

Main => General Discussion => Topic started by: puppies on June 28, 2014, 03:29:58 am

Title: cmake on debian
Post by: puppies on June 28, 2014, 03:29:58 am
 I've just installed debian 7.5 on one of my laptops, and am going to need to install cmake.  Can anyone that knows the proper way to do this save me some time googling?
Title: Re: cmake on debian
Post by: toast on June 28, 2014, 03:31:07 am
Code: [Select]
apt-get install cmake
??
Title: Re: cmake on debian
Post by: puppies on June 28, 2014, 03:47:30 am
Code: [Select]
apt-get install cmake
??

that installs cmake 2.8.9.  I need at least 2.8.12.  I was hoping someone would know what repo to enable or what other commands are needed.  I will figure it out though.  google is my friend.
Title: Re: cmake on debian
Post by: dcchong on June 28, 2014, 10:16:18 am
http://www.cmake.org/cmake/resources/software.html  ??
Title: Re: cmake on debian
Post by: wackou on June 29, 2014, 10:11:50 am
you can't build the bitshares client on a pure debian stable release (7.x), you need at least the following from testing:
 - cmake
 - gcc 4.8 (important, it doesn't complain with 4.7 but then crashes randomly...)
 - boost 1.55

It is perfectly feasible to mix and match packages in debian, you can use pinning on your packages if you want, the solution I used myself is very simple. Install debian stable, install all the stuff you think you need. Then add the testing repositories to your sources.list, apt-get update and apt-get install the rest. Then you can comment again the testing repos in your sources list and you will have gone back to a system that's mostly debian stable, with the selected packages from testing.
Title: Re: cmake on debian
Post by: xeroc on June 29, 2014, 12:26:03 pm
I run debian testing and everything works fine
Title: Re: cmake on debian
Post by: puppies on June 30, 2014, 04:21:58 pm
Thanks wackou and Xeroc.