Monday, November 23, 2009

Installing CMake on MacOSX from the command line

I did not want to following instructions from:

http://www.boost.org/doc/libs/1_40_0/doc/html/quickbook/install.html

as it painful from an admin point of view. Instead using macports this was a no-brainer:

$ sudo /opt/local/bin/port -v selfupdate
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... done

sent 36 bytes received 417227 bytes 119218.00 bytes/sec
total size is 29398873 speedup is 70.46
---> Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes received 6869 bytes 2762.00 bytes/sec
total size is 4021380 speedup is 582.39
MacPorts base version 1.8.1 installed,
MacPorts base version 1.8.1 downloaded.
---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated



$ sudo /opt/local/bin/port install boost
---> Computing dependencies for boost
---> Fetching boost-jam
---> Attempting to fetch boost-jam-3.1.17.tgz from http://mesh.dl.sourceforge.net/boost
---> Verifying checksum(s) for boost-jam
---> Extracting boost-jam
---> Applying patches to boost-jam
---> Configuring boost-jam
---> Building boost-jam
---> Staging boost-jam into destroot
---> Installing boost-jam @3.1.17_0
---> Activating boost-jam @3.1.17_0
---> Cleaning boost-jam
---> Fetching bzip2
---> Attempting to fetch bzip2-1.0.5.tar.gz from http://www.bzip.org/1.0.5
---> Verifying checksum(s) for bzip2
---> Extracting bzip2
---> Applying patches to bzip2
---> Configuring bzip2
---> Building bzip2
---> Staging bzip2 into destroot
---> Installing bzip2 @1.0.5_3+darwin
---> Activating bzip2 @1.0.5_3+darwin
---> Cleaning bzip2
---> Fetching zlib
---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.gzip.org/zlib/
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Building zlib
---> Staging zlib into destroot
---> Installing zlib @1.2.3_3
---> Activating zlib @1.2.3_3
---> Cleaning zlib
---> Fetching boost
---> Attempting to fetch boost_1_41_0.tar.bz2 from http://mesh.dl.sourceforge.net/boost
---> Verifying checksum(s) for boost
---> Extracting boost
---> Applying patches to boost
---> Configuring boost
---> Building boost
---> Staging boost into destroot
---> Installing boost @1.41.0_0
---> Activating boost @1.41.0_0
---> Cleaning boost

No comments: