...
Compiling
cd ramcloud; make
CentOS Issues
CentOS 5.5 has ancient default versions of g++ and Python. Fortunately there is an optional gcc4.4 "preview" package and we've installed Python 2.7 from source on the development machines. To make use of them by default, do the following:
- mkdir ~/bin
- cd ~/bin
- ln -s /usr/local/bin/python27 python
- ln -s /usr/bin/gcc44 gcc
- ln -s /usr/bin/gcc44 cc
- ln -s /usr/bin/g+44 g+
- ln -s /usr/bin/g+44 c+
Your default .profile will automatically suck ~/bin into your path if it exists, thus overriding the old versions of gcc and python using the above symlinks. Now you should be able to compile ramcloud without any special parameters.
Interesting Targets
make
- build the RAMCloud server and client software- Output
obj.master/client/client, obj.master/server/server
- Replace 'master' with the git local branch name you are on if it is not 'master'
- Output
make tests
- build and run RAMCloud unit tests (requires CppUnit)make check
- currently runs Google style checker against files in the src directory; subject to check as style evolves
...