# repairing some system bugs mkdir -p ~/temp/opt/i686-linux-gnu/lib mv -v /opt/i686-linux-gnu/lib/libpthread-0.10.so ~/temp/opt/i686-linux-gnu/lib ln -s /lib/libpthread.so.0 /opt/i686-linux-gnu/lib/libpthread-0.10.so mkdir -p /usr/local/i686-linux-gnu/i686-linux-gnu/lib ln -s /opt/lib/libstdc++.la /usr/local/i686-linux-gnu/i686-linux-gnu/lib/libstdc++.la export CPPFLAGS="-march=i686" export CXXFLAGS="-march=i686" cd ~/compile wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz tar xvzf protobuf-2.5.0.tar.gz cd ~/compile/protobuf-2.5.0 ~/x.sh ffpg-no-m4 ./configure --prefix=$HOME/apps --enable-dependency-tracking