...
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:
No Format |
---|
mkdir -p ~/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.
...