HowTo: Compile Nautilus

Install compiled 64bit version
wget http://dl.panticz.de/nautilus/nautilus_3.2.1-0ubuntu3.1_amd64.deb
sudo dpkg -i /tmp/nautilus_3.2.1-0ubuntu3.1_amd64.deb
nautilus -q

Automatic installation script
wget http://dl.panticz.de/scripts/rebuild.nautilus.sh -O - | bash -

#!/bin/bash

cd /usr/src/
sudo apt-get install -y dpkg-dev
sudo apt-get source nautilus
sudo apt-get -y build-dep nautilus
sudo sed -i 's|gtk_toolbar_insert (GTK_TOOLBAR (self->priv->toolbar), item, 0);|gtk_toolbar_insert (GTK_TOOLBAR (self->priv->toolbar), item, 2);|g' nautilus-*/src/nautilus-toolbar.c
cd ./nautilus-*/
sudo dpkg-buildpackage -us -uc -b
sudo dpkg -i /usr/share/nautilus_*-0ubuntu*.deb
nautilus -q

Links
http://www.omgubuntu.co.uk/2011/12/how-to-move-nautilus-navigation-buttons-back-to-the-left
http://ubuntuforums.org/showthread.php?p=11501676#post11501676